Site Search in Google Analytics and Squiz Matrix


(Serge) #1

Matrix Version:

I’m trying to set Google Analytics :: Site Search properly.

Now usually there we put “q” because it’s the HTTP GET variable in the query string google uses for search. But which one is / are used for squiz matrix??


  • queries_all_query
  • queries_description_query

Are those accurate?
Can I enter them “as is” in the list of query parameters required by google?
Where are those defined in the Matrix documentation?

Thanks


(Bart Banda) #2

The part between “queries_” and “_query” is dynamic, and based on whatever you name your search field on the Search Fields screen on the Search Page.

So if I have a search field that looks like this:

The search query will become “queries_content_query”. So it all depends on your individual search implementation.
https://matrix.squiz.net/manuals/search/chapters/search-page#Search-Fields-Screen

So in your case, in Google, you’d need to enter “queries_all_query,queries_description_query” as the search parameters if you want to track both values.


(Serge) #3

Thanks Bart :slight_smile: