A Shopify A/B test means showing two versions of one thing to two halves of your traffic and letting a single number you chose in advance decide which version keeps. Most tests that “worked” fail quietly: two things changed at once, the traffic split was not even, the test was stopped the morning one variant led, or the win was read from a metric that has nothing to do with orders. This checklist covers what to settle before you start, what to freeze while you run, and how to read the result without talking yourself into it.

Key takeaways

  • Test one change against one goal, with the primary metric named before the test starts.
  • Split traffic evenly at the visitor level and keep price, ads, shipping and every other site change frozen for the whole test.
  • Run at least one full weekly cycle, and stop on the rule you wrote down rather than on the day a variant looks ahead.
  • Read views first to check the split, adds to cart for direction, and purchases and revenue for the decision; a small sample is no result, not a weak win.

What can you actually A/B test on a Shopify store?

You can test anything that changes a shopper’s decision and can be shown to half your visitors. The offer, the way price and shipping are stated, the layout of a page, the incentive in an email popup and the wording of a product title all qualify. Button colors and small spacing changes usually do not, because nothing in the shopper’s reasoning turns on them.

The surfaces that produce readable tests on most stores:

  • Product page and layout. Hero copy, product title, photo order, description length, and how prominently shipping and returns are stated.
  • Offer structure. A free-shipping threshold, a bundle discount, a free gift with purchase, or a straight percentage off the cart.
  • Email capture. The incentive you offer and when the popup appears; the email popup timing guide covers the timing question in detail.
  • Cart page and add-to-cart moment. A cross-sell or an upsell shown when a shopper adds an item, which is the setup covered in the upsell popup at add to cart walkthrough.
  • Popups generally. Popups are the easiest surface to test, because the offer can change while the rest of the page stays exactly as it is.

A test is only fair if one version differs from the other in one way. If your variant changes the headline and adds a discount, a rise in orders tells you that something worked, not what.

Checklist: pick one change and one goal before you start

Decide the variable and the metric before anything goes live, because a test with two changes or three metrics has no clean answer at the end.

  • One variable per test. Two changes that both help cannot be separated, and two that pull in opposite directions cancel out. Fix: if you want to test a headline and a discount, run them as two tests, one after the other.
  • Write the hypothesis in one sentence. Example: “Shoppers hesitate on shipping cost, so showing the free-shipping threshold above the add-to-cart button will increase adds to cart.” Fix: if you cannot write that sentence, you do not yet know what you are testing.
  • Choose the primary metric that matches the decision. Purchases or revenue per visitor if the change is meant to sell more; adds to cart only when purchase events are too rare to read. Fix: name one metric as the decision metric and treat the others as context.
  • Check the change is plausible. Point to the hesitation it answers, whether that is price, delivery time, sizing or gift-buying. A change with no reason behind it mostly adds noise.
  • Set the stopping rule now. Write a date and a minimum number of orders per variant, and stop at whichever comes later. Deciding when to stop while watching results is how a coin flip becomes a “winner”.
  • Log the test before launch. Date, what changes, primary metric, stopping rule. Fix: keep one document for every test, because memory will rewrite the result later.

Checklist: split traffic evenly and keep the rest of the page identical

An even split with nothing else moving is what makes the number mean something.

  • Split at the visitor level, not by day. Do not run variant A for a week and variant B the next week, since weekday and weekend shoppers behave differently.
  • Keep a returning visitor in the same variant. Assignment should follow a stored identifier rather than being recalculated on every page view, or the same shopper can count in both variants.
  • Freeze everything else for the duration. Price, shipping thresholds, ad creative, collection order and any other popup should stay as they are. A promotion that starts mid-test changes who is visiting and can move both variants at once, hiding a real difference or inventing a fake one.
  • Exclude your own visits. Filter internal traffic where your reporting allows it, and don’t browse your own store while a test runs.
  • Check exposure before you read anything else. Compare views per variant. If one variant was shown far more often, assignment is broken and every number below it is unusable.
  • Count contamination. A shopper can see the desktop popup at work and the mobile version at home. Keep tests short enough that this stays rare, or accept that a small share of visitors saw both.

If the thing you are testing is a popup, this is the part you don’t have to build: with PopupGenius, for on-brand upsell and email popups on your website, you add variants to a popup on a paid plan and set each one’s share of traffic. Each visitor keeps the same variant for their browsing session, and the rest of the page is untouched.

How long should a Shopify A/B test run?

Run at least one full weekly cycle, and keep going until each variant has enough orders that one or two orders would not change which one leads. Both conditions matter: the week covers the normal rhythm of your traffic, and the order count is the real bar.

  • One week minimum, two if traffic is thin. A single busy day, a newsletter send or a good mention can decide a short test on its own.
  • Do not peek and stop. Check results only when the stopping rule says to, or check without deciding. Early leads are common and usually fade, because the sample is smallest at the start.
  • Use order count as the bar, not days. If the two variants are separated by a couple of orders, the test has not answered anything yet, whatever the calendar says.
  • Test something closer to the click when purchases are rare. An adds-to-cart comparison can tell you which offer to test next, but it should not be the final word on what to roll out.
  • Think about the season. A result from an ordinary week may not hold during a sale, so re-test the important ones when your traffic and offers change.

Checklist: the numbers to read (views, adds to cart, purchases, revenue)

Read the four numbers in order, because each one qualifies the next.

  • Views per variant. This is the fairness check. Uneven views mean the split failed and the rest of the table is not comparable.
  • Adds to cart per variant. This shows whether the offer engaged anyone. It is the most useful number when purchase counts are small, and the least final.
  • Purchases per variant. Order count is the cleanest decision metric, because it is not skewed by the size of a single order.
  • Revenue per variant. Use revenue per visitor rather than total revenue where you can. Revenue is order count multiplied by order value, so one large order can push a variant ahead while it loses on orders.
  • Attribution, if you are testing a popup or an app. Check which orders count as coming from the variant. The Shopify attribution models guide explains how Shopify credits a sale, and mismatched attribution is a common reason two dashboards disagree.
  • Discount cost. If the variant gives something away, subtract it before comparing. Compare margin, not revenue, and treat a variant that adds revenue while cutting margin further as a loss.

When the test lives in a popup app, the reading is often already in one place: in PopupGenius the “By version” table shows views, adds to cart, purchases and the revenue of linked orders per variant, so the four numbers above do not have to be stitched together in a spreadsheet. It does not pick a winner or calculate significance for you; the stopping rule above still decides.

When your sample is too small to trust the result

A small sample is not a weak result; it is no result, and the signs are recognizable. The variants are separated by one or two orders, one large order is doing the work in the revenue comparison, the leading variant changes from day to day, views per variant are not close to even, or the test overlapped a promotion, a price change or an ad change.

What to do: keep running to your stopping rule if the store can wait. If it cannot, record the test as inconclusive and pick the simpler variant, which usually means the one without a discount, because it protects margin and is easier to explain to a customer. An inconclusive test is still information: it says this element does not move the decision, so spend the next test on something bigger, such as the offer or the page layout. What you should not do is promote a variant because it led on Tuesday.

What to do with a winning or losing variant

When the test reaches its stopping rule, act on the result and write it down, because the log is what keeps you from re-testing the same idea next quarter.

  • Winner: roll it out to all traffic. Then keep an eye on orders for the weeks after, since a variant can perform differently once every visitor sees it.
  • Winner with a cost: check margin. A variant that adds revenue while giving away more than it earns is not a win, especially when it wins on a handful of orders.
  • Loser: revert and record why you thought it would work. That note tells you which shopper hesitation is not the problem, which is worth as much as a win.
  • Inconclusive: keep the simpler variant and move on. Do not stack several unverified changes and assume they add up; interactions between them are untested.
  • Re-test when the context changes. A new season, a price change, a new audience or a shipping change can flip a previous result.

FAQ

How many visitors does a Shopify A/B test need?

Enough that each variant has a number of orders one or two extra orders could not overturn. There is no fixed visitor count that works for every store, since it depends on how often visitors buy. If the gap between variants is a couple of orders, the honest answer is that the test has not concluded. Run it longer, or test something that moves more orders.

What should I test first?

Test the thing that changes a decision rather than the thing that is easy to edit. A free-shipping threshold, the offer shown on the cart page, or the incentive and timing of an email popup will usually move more orders than a button color or a headline tweak. Pick one, give it a full week at minimum, and log the result before you test the next idea.

Does A/B testing a popup mean editing my theme?

No. A popup app that splits traffic between two variants does the assignment for you, and the popup itself renders through the app rather than through theme files. PopupGenius installs as a theme app extension, so no theme files are edited and switching it off is one toggle in the theme editor. It does require an Online Store 2.0 theme.