How is it calculated?
Most sites put the search term in the results page’s URL, such as /search?q=refund+policy. An analytics tool reads that query parameter and records the term, either as part of the page address or as a separate search event.
In Google Analytics 4, per Google’s help page on enhanced measurement events, site search sends a view_search_results event when a results page loads with one of the query parameters q, s, search, query or keyword (you can add others), and puts the term in the search_term parameter, which fills the Search term dimension. A search that does not change the URL needs a custom event instead.
Example
- 10,000 sessions
- 14% search usage
- 230 searches
- 60% search again
A help centre has 10,000 sessions in a month and 1,400 include a search: 14% search usage. The top term is “cancel subscription” with 230 searches, and 60% of those searchers search again within the same session. The answer exists, but the result does not match how people ask, so the article gets a new title.
Common mistakes
- Ignoring searches with no results. They are the clearest list of content you are missing.
- Storing search terms without thinking about privacy. People type email addresses, order numbers and names into search boxes.
- Looking only at volume. A term searched often and then refined is a failing result, which matters more than a popular term that works.