Google Analytics: How to track site search keywords

Created by Dennis Stevense, Modified on Tue, 19 Jul 2016 at 05:22 PM by Dennis Stevense

Your site has the ability to track site search keywords in Google Analytics. See the screenshot below for what this looks like. To use this functionality, Google Analytics needs to be configured correctly:

(These instructions are the same whether you use the regular Drupal Faceted Search, or whether you're using Apache Solr.)

  1. Log in to Google Analytics.
  2. Click on Admin in the top right.
  3. In the third column titled VIEW make sure your website is selected from the drop-down and click View Settings

  4. At the bottom of the form, switch on Site Search Tracking.
  5. Enter search as the Query parameter.
  6. Check the Strip query parameters out of URL option.
  7. Click Save.

  8. Tracking of site search will start within 48 hours.

Feel free to ask us for assistance on how to set this up! The most important thing to know when setting this up, is that the query parameter used on your site is search. See for more information.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article