Shopify glossaryGlossary4 min read

What Is A/B Testing? How to Run Split Tests on a Shopify Store

A/B testing shows two versions of a page to different visitors and measures which one performs better. Here is how it works, the math behind a result, and how to run one on Shopify.

Card summarizing A/B testing: control versus one change, random 50/50 split, built into Shopify Rollouts, and never stop a test just because it looks good
A/B testing tells you which version really sells more.

Key takeaways

  • A/B testing splits visitors at random between a control (A) and a changed version (B), then compares a goal such as conversion rate or revenue per visitor.
  • A difference only counts if it's statistically significant. A 15% lift on a few hundred orders can still be chance.
  • Shopify's built-in Rollouts tool runs experiments on themes, checkout and accounts, catalogs and discounts, on the Grow plan or higher.
  • Low-traffic stores often can't detect small lifts. They get more from research and bigger changes than from many small tests.
Who it is for
Stores ready to test changes
Time needed
4 minutes to read
What you need
Traffic and a clear hypothesis

A/B testing is a controlled experiment in which you show two versions of a page or feature to randomly split groups of visitors, then measure which version better achieves a goal, such as purchases. Version A is the control, your current page. Version B has one planned change.

It's the part of CRO people hear about most, and in my work it comes last, after the research that decides what's worth testing. A test without a strong hypothesis just measures noise. Shopify's Rollouts details below were checked on the Shopify Help Center on 7 November 2026.

How an A/B test works

  1. Hypothesis. "Shoppers on mobile miss the delivery date, so showing it under the price will raise add-to-cart rate." It names a problem, a change and a metric.
  2. Split. Visitors are assigned at random, usually 50/50, and keep seeing the same version on return visits.
  3. Primary metric. Pick one before you start. I use revenue per visitor or conversion rate, with add-to-cart rate as a supporting signal.
  4. Run time. Run whole weeks, at least two, so weekday and weekend shoppers are both counted.
  5. Read the result only when the planned sample is reached.

A worked example, with the math

A product page test over four weeks. The figures are illustrative.

VersionSessionsOrdersConversion
A: control15,0003002.0%
B: variant15,0003452.3%

Relative lift = (B − A) ÷ A = (2.3% − 2.0%) ÷ 2.0% = 15%. That looks like a clear win. But a standard two-proportion test on these numbers gives a p-value of about 0.07, above the usual 0.05 cut-off. In plain English: there's still a real chance this gap is luck. The right call is to keep the test running to its planned sample, not to ship B.

How much traffic a test needs (illustrative)

  • To detect a 10% lift~78,000Sessions per version, from a 2% baseline.
  • To detect a 30% lift~8,700Sessions per version, same baseline.
Rough figures at 95% significance and 80% power, using the common approximation n ≈ 16 × p(1 − p) ÷ (difference)². Use a sample size calculator for your own numbers.

This is why small stores struggle with A/B testing. At 20,000 sessions a month, finding a 10% lift takes most of a year. Testing bigger, bolder changes is the practical answer.

How to A/B test on Shopify

Shopify now has a native option called Rollouts:

  • Where: Markets > Rollouts in the Shopify admin. Choose the Experiment type.
  • Plan: your store must be on the Grow plan or higher to run experiments.
  • What you can test: the online store theme, the checkout and accounts configuration, catalogs and discounts.
  • Defaults: a 50% control and 50% treatment split, and an end date 90 days after the start. You can change both.
  • Metrics: theme experiments report conversion rate over time, bounce rate, reached checkout rate and add to cart rate. Checkout and accounts experiments report checkout conversion rate.
Watch out: Shopify warns that editing the treatment or control while an experiment is running can affect its results. Freeze both versions until the test ends. Shopify's help pages also don't say how Rollouts reports statistical significance, so check your result with a significance calculator before you act.

Third-party testing apps add features such as price tests, split URL tests and revenue-per-visitor goals. I compare them in Shopify A/B testing tools, and the full setup is in my guide to A/B testing on Shopify.

Common mistakes

  • Stopping when it looks good. Checking daily and stopping at the first green number produces false winners.
  • No hypothesis. "Let's try a green button" teaches you nothing even if it wins.
  • Judging on conversion alone. A variant can raise conversion and lower order value. Revenue per visitor catches that.
  • Testing during a sale. Black Friday shoppers behave differently, and the result may not hold in March.
  • Testing pages with little traffic. Start where the traffic and money are: product pages, cart and collection pages.
  • Conversion rate optimization: the wider practice that A/B testing belongs to.
  • Heatmap: a research tool that helps you find what to test.
  • Multivariate testing: tests several changes in combination, and needs far more traffic.
  • Statistical significance: how unlikely the result would be if the change had no real effect.

What to do next

  1. Check your traffic. Note monthly sessions and orders on your top pages to see what size of lift you can detect.
  2. Write three hypotheses from customer questions, reviews and heatmaps.
  3. Run your first Rollouts experiment on the change with the biggest expected effect, or have me plan the program. My Shopify CRO service starts from $500.

Free tools

Check your own store

Free, no sign-up. Each one runs a part of this guide for you.

Frequently asked questions

What is A/B testing in simple terms?

A/B testing shows two versions of a page to randomly split groups of visitors and measures which one gets more of a goal, such as purchases. Version A is the current page and version B has one planned change.

Can you A/B test on Shopify without an app?

Yes. Shopify's Rollouts tool, under Markets, can run experiments on themes, checkout and accounts, catalogs and discounts. Your store must be on the Grow plan or higher.

How long should an A/B test run?

Until it reaches the sample size you planned, and for whole weeks, at least two. Stopping early because a result looks good is the most common way to get a false winner.

How much traffic do I need for A/B testing?

It depends on your conversion rate and the lift you want to detect. From a 2% baseline, spotting a 10% lift takes roughly 78,000 sessions per version, while a 30% lift needs about 8,700.

What is an A/B testing example on a Shopify store?

Showing the estimated delivery date under the price on mobile product pages to half of visitors, then comparing add-to-cart rate and revenue per visitor between the two groups.

Sources

  1. Rollout types, Shopify Help Center
  2. Rollouts analytics, Shopify Help Center
  3. Shopify analytics fields, Shopify Help Center
Ashraf Siddik

Written by Ashraf Siddik

I'm a Shopify developer and CRO specialist. I have built and improved Shopify stores since 2018, completed more than 1,000 projects, and hold a 4.96 average rating across 719 client reviews.

About me · Client reviews

Free 3‑point store review

  1. 1
    Send your storeTakes about a minute
  2. 2
    I review it by handOn mobile and desktop, not by a tool
  3. 3
    Get three ranked fixesBy email, free, with no obligation

“Very professional and deep understanding of the Shopify ecosystem. Friendly and proactive communication. Delivered on time with good quality”

Verified client, United Kingdom
4.96 from 719 client reviews

Get your free review

Takes about a minute. No obligation.

Your email is used only to reply about your store. No newsletter, never sold. Privacy note