{"id":16646900,"url":"https://github.com/stevegrunwell/mcavoy","last_synced_at":"2025-04-09T16:09:11.600Z","repository":{"id":139392687,"uuid":"54613182","full_name":"stevegrunwell/mcavoy","owner":"stevegrunwell","description":"Discover what visitors are searching for on your WordPress site.","archived":false,"fork":false,"pushed_at":"2017-03-16T01:43:52.000Z","size":456,"stargazers_count":20,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-04-09T16:09:03.592Z","etag":null,"topics":["reporting","search","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/mcavoy","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stevegrunwell.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-24T03:54:50.000Z","updated_at":"2023-08-28T11:34:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbb411ae-48b6-4fc2-a407-07e3c9d0b604","html_url":"https://github.com/stevegrunwell/mcavoy","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevegrunwell%2Fmcavoy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevegrunwell%2Fmcavoy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevegrunwell%2Fmcavoy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevegrunwell%2Fmcavoy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevegrunwell","download_url":"https://codeload.github.com/stevegrunwell/mcavoy/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065283,"owners_count":21041871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["reporting","search","wordpress","wordpress-plugin"],"created_at":"2024-10-12T08:43:24.536Z","updated_at":"2025-04-09T16:09:11.594Z","avatar_url":"https://github.com/stevegrunwell.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![McAvoy banner](plugin-repo-assets/banner-1544x500.png) McAvoy\n\n[![Build Status](https://travis-ci.org/stevegrunwell/mcavoy.svg?branch=master)](https://travis-ci.org/stevegrunwell/mcavoy)\n[![Code Climate](https://codeclimate.com/github/stevegrunwell/mcavoy/badges/gpa.svg)](https://codeclimate.com/github/stevegrunwell/mcavoy)\n[![WordPress plugin](https://img.shields.io/wordpress/plugin/v/mcavoy.svg)](https://wordpress.org/plugins/mcavoy)\n\nMcAvoy is a simple WordPress plugin that logs site searches (and information about the people performing them) so you can get a better sense of what your audience is looking for. Is your navigation unclear? Are people regularly getting lost in your infinitely-scrolling homepage when they're just trying to find the latest news on a topic? McAvoy is there, collecting the facts you need to make informed decisions!\n\nBest of all, McAvoy is meant to grow with you, sending search query data anywhere you need to in order to get the most meaningful results.\n\n\n## Frequently-asked questions\n\n### Eww, this plugin adds a new database table? Can't I put the data somewhere else?\n\nAbsolutely! Creating a new database table isn't ideal in a lot of situations, so McAvoy has been built from the ground-up to be flexible in the way the data is handled.\n\nFor example, if you want to send the data to something like [Firebase](https://www.firebase.com/), you can easily do so by creating a new callback attached to the `mcavoy_save_search_query` action:\n\n```php\n/**\n * Save a search query to Firebase.\n *\n * @param string $term     The search term.\n * @param array  $metadata Meta data that should be saved with the query.\n */\nfunction save_search_query_to_firebase( $term, $metadata ) {\n\t// do something with this data!\n}\nadd_action( 'mcavoy_save_search_query', 'save_search_query_to_firebase', 10, 2 );\n```\n\n### What's all this about requiring at least PHP 5.3?\n\nMcAvoy has been written using [PHP Namespaces](http://php.net/manual/en/language.namespaces.php), which is super common in the larger PHP community but rather rare in WordPress (as WordPress strives to support as many people as possible). For most users, this minimum requirement shouldn't be of any concern (after all, [security patches stopped being delivered for PHP 5.3 in mid-2014](http://php.net/supported-versions.php)).\n\nIf you **are** affected, however, I urge you to *please* upgrade your server (or change hosts) as soon as humanely possible. Besides the obvious benefits of having current security patches, newer versions of PHP are more performant than ever.\n\n\n### Who the heck is McAvoy?\n\nThis plugin was designed to answer five questions about your site's audience, specifically those searching on it: \"who\", \"what\", \"when\", \"where\", and \"why.\" Those even somewhat familiar with journalism probably recognize the importance of those five questions, and as such I found it fitting to name the plugin after a journalist. [Edward R Murrow](https://en.wikipedia.org/wiki/Edward_R._Murrow), [Walter Cronkite](https://en.wikipedia.org/wiki/Walter_Cronkite), and [Dan Rather](https://en.wikipedia.org/wiki/Dan_Rather) were all contenders, but ultimately [ACN Anchor Will McAvoy](https://en.wikipedia.org/wiki/The_Newsroom_(U.S._TV_series)) won out.\n\n![Will McAvoy (Jeff Daniels) proclaiming that he will \"single-handedly fix the internet!\"](http://images.complex.com/complex/image/upload/qmizflfilz5xi04nd9rt.gif)\n\n\n## Contributing to McAvoy\n\nSuggestions, bug reports, and pull requests for McAvoy are welcome, please [read the project's contribution guidelines](https://github.com/stevegrunwell/mcavoy/blob/develop/CONTRIBUTING.md) to get started!\n\n\n## License\n\nMcAvoy is freely available under [the MIT License](https://opensource.org/licenses/MIT), a copy of which is included in this repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevegrunwell%2Fmcavoy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevegrunwell%2Fmcavoy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevegrunwell%2Fmcavoy/lists"}