Tips for a better website

  • 4.251 subscribers
  • Once a month
  • Exclusive tips and special offers

Analyse your own site search with Google Analytics

Why analyse your own site search data?

  • What people use your search feature for says something about your navigation, homepage and overview pages. If those are all perfectly fine, chances are that very few people will use your search feature.
  • Insight into what people are searching for on your website. Which words do they use? Do they use other words than the ones you're using? Are there typical spelling errors lots of visitors make? Are they looking for things that aren't on your website? Etc.

3 ways to analyse your site search data

  1. Your content management system or search software has a built-in tool to analyse the search feature. In that case, you are very lucky. Unless of course it's a crappy tool.
  2. You're best buds with the IT crowd and they're more than happy to make you a tool to analyse your search data.
  3. You use Google Analytics to analyse your website's visitor behaviour. If that's the case, do read on. If you don't have Google Analytics yet: make sure you do.

Can you 'hook up' your search feature to Google Analytics?

  • Enter a search query on your website, for example using the word ‘test’.
  • Check whether the url of the search results page scontains your search query. (As shown in the examples below.)
  • If it doesn't, you're in trouble. Go visit your friends at IT or call your web builder to fix this. That shouldn't be very hard.

you can see the search term in the url

Also in the url of, you can see the search term

How do you hook up your search feature to Google Analytics?

  1. Log in to your Google Analytics account and click on the name of the site of which you want to hook up the search feature. This step is only necessary if you have more than one website.
    Then, click on the view you wish to analyse. In this case "AGConsult - RAW".

click on the view of the website you wish to analyse

  1. At the top of the page, click on the 'Admin' link to get access to the configuration of your Google Analytics. Then, click on 'View Settings' in the right column.

On the 'Admin' page, you click on the link 'View settings'

  1. Within 'View Settings' you can configurate different settings, including site search. Scroll down to 'Site Search Settings' and turn on 'Site search Tracking' with the switch.

turn on site search

  1. More options will then appear. In the 'Query Parameter' field, you need to type in the parameter that's directly in front of the search query in the url of your search results page. In the example of AGConsult that's the parameter ‘search_api_views_fulltext’. In the example of it's the letter ‘q’.

Fill in the search query

  1. Unless you use faceted search, you're done.
  2. Don't forget to save your new settings.

How can you check if it works?

  • Click on 'View reports' in Google Analytics. There's a navigation on the left now where you click on ‘Behavior’. After that, click on ‘Site Search’ - 'Overview'.
  • If you see numbers and graphs, you've succeeded.
  • If you don't, read the instructions again…

Under 'site search' you'll find all the info about the usage of your search function

What can you do now you've hooked up your search feature to Google Analytics?

If you know what people search for on your site, you can turn that knowledge into a profit. Read all about in our article analyse your site search to increase ROI.

Don’t miss our next update!

  1. Follow us on Twitter for interesting links and extra tips.
  2. Get our monthly newsletter