Set up site search tracking

Set up site search tracking in Google Analytics — with three ready prompts, from the immediate task to the lasting pattern.

3prompt heights
Open it in the interactive atlas →

3 ready prompts

Written for the moment this actually comes up.

Execute — do the immediate task

+
We need site search tracking on the storefront. Capture search_term, results_count, and page path…
We need site search tracking on the storefront. Capture search_term, results_count, and page path whenever visitors use the search box on www.example.com and mobile app webviews. Send these as events named Site Search — Search with the values user-entered query and resultCount. Verify the parameter captures exact user text, including special characters, and test searches with zero results and long queries before enabling.

Improve — make it easier to accept

+
Before I enable site search reporting, make the raw data useful: extract and normalise common stop…
Before I enable site search reporting, make the raw data useful: extract and normalise common stop words, surface zero-results queries up front, and make it easy to join search events with session data and product SKU hits. Flag any terms that could be PII or brand sensitive so legal can review. Also recommend a clean event name and parameter mapping for the reports team.

Become — change the pattern

+
Every time front-end engineers tweak the search widget, our site search telemetry breaks and the…

Search tracking repeatedly fails after UI changes

Every time front-end engineers tweak the search widget, our site search telemetry breaks and the merchandising team loses trust in the reports. What small habits, naming rules, and acceptance tests should I impose so search-term capture survives UI changes and the team stops reopening old tickets?

Next to this one

Other web analytics work people do in Google Analytics.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.