An A/B test is a controlled experiment in which two versions of a page, email or interface element are shown to different groups of users, to compare which one achieves a measurable goal better, such as sign-ups or purchases. The original version is called the control (A) and the alternative is the variant (B).
Visitors are randomly assigned to one of the two versions, and the system records their behaviour during the test period. Before launching, you define a hypothesis, a primary metric, the required sample size and a minimum duration. At the end, you analyse whether the observed difference is statistically significant, meaning it is unlikely to be due to chance.
Randomisation is essential: it ensures both groups are comparable, so differences in results can be attributed to the change and not to other factors such as traffic source or day of the week.
An online store wants to check whether a more prominent buy button improves add-to-cart rate. The hypothesis is that a contrasting colour will make the action easier to notice. Traffic is split 50/50 between the current page (A) and the variant (B) for two full weeks, so that weekly purchasing cycles are covered. When the test closes, the team reviews the confidence interval and significance before deciding whether the result is reliable enough to implement.
Sign in with your Google account in one click and unlock the free courses, the resource library and the weekly analyses.
We only use your Google account to identify you. No passwords to remember.