Google Analytics comes with an inbuilt feature that allows you to track how customers engage with your site search.

By default, Search.io uses the q URL parameter to track user queries, which means queries run using Search.io will also be tracked in Google Analytics, which also tracks the q parameter.

If you have never set up site search in Google Analytics, you can follow the steps outlined here: https://support.google.com/analytics/answer/1012264?hl=en#zippy=%2Cin-this-articleand noted below:

  • Click Admin, and navigate to the view in which you want to set up Site Search.

  • In the View column, click View Settings.

  • Under Site Search Settings, set Site Search Tracking to ON.

  • In the Query Parameter field, enter q. Do not enter any additional characters.

If you have migrated from another site search that utilises a different query parameter to Search.io you can follow the above steps, replacing the existing Query Parameter with q.

The above steps work for the original Google Analytics property view. If you are using the new GA4 property, site search is already setup, with q as a query parameter:

Site search settings for new GA4 properties can be found by going to Admin > Data Streams > Select Web Stream > Enhanced Measurement Settings > Site Search > Show Advanced Settings.