CRO Basics

Ecommerce site search: how to turn searchers into buyers

How to measure search in GA4 and Shopify, fix searches with no results, set up autocomplete and filters that sell, and test it all on revenue per visitor.

Nicolas Fradet

By Nicolas Fradet, founder of FunnelSpark · 16 years in CRO, 1,000+ A/B tests
Updated Nov 30, 2026 · 9 min read

Ecommerce site search: a search box mock where a typo, black runing shoes, still returns matching products, with no dead ends

The short answer

Shoppers who use your search box already know what they want, so a search that fails costs you your most ready buyers. Compare how searchers convert against everyone else in GA4 or Shopify, fix searches with no results first, then autocomplete, synonyms and ranking. Judge every change on revenue per visitor for search sessions.

What is ecommerce site search?

Ecommerce site search is the search box on your store and everything behind it: the suggestions that drop down as people type, the results page, the filters on that page, and the page shoppers see when nothing matches. It's how a shopper who already has something in mind skips your menus and goes straight to it.

On most stores it's also the most neglected part of the site. The theme ships with a search bar, it returns something, and nobody looks at it again. We're FunnelSpark, an ecommerce CRO agency for Shopify stores, and when we look at search on a store doing $1M+ a year, we usually find the same leaks: misspellings that return nothing, product names shoppers don't use, and results sorted in an order no one picked.

Do searchers really buy more?

Usually, yes. A study by Constructor, a company that sells site search, reported by Chain Store Age, found that searchers made up 24% of ecommerce visitors but drove 44% of revenue, and converted at 2.5 times the rate of shoppers who didn't search. Take a vendor's numbers with a pinch of salt, but the logic holds: someone who types "black running shoes size 10" is much closer to buying than someone browsing your homepage.

The problem is that most stores fail those shoppers. Baymard Institute's search UX benchmark found that 56% of sites fail to adequately support users' search needs. Some types of searches trip up even more sites: 66% had issues with non-product searches like "returns" or "shipping", and 54% with abbreviations and symbols.

So don't take anyone's average. Pull your own numbers, because the gap between searchers and everyone else tells you how much search is worth on your store.

How to measure site search in GA4 and Shopify

You have 3 places to look, and each answers a different question.

  • GA4, for how searchers convert. According to Google's documentation for Shopify, the Google & YouTube app sends a search event when a customer searches your store. GA4's own enhanced measurement can also log a view_search_results event whenever a URL carries a search parameter like q (Shopify's results page uses /search?q=). Pick one so you don't count searches twice. Then build a segment of sessions with that event and compare conversion rate and revenue per visitor against sessions without it.
  • Shopify's Search & Discovery app, for what people search. Shopify's help center lists its search reports: click rate, purchase rate, searches by search query, searches with no results, and searches with no clicks. They cover the last 30 days.
  • Session recordings, for why. Filter 15 to 20 recordings to sessions that used search. Watch what people type, what they see, and where they give up.

One catch: when a shopper clicks a product straight from the autocomplete dropdown, they may never load the results page. So a results-page count can miss some of your best searchers. Check how your theme's predictive search sends traffic before you trust the number.

Here's what the numbers can look like for a mid-size store (example numbers, not a benchmark):

Worked example: a $1.5M a year store

Per monthAll other sessionsSearch sessions
Sessions (60,000 total)54,0006,000 (10%)
Conversion rate1.8%4.0%
Orders ($105 AOV)960240
Revenue per visitor$1.87$4.20

The store converts at 2% overall: 1,200 orders and $126,000 a month. Say 600 search sessions a month hit a page with no results and convert at 1%. Fix half of them so they convert like other searchers (4.3%): about 10 extra orders, or $12,600 a year. Then lift searcher conversion from 4.0% to 4.4% with better autocomplete and ranking: 24 extra orders, or $30,240 a year. Together, about $42,800 a year from 10% of your traffic.

Every search session passes the same 4 steps, and each one has its own leak and its own number to watch:

Where search sessions leak, and what to measure

STEP 1Find the box
LEAKSearch hidden behind an icon, mostly on mobile
MEASUREShare of sessions that search, by device
STEP 2Type a query
LEAKTypos, slang and product names shoppers don't use
MEASURESearches with no results
STEP 3Scan results
LEAKWrong order, sold-out items first, no filters
MEASURESearches with no clicks, click rate
STEP 4Buy
LEAKThe product page doesn't match what they searched
MEASUREPurchase rate, revenue per search session
Fix the earliest leak first: a search that returns nothing never gets the chance to sell.

Search box or search icon?

The bigger your catalog, the more your search box should look like a box. A shopper who wants a specific product looks for a white field they can type into. A small magnifying glass is easy to miss, and it adds a tap before anyone can type. Chewy, for example, gives search a wide, open box right next to its logo.

Chewy desktop header with a wide white search box next to the Chewy logo, and a category menu below it: Dog, Cat, Other Animals, Pharmacy, Services, Give Back, Today's Deals
Chewy gives search a wide, open box right next to its logo, above its category menu. There's nothing to tap before you can type.

That doesn't mean every store needs a big search bar. Decathlon's desktop header lists its main sports in the menu and puts search in a smaller button on the right, next to the cart.

Decathlon desktop header with the Decathlon logo in the middle and a small rounded Search button on the right, next to the cart icon
Decathlon keeps its header clean and puts search in a small rounded button on the right, next to the cart.

A simple rule: if you sell hundreds of products, or shoppers come in with a model number, size or part in mind, give search an open box on desktop and a visible field (not just an icon) on mobile. If you sell 20 products, a clear menu matters more. Either way, it's an easy A/B test: same header, box versus icon, judged on revenue per visitor.

How to fix searches with no results

This is the first fix for almost every store. Baymard Institute's research on "no results" pages found that nearly 50% of sites fail to give users effective ways to recover from a search that yields no results. A dead end on a search page is a shopper who wanted to buy and couldn't.

Open the "Searches with no results" report and sort by volume. You'll find a few patterns:

What you'll find, and what to do

What shoppers typedWhy it failedFix
"sneekers", "moisturiser"Typo or spellingTurn on typo tolerance; add spelling variants as synonyms
"hoodie" (you call it "pullover")Your words, not theirsSynonym group, then rename products shoppers search for most
"returns", "track order"Not a productShow a link to the right help page
A product you don't sellReal demandShow the closest alternative; pass the list to buying
A sold-out productHidden from resultsKeep it in results with a back-in-stock signup

Start with the 20 failed searches with the most volume. Most are a quick synonym, redirect or rename, not a development project.

Then fix the page itself. A no results page should never be blank. Show the query back ("No results for 'sneekers'"), a "did you mean" link, your best sellers in that area, and links to your main collections and to support. Treat it like a landing page, because for some shoppers it is one.

On Shopify, the free Search & Discovery app lets you create synonym groups. Its help page sets the limits at 20 synonyms per group and 1,000 for the whole store, and each synonym can only be used in 1 group.

What makes autocomplete sell?

Autocomplete is the dropdown that suggests searches and products as people type. Almost everyone has it, and few get it right. Baymard's autocomplete research found it on 80% of ecommerce sites, but only 19% get all the implementation details right.

  • Keep the list short. The same Baymard article says suggestions shouldn't exceed 10 on desktop, and that 4 to 8 works for most mobile users.
  • Show products with a photo and price, so a shopper who typed a product name can tap straight to it.
  • Make suggestions fix typos. If "runing" suggests "running shoes", the shopper never sees a dead end.
  • Don't bury the query under extras. Trending searches and promo banners in the dropdown can distract shoppers from what they came to find.

On Shopify, predictive search comes with most current themes. Its look (how many products, whether prices show) is a theme setting or a small developer job, so it's a cheap fix to brief.

What is faceted search, and which filters do you need?

Faceted search means filtering search results by product attributes, or "facets": size, color, price, material, brand, rating. A search for "dress" might return 300 products. Facets let a shopper cut that to the 12 that come in her size, under $150, in black.

It's standard on big stores. 21 of the 25 top stores we broke down let shoppers filter or sort. But many Shopify stores set filters up on collection pages and forget the search results page, which uses its own template. Check that your search results have the same filters as your collections, and that they're based on how shoppers choose, not how your catalog is organized. Our guide to collection page optimization covers which filters to pick and how to lay them out on mobile.

How to merchandise search results

Ranking is a decision, not a default. For your top 20 searches, look at what shows in the first 4 results, the ones most shoppers see without scrolling. Ask: is this the product most people buy after this search? Is it in stock? Is it a product with good margin and good reviews?

  • Boost the right product for big searches. Shopify's Search & Discovery app has product boosts: its help page allows up to 10 search terms per boosted product and lists sold-out products at the end of results. It also warns against boosting many products, which pushes other relevant results down.
  • Show ratings and swatches on result cards, the same cards that work on your collection pages.
  • Send exact matches straight to the page. If someone searches a product name or a collection name, the top result should be that product or a link to that collection.
  • Check the product page delivers. A search for "waterproof" that lands on a page never mentioning it loses the sale. Our product page optimization guide covers what to fix there.

How to test search changes

Some search fixes don't need a test. A search for your bestseller that returns nothing is a bug: fix it. Test the changes where you could be wrong, like a search box versus an icon, a new autocomplete layout, or a third-party search app against Shopify's own.

  • Pick the right metric. Judge the test on revenue per visitor for all visitors in the test, and look at search sessions as a second view. Here's why revenue per visitor beats conversion rate.
  • Check you have the traffic. Search sessions are a slice of your traffic, so tests that only touch searchers take longer. In our example, 6,000 search sessions a month at 4% is 240 orders: a test that needs 400 orders per version would take more than 3 months. Test bigger changes, or changes that touch every visitor, like the header search box. Our A/B testing guide has a sample size table.
  • Run full weeks, at least 2, and avoid big sale periods, when people search for deals rather than products.
  • Brief your developer on tracking first. Make sure the search event fires in both versions, including clicks from the autocomplete dropdown.

A Shopify Plus note: nothing here needs Plus. Search lives in your theme, not in checkout, and the Search & Discovery app is free on its App Store listing. The plan matters more for which third-party search apps fit your budget.

If your store does $100k+ a year, or you run ecommerce in-house, book a free 30-minute call. We'll look at your search data with you and show you where the money is.

FAQ

What is ecommerce site search?

It's the search box on an online store and everything behind it: autocomplete suggestions, the results page, filters, and the page shoppers see when nothing matches. It lets shoppers who know what they want skip the menus and go straight to a product.

What is faceted search in ecommerce?

Faceted search lets shoppers narrow search results by product attributes, or facets, such as size, color, price, brand or rating. On Shopify, check that your search results page has the same filters as your collection pages, since it uses its own template.

Do site searchers convert better?

Usually. A study by Constructor, a search vendor, found searchers made up 24% of visitors but drove 44% of revenue and converted 2.5 times better than other shoppers. Check your own numbers in GA4 by comparing sessions with a search event against sessions without one.

How do I track site search in GA4 on Shopify?

Google's documentation says the Shopify Google & YouTube app sends a search event. GA4's enhanced measurement can also log view_search_results when a URL has a search parameter like q. Use one of them, then compare search sessions against all others on conversion rate and revenue per visitor.

What should a no results page show?

Never a blank page. Repeat the query, offer a "did you mean" link, show best sellers or close alternatives, and link to your main collections and support pages. Then fix the most common failed searches with synonyms and typo tolerance.

Nicolas Fradet

Written by

Nicolas Fradet

Nicolas is the founder of FunnelSpark, an ecommerce CRO agency. He has spent 16 years finding out why shoppers don't buy, with 1,000+ A/B tests run and a 37% win rate. He wrote Stop Guessing. Start Converting.

Follow Nicolas on LinkedIn →

Want us to find what's stopping your shoppers?

On a free 30-minute call, Nicolas looks at your store and shows you 3 growth opportunities, whether we work together or not.

Book your free call