Search & Filtering
Header Search Field vs Menu Search A/B Test
A visible search field makes search easier to discover. Moving it into the menu frees header space but adds a step. Since placement may change who searches, use total purchase conversion as the decision metric; conversion among searchers is diagnostic.
A/B test scenario. This page is a test plan, not the result of a real experiment.
- Search
- Purchase conversion rate (CR)
Option A vs Option B
Where it sits is the variable; the element itself does not change.
- Changed
- Placement
- Page
- Search
- Difference
- moved
Hypothesis
An always-visible search field in the header may make search easier to notice and bring more visitors to products; search inside the menu adds a step but frees header space for other navigation. Which option raises purchase conversion across all assigned visitors could depend on how central search is as a path on this site.
Test plan
When to run this test
Few search queries relative to visitors, session recordings of visitors who cannot find an item through the category menu, or key links missed in a crowded header are signs that header placement shapes how people search. The outcome to look for is a change in search use or navigation in one option that carries through to purchases among all assigned visitors. If searches with no matches leave users on an empty screen, fix that first, because a weak results page holds back the effect of either placement.
How to measure success
Purchase conversion rate (CR)
Compare purchases among all eligible assigned visitors, not only those who use search.
Also track
- Search usage rateCompare search starts among eligible assigned visitors who can see the search control.
- Product click-through after searchReport clicks among search users as diagnostic; the primary decision includes all assigned visitors.
- Search success rateDefine a successful search event before launch and measure the share of submitted queries that meet it.
- Purchase rate after searchReport purchases among search users as diagnostic; keep non-searchers in the primary denominator.
How to set it up
- Search usageCompare the always-visible header field with search opened from the menu.
- Search conversionReport conversion among search users separately; they are not equivalent randomized groups.
- Finding a productCompare time from search to product click using the same events.
- Result qualityDefine search success in advance and report all assigned visitors separately from search users.
- DeviceInclude only devices where the search placement differs and report device results separately.
What to watch when reading the result
- 1Decide on purchase conversion among all eligible assigned visitors. Because placement changes who searches, purchase rate after search and product click-through after search do not compare equivalent groups; read them only as diagnostics. A higher search usage rate is not enough on its own if it does not carry through to purchases.
- 2In the option where search moves into the menu, keep other navigation destinations reachable and keep the mobile search icon easy to tap. Keep placeholder text short and readable in both options; otherwise you end up measuring those details rather than the placement.
- 3Keep the search suggestion algorithm unchanged during the test so differences in search success rate can be tied to placement. Read results only on devices where the placement really differs, one device at a time, and validate again before applying them to a different page layout.
- 4Because only some visitors use search, its effect on total conversion is diluted and may be small. Try the current purchase conversion rate and the relative lift that would matter to you in the sample size calculator, then divide the sample per variant by daily traffic per arm on eligible devices to see how long the test must run. If no significant difference appears at the end, report it as a gap this sample could not detect, not as proof of no effect.
Frequently Asked Questions
Why is conversion among search users not the primary metric?
Placement can change who searches, so search users are not equivalent groups. Report their conversion diagnostically. Use overall purchase conversion among assigned visitors as the primary outcome.
What matters when search moves inside the menu?
Preserve access to other navigation targets and a usable mobile touch target. Track time to a product click after entering search, since access now requires another step.
How should search quality be measured?
Define successful search before launch and measure the share of queries reaching that event. Keep the suggestion algorithm fixed and provide useful recovery from zero results in both groups.
More tests in Search & Filtering
All testsPrevious Searches vs Empty Search Box A/B Test
SearchPurchase conversion rate (CR)
Compare showing previous searches when the search box opens with an empty search box, tracking search use, conversion and privacy concerns.
What to Put on a Zero-Results Search Page: A/B Test
SearchZero-results recovery rate
An experiment example on one of the highest-exit screens: a blank no-results page against spelling suggestions, popular categories and similar products.
Relevance vs Best-Selling Default Search Sort A/B Test
SearchSearch purchase conversion rate (CR)
Compare relevance and best-selling as the default search sort while keeping the result set and filters unchanged, using search conversion as the primary KPI.
