WebmasterID logoWebmasterID
Analytics dimensions

Site search term dimension

The site search term dimension records the queries visitors type into your website's own search box — not what they searched on Google. GA4 captures it through the view_search_results event and a search_term parameter, typically read from a URL query string such as ?q=. It reveals intent in your own words, but it is distinct from external search keywords, which are largely '(not provided)'.

Verified against primary sources

What this means

When a site has an internal search feature, the term a visitor types is a powerful intent signal. GA4 models this with the view_search_results event and the search_term event parameter, which can be registered as a custom dimension to appear in reports.

The value is captured from wherever the term lives — most commonly a URL query parameter like q, s, or search.

Not the same as keywords

Site search term is internal: it is what people search for on your site. It is fundamentally different from the keyword dimension, which records search-engine queries and is almost entirely '(not provided)' on organic traffic for privacy reasons.

Site search terms can also leak PII when visitors paste account numbers or emails into the box, so treat the field as potentially sensitive and redact accordingly.

How it appears in analytics and logs

A search term value is something a visitor typed into your on-site search. Frequent terms point to content gaps or navigation problems; an empty report usually means site search tracking is not configured, not that nobody searches.

Diagnostic use case

Use site search terms to learn what visitors cannot find through navigation, while never confusing them with the search-engine keywords that brought visitors to the site.

What WebmasterID can help detect

WebmasterID can record on-site search as a first-party event, so you see what visitors look for in your own words without sending queries to a third party.

Common mistakes

Privacy and accuracy notes

Search terms can contain personal data if visitors paste it. GA4 advises against sending PII; WebmasterID treats free-text search terms as potentially sensitive and you should redact identifiers before storage.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.