Configuring Search Terms in Google Analytics
Setting up Search ParametersSearch Parameters appear in the URL after executing a search. Google Analytics can use this information to incorporate into its reporting. Unfortunately, each Analytics View only supports 5 search parameters; that means you need to choose the ones that you most want to report on, since there are over 100 distinct search parameters available in the software.
Some recommended Search Parameters:
- STerms: Keyword Search
- TC, TMC: Taxonomy Search
- PBID: Publication Search (also PBCode)
- GHID: General Heading Search (also GH)
- AIID: Area of Interest (also AICode)
- NUM: Specific organization
Isolating Taxonomy Code SearchesFrom within the menu Behavior > Site Search > Search Terms, you can isolate the report to Taxonomy-based searches by doing a Regular Expression match to a Taxonomy code. Create an Advanced Filter with the values:
Include Search Term Matching RegExp
Isolating ID SearchesPBID (Publication), GHID (General Heading), AIID (Interest) searches etc. appear with their integer ID values. From within the menu Behavior > Site Search > Search Terms, you can isolate the report to these types of searches by doing a Regular Expression match to an integer. Create an Advanced Filter with the values:
Include [Search Term Matching RegExp
If you have a mix of these search types, it will be difficult or impossible to determine what the IDs are for. Therefore, it is not recommended to track more than one ID type of search parameter.
Did you find this article helpful?