A/B testing
Test two or more pages, blocks, colours, price displays or checkout forms on real visitors, read the numbers and publish the best one.
An experiment shows two or more versions of something to different visitors and counts which version earns more. You see the numbers, you decide, and with one press the best version goes live. Every visitor always sees the same version, so nobody sees your page change while they shop.
What you can test#
| Kind | What changes |
|---|---|
| Page design | Two published versions of one page, for example the home page. |
| Colour and fonts | Some theme colours or fonts, for one variant. |
| One block | Two versions of one section of a page, with the A/B variant block in the page builder. |
| Price display | The old price with a line through it, or the "Save" badge, hidden for one variant. |
| Checkout form | Whether the mobile number or the name is asked first. |
| Custom flag | Your own code asks window.jukto.experiment("key") and gets the variant, also in the custom HTML block. |
Make an experiment#
- 1
Open Marketing, then Experiments, and press New experiment.
- 2
Pick the kind, give it a name and, if you like, write your guess (the hypothesis).
- 3
For a page test, pick the page. Edit the page in the builder first, then store its draft as variant B (the live page is always variant A). You can add up to three more variants.
- 4
Set the share of each variant. The shares must add up to 100%.
- 5
Choose who is in the test: how many visitors, which pages, devices, new or returning visitors, languages, or visitors from one campaign.
- 6
Choose the main goal: orders, add to cart, revenue per visitor, a click on a button, or sign-ups. Set the least visitors and days, and when the test stops by itself.
- 7
Press Create experiment, look at Preview of each variant, then Start.
Preview opens one variant for you only, for 30 minutes. Visitors never see a preview.
A/B variant block#
In the page builder, add two A/B variant blocks next to each other. Give both the experiment's flag key, set one to variant A and the other to variant B, and put the blocks to compare inside each. A visitor sees only the blocks of their own variant. To count clicks on a button, type the goal name in the block's Goal name field, or write data-exp-goal="name" on your own button.
Read the results#
Open an experiment to see, for every variant: visitors, conversions, the rate and its 95% range, revenue per visitor, the change against variant A, the p value and the chance to be the best. A daily chart and the split by device and by new and returning visitors help you see who liked which version.
- Not enough data yet. You see this until every variant has the least visitors and the least days you set. Please do not decide before that.
- Peeking warning. A gap that looks big early often disappears. The page tells you when a result looks like a winner but the test is too young.
- Chance to be the best is a probability, not a promise. 95% or more with enough data is a good reason to act.
- A visitor's order or click counts when it happens within 7 days after they first saw the test.
Pick the winner#
- Publish B and end puts the winning page version live, the same way as going back to an older version of a page, and ends the test. Nothing is lost.
- Declare a winner ends the test and records the winner without changing your store.
- Keep both ends the test with no winner.
- Switch on Publish the winner on its own and the test ends and publishes the winner as soon as the data is enough and one variant is the best with 95% or more probability. It also stops by itself after the number of days you chose.
Write what you learned in Notes and learnings. Past experiments stay in the list with their notes.

Comments (0)
Anyone can comment. Please do not post phone numbers, passwords or customer details.