Docs

How long should a test run?

The 7-day minimum, whole weeks, what makes a test fast or slow, why you shouldn't stop early, and when to give up on a test.

Short answer: at least 7 full days, ideally in whole weeks, and until ab.one shows Significance reached. If that doesn't happen after several weeks with plenty of orders, the change most likely makes no real difference.

There's no fixed number of days that fits every store. How long a test needs depends on your traffic, your orders and the size of the difference you're looking for.

The 7-day minimum

Every test shows Collecting data for its first 7 full days, and ab.one doesn't call a result before then, however clear it looks. Shoppers behave differently on different days of the week, and the result should include all of them. Why the first 7 days don't count explains it in more detail.

Think in whole weeks

If your store has strong weekly patterns, for example most orders on weekends or after a weekly newsletter, judge a test after whole weeks: 7, 14 or 21 days. A test that stops after 10 days counts some weekdays twice and others once.

What makes a test fast or slow

Four things decide how long a test needs, in plain words:

  1. Traffic on the tested pages. Only visitors on the pages in the test count, and only those who allow analytics. A test on one product page collects far less than a test on a template that all your products share.
  2. How many of them buy. For conversion rate and revenue per visitor, orders are what counts. A page with many visitors but few orders still needs a long time.
  3. How big the difference is. A big difference shows up quickly. A small one needs many more visitors: roughly, to see a difference half as big you need about four times as many visitors. That's why bold changes reach a result sooner.
  4. How you split the traffic. Each extra variant splits your visitors further, and an uneven split, like 90/10, leaves the smaller side with few visitors. An even split with one variant is the fastest setup. See Traffic split and targeting.

A rough check before you start

Look at how many orders the page leads to in a normal week. The Untested potential card on Home shows viewers and conversion rates for your busiest untested pages.

  • Many orders per week: a test with one variant can finish in a few weeks, if the change makes a real difference.
  • Only a handful of orders per week: the test will take long. Test on a template that many products share, test a bolder change, or choose a goal that happens more often, like add-to-cart rate. Keep in mind that a goal far from the sale can mislead: see Goals and metrics.

Don't stop early

Look at your test as often as you like. Just don't end it because a variant looks good on day 3. Early numbers swing a lot, and stopping at the first good-looking moment produces winners that disappear after you apply them. Don't stop early explains why.

To take the decision out of your hands, keep Stop when significant on when you launch: ab.one ends the test when the result is reliable. To limit how many visitors see a risky change, use Stop after visitors. See When the test stops.

Don't change a running test

Once a test has started, its variants, split and targeting are fixed. Editing a variant's template in the theme editor while the test runs changes what visitors see halfway through, and the results then mix two versions. ab.one warns you when you click Edit in theme editor on a running test: "Edit theme while test is live?" To try a different version, end the test and start a new one. Duplicate saves you setting it up again.

When a test stays "unlikely"

Some tests never reach a result. After 28 days live without getting close to a decision, ab.one shows the test under Needs you on Home as Stalled: "No clear difference yet. End it or try a bolder change."

How to decide:

  • Few orders so far? Let it run longer. The test hasn't had a fair chance yet.
  • Plenty of orders, and the percentage moves up and down without a clear direction? More time rarely helps. The versions are about equally good for your shoppers.
  • Then end it. Keep the original, or keep whichever version is easier to maintain. You've learned that this change doesn't matter much, which is worth knowing before you invest in it.
  • Plan the next test bolder. What to test first has ideas.

How ab.one decides a winner has more on reading a test like this.

Next step