Shoppers who type into your search box are telling you exactly what they want, in their own words. That makes on-site search one of the few places on a store where intent is written down for you. It is also one of the most neglected parts of most ecommerce sites.
This guide is a practical audit you can run on your own store's search in an afternoon. It covers how to measure search in GA4, which queries to test by hand, what a good results page looks like, and how to handle the "no results" page that quietly sends people away.
Why site search deserves its own audit
Baymard Institute's usability research found that roughly half of participants turn to search as their preferred way of finding products, with the other half using the main navigation. In the same 2026 benchmark, 56% of the sites reviewed had search performance rated mediocre or worse, and the share was higher on mobile (58%) and in apps (64%) than on desktop (46%).
Those numbers matter because search failures are invisible in most reports. A visitor who searches, sees irrelevant results and leaves does not trigger an error. They show up as an ordinary exit.
Site search also differs from category browsing. Your category pages are built around the way you organise your catalogue. Search has to cope with the way customers describe things, which is often different. If you have already worked on filters, sorting and product cards on category pages, search is the next place to apply the same thinking.
Step 1: Make sure GA4 is recording searches
Before testing anything, confirm you can see what people search for. GA4's enhanced measurement includes a view_search_results event. According to Google's documentation, it fires when a search results page loads with one of five default URL query parameters: q, s, search, query or keyword. The term itself is stored in the search_term parameter, which fills the Search term dimension.
Two checks to run, then confirm test searches appear in the Realtime report:
- Search for something on your store and look at the URL. If your platform uses a different parameter (for example ?term= or ?text=), add it in the enhanced measurement settings for your web data stream.
- If your search runs without changing the URL, as many instant-search overlays do, enhanced measurement will not see it. You will need a custom event pushed from the search component instead. Our guide to GA4 custom events and tracking plans covers how to set that up.
Once data is flowing, build a simple exploration with Search term as the dimension and event count, sessions and purchases (or key events) as metrics.
Step 2: Read your search data before changing anything
With a few weeks of data, export the top 100 search terms and sort them into groups:
- High volume, weak conversion: Your first priority. People want something you may sell, but the results are not getting them there.
- Terms for products you do not stock: These are merchandising signals, not search bugs. Pass them to whoever buys stock.
- Non-product terms: Searches like "returns", "delivery times", "size guide" or "track order" mean people cannot find that information in your navigation or footer.
Pay attention to how often a search is followed by a second search. Repeated refining usually means the first results missed. A funnel exploration from search to product view to add to cart shows where searchers drop. If you have not built one before, the walkthrough on finding conversion leaks with GA4 funnel exploration applies directly.
Step 3: Test the query types that usually fail
Your analytics show what people search for. To see how search responds, you need to type the queries yourself. Baymard groups searches into types, and its benchmark shows that some types fail far more often than others. For example, 12% of sites had issues with exact searches (a product name or model number), while 43% had issues with use-case searches and 54% with searches that include abbreviations or symbols.
Write a test list of around 30 queries drawn from your own catalogue and run each one on desktop and mobile:
| Query type | Example | What good looks like |
|---|---|---|
| Exact product | A product name or SKU | That product first, not buried on page two |
| Product type | "rain jacket" | All rain jackets, including ones named "waterproof shell" |
| Feature | "black leather boots" | Results that match every attribute, not any one of them |
| Use case | "boots for hiking in snow" | Relevant products even though no product title says this |
| Abbreviation or symbol | "32in tv", "1/2 inch" | Same results as the spelled-out version |
| Misspelling | "sneackers" | Corrected results, with the correction shown |
| Plural and singular | "lamp" and "lamps" | Identical or near-identical results |
| Non-product | "returns" | A link to the returns policy, not an empty page |
Note every query that returns nothing, returns the wrong products first, or returns so many loosely related items that the right one is lost.


