Google Analytics comes with an inbuilt feature that allows you to track how customers engage with your site search.
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:
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
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.