WordPress search analytics- Tracking site search on your WordPress site can deliver great insights into your customers’ minds. Fortunately, you can easily monitor your WordPress search queries using Google analytics in a matter of a few minutes. Here are the steps to follow. The prerequisite is that you should have integrated Google Analytics to your WordPress site.
There are also a few search engines for WordPress sites that give search query analytics by default.
Set Up Google Analytics
- Install google analytics (if you have not installed refer to this article on how to install google analytics in WordPress).
- Click on Admin
- Click on view settings.
Enable site search tracking.
Query Parameter setup
Enter the query parameter. Usually, for WordPress sites, the query parameter is “s”. Make a search query and see what your query parameter is. The term between ? and = is your query parameter. In the below image “s” is the query parameter.
Enable site search categories
If you have WordPress categories filter in your search results page, you can add the category parameter. It is usually “cat” for WordPress sites. In the following image as you can see the category parameter is “cat” since the category chosen is “Garden-stand” and the query parameter is “s”.
Enable strip query parameter and category parameter from URL
That’s all!. Now within a couple of days, your WordPress site search metrics will be available.
To see the search terms, use the google analytics search bar to search for site search. Click on Behavior-> search terms-> Search terms.
Now you can see your site search analytics data. Your WordPress search terms will be available in the column name: “Search term” and the count will be available in ” Total unique searches”.