Search.Tracker.preview.mp4
A WordPress plugin that tracks search queries and user clicks on search results.
- Tracks search queries performed on your WordPress site
- Tracks which search results users click on
- Provides a beautiful admin dashboard to view search data
- Allows filtering and sorting of search queries
- Shows detailed click data for each search query
- Upload the
search-trackerfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Access the dashboard via the 'Search Tracker' menu in the admin sidebar
This plugin uses React for the admin interface and modern JavaScript for the frontend tracking.
- Node.js and npm
- Clone the repository
- Run
npm installto install dependencies - Run
npm run startto start the development server - Run
npm run buildto build the production assets
src/- React components and JavaScript source filesapp/- PHP files for the plugin backendbuild/- Compiled JavaScript files (generated)
To track clicks on search results, add the class .search-result-item to your search result items in your theme's search template.
Example:
<div class="search-result-item">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</div>This project is licensed under the ISC License.