End a test, declare a winner, apply it
How a test ends, how to name the winner, and how to make the winning version the one every visitor sees.
A test is only worth something once you act on its result. That takes three steps: the test ends, a winner is named, and the winner is applied in your store.
Ending a test
A test ends in one of these ways:
| How | What happens |
|---|---|
| On its own, significant | With Stop when significant on, a test with one variant ends once the result is reliable. ab.one names the winner, which can be the control. |
| On its own, visitor cap | With Stop after visitors, the test ends when that many visitors took part. No winner is named. |
| You declare a winner | Ends the test and names the winner in one step. |
| You end it | Stops the test without naming a winner. |
When a test ends on its own, ab.one emails a report and sends your webhooks. Your Home page also shows a card for tests that need a decision.
Declare a winner
Open the winning version's menu
On the test page, open the menu on the card of the version that won.
Declare it
Click Declare winner. The test ends and the card gets the Winner badge.
You can only declare a winner for a test that has run: "A winner can only be declared for a test that has run." Wait for Significance reached before you do: see How ab.one decides a winner.
To stop a test without a winner, click End test at the top of its page and confirm: "Are you sure you want to end this test? This action cannot be undone…"
Apply the winner
Ending a test doesn't change your store: visitors go back to your original pages. To make the winner permanent:
Template tests
Switch the tested pages to the winning template in Shopify. For products:
Open the product
In your Shopify admin, go to Products and open a product that was in the test.
Change its template
In the Theme template box on the right, choose the winning template and click Save. Repeat for the other products in the test.
Collections and pages work the same way, through their own Theme template box. If the test ran on a template that only exists once, like the home page, copy the winning template's changes into the main template in the theme editor.
If the control won, there's nothing to apply: your store already shows it.
Split URL tests
Point your ads, emails and links at the winning page instead of the test's entry link. The entry link keeps sending everyone to the control after the test ends, so old links don't break.
Price tests
Once a price group is the declared winner, click Apply winning prices at the top of the test page and confirm with Apply prices. ab.one sets the price of every tested variant in Shopify to the winning group's price. Once the test has ended, visitors see your catalog prices again, so do this soon. When ab.one recommends a price, you can also click Apply this price in the price insights on the Overview tab. See Create a Price test.
Tidy up
- Delete templates of losing variants in Shopify once you no longer need them, so your template list stays readable.
- Write down what you learned in the test's hypothesis, so the next test builds on it.
- Start the next test. A store that tests continuously learns the most.