A/B Testing
Data-Driven Decisions
Learn how to design experiments that compare two versions of a marketing element and use real data to choose the winner.
What Is A/B Testing?
An A/B test is a controlled experiment where you show two versions of something: a Control (A) and a Variant (B): to randomly split groups of people, then measure which version performs better on a specific metric.
Key Vocabulary
Why A/B Testing Matters
Without testing, marketing decisions rely on opinions and guesses. A/B testing replaces gut feelings with evidence. Even small improvements compound over time.
The Core Formula
The primary metric in most marketing A/B tests is the conversion rate:
To decide if B beats A, we compare their rates and check whether the difference is statistically significant: meaning unlikely to be caused by random chance alone.
Visualizing Conversion Rates
A/B Test vs. Multivariate Test
| A/B Test | Multivariate Test | |
|---|---|---|
| Variables changed | One | Multiple |
| Versions tested | 2 (A and B) | Many combinations |
| Traffic needed | Lower | Much higher |
| Complexity | Simple | Complex |
| Best for | Single change | Interaction effects |
How to Design an A/B Test
Example 1: Email Subject Line
Example 2: Landing Page CTA
Example 3: Interpreting Results
A subscription box company tests two pricing page layouts. Here are the raw results after 2 weeks:
| Control (A) | Variant (B) | |
|---|---|---|
| Visitors | 12,400 | 12,350 |
| Sign-ups | 310 | 358 |
| Conversion Rate | \(2.50\%\) | \(2.90\%\) |
| p-value | 0.12 | |
Understanding Statistical Significance
Why Sample Size Matters
Common Mistakes
A/B Testing Cheat Sheet
| Step | What to Do | Example |
|---|---|---|
| 1. Hypothesis | Predict the outcome | "Green CTA will lift CTR" |
| 2. Metric | Choose one KPI | Click-through rate |
| 3. Variant | Change one element | Button color only |
| 4. Split | Randomly assign 50/50 | Tools handle this |
| 5. Analyze | Check significance | \( p < 0.05 \) = winner |
Question 1 of 5
In an A/B test, the "control" refers to:
Question 2 of 5
A company runs an A/B test on their checkout page. Version A has 8,000 visitors and 240 purchases. What is Version A's conversion rate?
Question 3 of 5
An A/B test shows Variant B has a higher conversion rate than Control A, but the p-value is 0.23. What should you do?
Question 4 of 5
Which of the following is the biggest flaw in this A/B test design: "We changed the headline, hero image, and CTA button, then measured which page got more sign-ups"?
Question 5 of 5
Version A converts at 5% and Version B converts at 6.5%. What is the relative lift of B over A?