A/B tests
Show two or more versions of an injectable to different shoppers, and find out which one sells more.
An A/B test shows different versions of an injectable to different shoppers. StoreSpan then tells you which version led more shoppers to buy.
StoreSpan calls a version a variant. It decides the winner by the shoppers who bought, not by the shoppers who clicked.
Before you start
- A test needs time and shoppers. It runs for at least 7 days, and it can need thousands of shoppers for each variant. See How many shoppers a test needs.
- You cannot test an injectable whose content type is Blocks.
- An injectable that runs a test has no live preview.
Start a test
- Open the injectable.
- In the Content card, turn on Run as A/B test.
StoreSpan creates Variant A with your content, and an empty Variant B.

- Fill in Variant B.
- Save the injectable.
Set up the variants
A test has between two and five variants. Press Add variant to add one.
| Setting | What it does |
|---|---|
| Name | A name for you. Shoppers do not see it. |
| Weight | The share of shoppers who get this variant, from 1 to 100. The weights need not add up to 100. |
| Content | Content you write here, or a saved block. |
| Control (shows nothing) | Makes the variant show nothing. One variant of a test can do this. |
| Design | Where the styling of this variant comes from. |
With two variants of weight 50 each, half of your shoppers get each one. With weights 75 and 25, three in four shoppers get the first.
Find out whether the injectable sells at all
Give one variant Control (shows nothing). StoreSpan then compares shoppers who saw the injectable with shoppers who saw nothing.
What starts a test again
Some changes start the test from zero
When you add a variant, remove one or change a weight, the test starts again. Every shopper is given a variant anew, and the numbers start from zero.
| You change | The test |
|---|---|
| The number of variants, or a weight | Starts again. StoreSpan asks Restart this test? |
| The name, the content or the design of a variant | Goes on. |
| Smallest improvement worth catching | Goes on. |
| Run as A/B test, to off | Ends. StoreSpan asks End this test? |
When a test starts again or ends, StoreSpan keeps a copy of the result so far. See Past tests.
Read the result
Open the injectable and press Analytics. The card Which variant sells better gives the result.
| The card says | What it means | What to do |
|---|---|---|
| Winner | One variant sells more, and the difference is large enough to trust. | Keep the winner, and end the test. |
| No clear difference | The variants sell about the same. | Keep the one you prefer, and end the test. |
| Keep testing | The test needs more days or more shoppers. The card says how many. | Wait. |
| Uneven traffic | The variants did not get the shares of shoppers that you set, so the result cannot be trusted. | Contact StoreSpan support. |
For each variant, the card shows:
| Figure | What it means |
|---|---|
| Shoppers shown | How many shoppers saw the variant. A shopper who saw it on five pages counts once. |
| The share who bought | Of those shoppers, how many placed an order within 7 days. |
| The range beside the share | How far the true share may be from the one shown. |
| Money for each shopper | The value of the orders, divided by the shoppers who saw the variant. |
| The chance to beat the first variant | How likely it is that the variant really sells more. |
Orders of guests do not count here
StoreSpan links an order to a variant only when the shopper is known to your store. Orders of guests are left out, so the true figures are higher than the ones shown. This is different from Sales on the Analytics tab, which counts guests.
Below this card, Variant engagement compares the variants by clicks. Use it as a hint. The winner comes from the shoppers who bought.
When StoreSpan names a winner
StoreSpan names a winner only when all of these are true:
| Rule | Why |
|---|---|
| The test has run for 7 full days | A variant that does well at the weekend must also face the weekdays. |
| Every variant has reached its number of shoppers | With few shoppers, a lead can be luck. |
| The lead is large enough to matter | A lead too small to change your decision shows as No clear difference. |
| The lead is very likely to be real | With more variants, StoreSpan asks for more certainty, because one of many can lead by luck. |
So a new test always says Keep testing for a while.
Decide when the test first reaches its number of shoppers. A test that you leave running and check every day is more likely to show a winner by luck.
A winner's lead is often a little smaller in truth than the card shows.
How many shoppers a test needs
Smallest improvement worth catching, in the Content card, sets the smallest lead that you want the test to find.
| Choice | Use it when |
|---|---|
| 10% better | Your store has a lot of shoppers. |
| 20% better | You are not sure. New tests start here. |
| 30% better | Your store has fewer shoppers. |
| 50% better | You only care about a large difference. |
A smaller lead needs many more shoppers. For a store where 2 in 100 shoppers buy, and a test with two variants:
| Choice | Shoppers for each variant |
|---|---|
| 10% better | About 81,000 |
| 20% better | About 21,000 |
| 30% better | About 9,800 |
| 50% better | About 3,800 |
A store where more shoppers buy needs fewer. Where 5 in 100 buy, 20% better needs about 8,200. A test with four variants needs about a third more than a test with two.
You can change the choice while the test runs. A larger choice can name a winner sooner. A smaller choice can take a winner back to Keep testing.
When the card has no result
| The card says | What it means | What to do |
|---|---|---|
| No A/B test running | The injectable has no variants. | Start a test. |
| Still gathering visitors | StoreSpan has no figures yet for the dates you chose. | Wait a day. StoreSpan updates the figures overnight. |
| That range is too far back | StoreSpan keeps the figures of each shopper for 30 days. | Choose more recent dates. |
| Numbers are stuck | The figures have not been updated for some days. | Contact StoreSpan support. |
A note on the card tells you when your store counts only a share of its shoppers. See Count a share of your shoppers.
When you changed the test within the dates you chose, the card leaves out the results from before the change.
Past tests
When a change starts a test again or ends it, StoreSpan keeps a copy of the result under Past tests on the Analytics tab. A restore of an earlier version that starts the test again keeps a copy too.
Pausing, archiving and the end of a schedule keep no copy, because the test goes on when you publish again.
Each copy holds the result, the figures of every variant and the reason the test ended. It covers the last 30 days of the test.