Shopify guideGuide·8 min read
Shopify A/B Testing: How to Test Your Store Step by Step
Shopify can now run A/B tests without an app, but a test is only as good as its traffic and setup. Here is the method I use, from sample size to decision.

Key takeaways
- Shopify has built-in A/B testing: create an Experiment under
Markets > Rollouts. It needs the Grow plan or higher, splits traffic 50/50 by default and ends after 90 days unless you change it. - Work out the sample size before you start. At a 2% conversion rate, detecting a 20% lift takes about 21,000 sessions per version.
- Pick one primary metric before launch, run the test in full weeks, and don't change the setup while it runs.
- Test the pages and steps that most buyers pass through first: the product page buy box, the cart and shipping costs.
- Who it is for
- Stores on Grow or above with steady traffic
- Time needed
- 1 hour to set up, 2 to 8 weeks to run
- What you need
- Your sessions, conversion rate and one hypothesis
An A/B test on a store with 300 orders a month can run for months and still tell you nothing. That is the part most Shopify A/B testing guides skip, and it is why so many store owners try testing once, see "no clear winner" and give up. The test wasn't wrong. It was too small to detect the change.
So this guide starts with the math, then walks through finding a test worth running, setting it up in Shopify's own Experiments tool, running it without spoiling the data and reading the result. It is the process I use in my CRO work. Shopify settings come from its Help Center as I checked it on 7 November 2026.
Do you have enough traffic to test?
An A/B test compares two groups of visitors. The smaller the difference you want to detect, the more visitors you need, and the lower your conversion rate, the more you need again. The standard sample size formula, at 95% confidence and 80% power, gives these numbers for a store converting at 2%:
Sessions needed per version at a 2% conversion rate
- Detect a 10% lift80,7002.0% to 2.2%. Out of reach for most small stores.
- Detect a 20% lift21,1002.0% to 2.4%. A realistic target for a bold change.
- Detect a 30% lift9,8002.0% to 2.6%. Only large changes move this much.
Divide the total by your weekly sessions to see how long a test would take. If the answer is more than eight weeks, change your plan: test bigger changes, test a step closer to the purchase where rates are higher (such as reached checkout to completed checkout), or skip formal testing and make researched changes, measured against a baseline.
Step 1: Find something worth testing
Good tests come from evidence, not from a list of "50 ideas". Look for the step where you lose the most people, then work out why.
- Find the leaky step. In Shopify, go to
Analytics > Reportsand open Conversion rate breakdown. It shows sessions with cart additions, sessions that reached checkout and sessions that completed checkout. Compare each step with the one before it. - Split by device. In GA4, open
Explore, choose the Funnel exploration template, add your ecommerce events as steps (view_item,add_to_cart,begin_checkout,purchase) and set the breakdown to Device category. Mobile and desktop often leak at different steps. - Find out why. Watch session recordings of that step, read support emails and reviews, and run a one-question survey on the page. My Shopify CRO audit checklist lists what to check at each step.
- Write a hypothesis. Use one sentence: "Because we saw X, we think changing Y will improve Z for these visitors." If you can't fill in X, you are guessing.
Step 2: Choose one primary metric
Decide before launch which number decides the test. If you pick after the results come in, you will find a metric that "won" by chance.
| Test type | Primary metric | Also watch |
|---|---|---|
| Product page layout | Add to cart rate | Conversion rate |
| Cart or shipping message | Reached checkout rate | Average order value |
| Checkout settings | Checkout conversion rate | Orders |
| Price or offer | Revenue or profit per visitor | Conversion rate, refunds |
| Homepage or navigation | Conversion rate | Bounce rate |
Step 3: Set up the test in Shopify
Shopify's Experiments are a type of rollout. They need the Grow plan or higher and work with online store themes. Vintage themes aren't supported, and Liquid templates can't be changed in a rollout, so you test what you can build in the theme editor or in a second theme.
- Prepare the change. To test a different theme, add it to your online store first. To test edits to your live theme, you'll make them inside the rollout.
- Create the rollout. In your Shopify admin, go to
Markets > Rolloutsand click Create rollout. Give it a clear name, such as "PDP: delivery line under buy button". - Choose Experiment. In the rollout type menu, select Experiment.
- Add the change. In the Changes section, click Add changes. If you are editing your main theme, save the rollout first. Then either click Edit theme under Prepare changes to your current theme and make your edits in the theme editor, or pick a theme under Replace the current theme. Click Apply.
- Set the audience. In Audience, the Traffic split defaults to 50/50 between control and treatment. Keep it there unless the change is risky. Traffic allocation sets how many eligible visitors join the test at all.
- Schedule it. Set a start date and an end date. New Experiments default to an end date 90 days after the start. Set yours to the number of full weeks your sample size needs.
- Resolve conflicts and save. Shopify flags conflicts with other rollouts. You must fix any marked "Resolve rollout conflicts" before saving.
When to use an app instead
Shopify's tool covers theme, discount, catalog and checkout setting tests. You need an app for tests it can't run: shipping rate and free-shipping threshold tests, template and split URL tests, price tests with profit reporting, and tests on the Basic plan. I compare the options, with prices, in my guide to the best A/B testing tools for Shopify.
If you used Google Optimize in the past, it is no longer an option. Google shut down Optimize and Optimize 360 on 30 September 2023, so old guides that recommend it are out of date.
Step 4: Run the test without spoiling it
- Run in full weeks. Shoppers behave differently on weekends and paydays. Start and stop on the same weekday, and run at least two weeks even if the numbers look clear sooner.
- Don't peek and stop. Results swing early. Stopping the moment one version leads is the most common way to "find" a winner that isn't real.
- Don't change the setup. In Shopify, changing the traffic split mid-test only affects new visitors, which mixes two different tests into one result.
- Avoid sales and launches. A big email campaign or a sitewide sale changes who visits. Pause the test or plan around it.
- Remember consent. Shopify counts only visitors who gave tracking consent, and leaves out anyone who saw both versions. Your results come from a share of your traffic, so your sample builds more slowly than your session count suggests.
Step 5: Read the result
For a theme Experiment, Shopify's rollout analytics show conversion rate over time, bounce rate, reached checkout rate and add to cart rate for each group. Checkout Experiments show checkout conversion rate. Results update a few minutes after each visit, and bot traffic isn't counted.
The Help Center doesn't describe how Shopify calculates significance, so I check the result myself before acting on it:
- Check the sample. Did each version reach the number of sessions you planned? If not, the result is a hint, not an answer.
- Check significance. Put the visitors and conversions for each group into any standard A/B test significance calculator. Look for 95% confidence or better on your primary metric.
- Check order value. A version that converts more but sells smaller baskets can earn less. Compare revenue per visitor too.
- Check devices. A change can win on desktop and lose on mobile. If it does, consider shipping it to one device only.
- Write it down. Record the hypothesis, dates, numbers and decision. A test log stops you re-running old ideas.
When the treatment wins, apply it permanently. When it loses or ties, that is still useful: you learned the change doesn't matter, and you can stop arguing about it.
What to test first on a Shopify store
| Idea | Where | Metric |
|---|---|---|
| Buy box on the first mobile screen | Product page | Add to cart rate |
| Delivery and returns line by the button | Product page | Add to cart rate |
| Free-shipping threshold message | Cart | Reached checkout rate |
| Fewer checkout form fields | Checkout | Checkout conversion rate |
| Hero focused on the best seller | Homepage | Conversion rate |
My guide to product page design goes deeper on the first two ideas.
Common A/B testing mistakes
- Testing without enough traffic, then trusting a result that came from noise.
- Testing tiny changes. A button color rarely moves conversion enough for a small store to measure.
- Running several tests on the same page at once, so the results contaminate each other.
- Calling the test early because one version took the lead in the first few days.
- Ignoring order value and shipping a "winner" that lowers revenue.
- Not writing results down, then testing the same idea again a year later.
Shopify A/B testing checklist
| Stage | Check | Done when |
|---|---|---|
| Traffic | Sample size calculated | Test fits in 8 weeks or less |
| Evidence | Leaky step found | Hypothesis written down |
| Metric | Primary metric chosen | Agreed before launch |
| Setup | Experiment created | Both versions previewed |
| Quality | Test order placed | Treatment works on mobile |
| Schedule | Full weeks, no big sales | Start and end dates set |
| Result | Significance and order value | Decision logged |
Next steps
Take your weekly sessions and conversion rate, work out how long a test would take, and decide whether formal testing fits your store today. If it does, pick the leakiest step in your Conversion rate breakdown report and set up your first Experiment this week.
If you'd like help choosing what to test, send me your store. I'll review it for free and suggest the first tests I'd run. My Shopify CRO service, which includes building and analyzing tests, 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
Can you A/B test on Shopify without an app?
Yes. Stores on the Grow plan or higher can create an Experiment under Markets > Rollouts. It tests theme edits, a different theme, discounts, catalogs and checkout settings, and splits visitors 50/50 by default.
How long should a Shopify A/B test run?
Long enough to reach the sample size you calculated, and always in full weeks, with at least two. Shopify sets a new Experiment to end 90 days after it starts, which you can change.
How much traffic do I need to A/B test?
At a 2% conversion rate, detecting a 20% lift needs about 21,000 sessions per version, or 42,000 in total, at 95% confidence and 80% power. Smaller differences need far more, so low-traffic stores should test bold changes or measure researched changes against a baseline.
What is the best Shopify A/B testing app?
It depends on the test. Shopify Experiments covers theme and checkout setting tests on Grow and above. For price, shipping or split URL tests, apps such as Intelligems, Shoplift and ABConvert are built for Shopify.
Which Shopify plan do I need for A/B testing?
Shopify Experiments need the Grow plan or higher. Rollouts without a test, which publish changes on a schedule, work on Basic and above. Apps can run tests on Basic.
Does A/B testing affect SEO on Shopify?
Testing page layouts for a limited time doesn't usually cause SEO problems, especially when both versions sit on the same URL, as they do in Shopify Experiments. Don't leave a test running indefinitely, and apply the winner when it ends.
Sources
- Creating a rollout, Shopify Help Center
- Rollout analytics, Shopify Help Center
- Requirements and considerations for using rollouts, Shopify Help Center
- Behavior reports, Shopify Help Center
- Funnel exploration, Google Analytics Help
- Google Optimize sunset, Google Optimize Help
Related services and work

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.
More guides
-
CRO8 min readUpdated
Why Shopify Stores Lose Sales on Mobile: A Practical CRO Checklist
Mobile visitors decide fast, with one thumb and plenty of distractions. Here is how to find the leaks on a Shopify store and fix them in the right order.
Read the guide -
CRO6 min readUpdated
Shopify CRO Audit Checklist for DTC Brands
The checklist I use to audit DTC Shopify stores, from checking that the data can be trusted to deciding which fixes to ship first.
Read the guide -
Apps6 min readUpdated
When to Build a Custom Shopify App Instead of Adding Another Subscription
Another subscription is the quickest fix, until you are paying for five apps that still don't match how your business works. Here is how to decide.
Read the guide -
Themes6 min readUpdated
How to Find Out What Theme a Shopify Store Uses
Every Shopify store names its theme in the page code. Here is where to look, how to read what you find, and what it means for your own theme choice.
Read the guide -
Apps5 min readUpdated
How to See What Apps a Shopify Store Uses
Apps leave traces in a store's page code: scripts from their own servers, app embed folders and pixel settings. Here is how to read them, and what to do with the list.
Read the guide -
Branding7 min readUpdated
How to Name a Shopify Store (and Check the Name Is Free)
A store name has to be easy to say, free as a domain and a handle, and clear of other brands. Here is the process I use with clients, and what Shopify lets you change later.
Read the guide