Skills / Conversion rate optimisation / A/B testing properly

Conversion rate optimisation, lesson 5 of 8

A/B testing properly

In an A/B test, visitors are randomly split between the current version of a page (A, the control) and a changed version (B). Comparing their conversion rates shows whether the change helped. Done properly, it replaces opinions with evidence. Done badly, it produces confident wrong answers.

Start with a hypothesis, not a random idea:

"Because heatmaps show most mobile visitors never scroll to the delivery information, and support gets many delivery questions, we believe showing delivery times next to the price will increase add-to-cart rate on mobile."

A hypothesis states the evidence, the change and the expected effect. Even a failed test then teaches you something.

Rules for a fair test:

  1. Randomise. Let the testing tool assign visitors randomly, so the groups are alike
  2. Decide the main metric and the sample size before starting. Use a sample size calculator based on your current conversion rate and the smallest improvement worth detecting
  3. Run for full weeks, usually at least one or two complete weekly cycles, because behaviour differs between weekdays and weekends
  4. Do not stop as soon as one version looks ahead. Checking constantly and stopping at the first "win" greatly increases false results
  5. Test one main change at a time, or use a proper multivariate design

Statistical significance tells you how unlikely the observed difference would be if the change actually made no difference. Testing tools calculate it; a common threshold is 95%. Low-traffic sites often cannot reach significance for small changes, so they should test bigger, bolder changes or rely more on qualitative research.

Check guardrail metrics too: a change that increases sign-ups but increases refunds or cancellations may not be a win.

Record every test and its result, including the failures.

Try it: Write a full hypothesis for an A/B test on a sign-up page you know, including the evidence, the change, the expected effect and the main metric.

Check yourself

1. What is the control in an A/B test?

2. Why not stop a test as soon as one version looks ahead?

3. Why run tests for full weeks?