Measurement

What is A/B testing? The numbers pick a winner, buyers tell you why

At 1,000 visits a day and a 2% conversion rate, an A/B test needs about 3 weeks to confirm a 30% lift and over 5 months for a 10% lift. Traffic decides what a store can test, and buyers tell you why the winner won.

SEA Survey Team · 5 min read

In short

  • An A/B test splits shoppers at random between your current version and one change, so the change is the one difference left.
  • When a test would take months, test bolder changes, busier pages, or emails and ads, or ask buyers instead.
  • A post purchase survey app asks buyers what almost stopped them, and the doubt they name most becomes your next test.
  • The same question after the rollout shows whether the change fixed the doubt, not only the number.

What an A/B test is

An A/B test shows two versions of one thing to two random groups of shoppers at the same time. The groups are alike in every way except the version they see, so whatever moves differently between them, your change caused it.

Say your product page shows the price, and shipping costs appear only at checkout. Version B adds one line under the price that reads "Free shipping over $50, else $6". Half of your visitors see A, half see B, and after enough visits you compare how many of each half placed an order.

Visitors split at random between two product pages. Version A, the control, shows the shipping cost at checkout and converts 2.0% of visits. Version B, the variant, adds the line Free shipping over $50, else $6 under the price and converts 2.6%, a 30% lift
Half of your visitors see A and half see B in the same week, so the line under the price is the one difference (made up numbers).

Comparing this week with last week cannot isolate the change, because sales also move with an email send, a creator's post, payday or the weather. In marketing analytics, a random split settles arguments about your store with data, and on a store without much traffic it can go wrong without anyone noticing.

Version A, the page or email as it is today, is the control, and version B, with the one change, is the variant. The conversion rate is the share of visits that end in an order, so 2% means 2 orders per 100 visits. The lift is how much better B does: Going from 2.0% to 2.6% is a 30% lift.

Significance measures how unlikely the gap would be if the change did nothing, and most tools use 95% confidence as the bar. How to run an A/B test on Shopify shows how to read it once a test ends.

How much traffic a test needs

The number of visits decides whether a test can finish, and this is where most store tests go wrong. The smaller the difference you want to detect, the more visits you need before the result means anything.

Four bars for a store with 1,000 visits a day and a 2% conversion rate. Confirming a 50% lift takes 8 days, a 30% lift 20 days, a 20% lift 42 days and a 10% lift 161 days
At 1,000 visits a day, a big difference shows up in under 3 weeks, while a 10% difference needs over 5 months, longer than any season stays the same.

The numbers come from the standard sample size formula at 95% confidence and 80% power, the defaults in most free calculators. Power is the chance the test spots a real lift of that size.

Given your conversion rate and the smallest lift worth acting on, a calculator returns the visits each version needs. Divided by your daily visits, that gives the end date.

When that date is months away, there are better options than a test that never finishes. A bigger change needs fewer visits: A new free shipping threshold or a rebuilt product page can move sales by 20% or more, while a new button color rarely does.

A busy page finishes sooner, so your best selling product page or the home page beats a page with 50 visits a day. Add to cart rate is higher than conversion rate, so it needs fewer visits, though more carts do not always mean more sales, and orders get a check before rollout.

Emails and ads split a large list at once, so they answer in hours or days. When traffic is too low for any test, a question on the Thank you page tells you what to fix first.

Start from a reason, not a guess

A test is only as good as the idea behind it. Ideas from a meeting ("let's try a bigger button") often lose, because nobody knows what is holding shoppers back, while ideas from shoppers target a real doubt.

The best place to find that doubt is your buyers, asked on the Thank you page by a post purchase survey app:

Single choice, Thank you pageWhat almost stopped you from buying today?
The shipping costNot sure about the sizeWanted to read more reviewsNot sure when it would arriveNothing, I was sureOther (write in)

Buyers are the shoppers who got past their doubt, so they remember it. If a third of them name the shipping cost, many of the shoppers who left over it never reached checkout at all.

A card of 600 survey responses to What almost stopped you from buying today, with The shipping cost at 31%, next to a test card. Version A shows shipping at checkout, version B adds a line under the price, main number orders per 100 visits, also watch average order value
The doubt buyers name most becomes the test, here a shipping cost shown before checkout (made up numbers).

Say 31% of buyers name the shipping cost. Written before the test starts, the idea fits one sentence: "Because 31% of buyers said the shipping cost almost stopped them, we think a shipping line under the price will raise orders per 100 visits on product pages."

Writing it first matters, because once results come in, it is tempting to tell a new story that fits whatever happened. Support chats ("Do you ship to Canada?"), reviews and session recordings that show where shoppers stop scrolling are other good sources of reasons.

Each test then gets one main number, decided before the start, such as orders per 100 visits or revenue per visit for a product page. Two or three guard numbers, such as average order value, refund rate or unsubscribes for an email, must not get worse.

Ask buyers why

Every testing tool tells you which version sold more. None of them tells you why, and the why decides your next test.

The same question keeps working after the rollout. If "the shipping cost" falls from 31% of responses to 12% once B is live for everyone, you fixed the doubt, not only the number. If it stays at 31%, B won for some other reason, and the shipping problem is still open.

Two cards comparing the share of responses that name the shipping cost before the test and after B goes live for everyone. In the first it falls from 31% to 12%, so the doubt is fixed. In the second it stays at 31%, so B won for another reason and the shipping problem is still open
If fewer buyers name the shipping cost after the rollout, the change fixed the doubt and not only the number (made up numbers).

The survey itself can be tested too. The wording, the order of the options and the page it appears on all change how many buyers answer. Far more shoppers start a survey than place an order, so a survey test finishes fast.

If 25% of buyers start your survey, a 20% lift shows up after about 1,250 views per version, or 2,500 orders in all. A store with 100 orders a day gets there in under a month.

SEA Survey  is a post purchase survey app for Shopify. It asks your questions on the Thank you page, in a post purchase email, on your store or when a shopper is about to leave, and saves each response on its order.

On the Growth plan, its A/B testing splits shoppers between two surveys at the share you choose, on the channels you pick, and compares start rate, completion rate and dismissal rate. It logs every edit made to either survey while the test runs, so a change in the middle does not pass for a result. The A/B testing guide  shows the setup.

Black Friday week brings more buyers than any other, so a question added before the sale fills the January test list. How to run an A/B test on Shopify takes the first test from end date to rollout.

SEA Survey

Listed as SEA Post Purchase Survey Quiz, 4.9 stars from 190 reviews, with the Built for Shopify badge.

30% off any paid plan for 3 monthsStarter $13.30 instead of $19, Growth $34.30 instead of $49

BFCMSEA30Last day: Dec 7

  • Why now: Black Friday week brings more buyers than any other. Ask them what almost stopped them, and you start January with a test list in their own words.
  • On the Free plan: 30 responses a month, with attribution, NPS and CSAT surveys.
  • What a paid plan adds: Starter counts 500 responses a month. Growth has unlimited responses, A/B testing for surveys and conditional logic, plus the Marketing attribution dashboard with revenue and LTV by the channel buyers named.
  • How to claim: Install SEA Survey from the Shopify App Store, open Plans, paste the code and pick Starter or Growth. Both start with a 7 day free trial.

FAQ

What is the difference between A/B testing and multivariate testing?

An A/B test compares two versions that differ in one change. A multivariate test changes several things at once, such as the headline, the image and the button, and compares every combination, so it needs many times the traffic. Most Shopify stores are better off with A/B.

How does a post purchase survey app help with A/B testing?

It gives each test a reason before it starts, by asking buyers what almost stopped them, and it shows after the rollout whether that doubt went away. Some survey apps, SEA Survey included, also A/B test the survey itself, so more buyers answer.

Black Friday is Nov 27. Start collecting answers now.