Skip to content
Preptima
hardDesignCase StudyMidSeniorStaff

Walk me through designing an A/B test for a checkout change. What do you fix before any data exists?

6 min readUpdated 2026-08-15

Answer

Short answer

Fix the hypothesis, one primary metric, the randomisation unit and the sample size before launch. Peeking at a fixed-horizon test inflates false positives because each look is another chance to cross the threshold, and an inconclusive result is an interval to interpret, not proof of no effect.

Was this answer helpful?

Likely follow-ups

  • Your test needs 15 days and the release is in 5. What do you change, and what do you give up?
  • The primary metric is flat but one country segment shows a large lift. What do you do with that?
  • How would you experiment on a change where treated and untreated users interact, like a marketplace fee?
  • Sample ratio mismatch is 50.4/49.6 on eight million users. Is that a problem?

Related questions

Further reading