1. The Mathematics of A/B Hypothesis Testing
When testing a new checkout layout or product page variation (B) against your baseline control (A), you are testing a statistical hypothesis:
Conversion Rate B = Conversion Rate A. Any observed difference is purely random variance.
Conversion Rate B ≠ Conversion Rate A. The variation genuinely alters conversion behavior.
For large e-commerce traffic samples, we apply the Two-Tailed Z-Test for Independent Proportions:
Z = (p_B - p_A) / √[ p_pool × (1 - p_pool) × (1/N_A + 1/N_B) ]
Where p_pool = (Conversions_A + Conversions_B) / (Visitors_A + Visitors_B).
For a 95% confidence level (α = 0.05), the absolute Z-score must exceed 1.96. For 99% confidence (α = 0.01), Z must exceed 2.58.
2. Sample Size Estimation & Minimum Detectable Effect (MDE)
One of the most common mistakes in CRO is declaring a test conclusive before reaching the required sample size. The required sample size per variation is given by:
| Baseline Conv Rate | Target Relative Lift (MDE) | Expected Variant Rate | Sample Size / Variation | Total Test Traffic |
|---|---|---|---|---|
| 2.0% | +5.0% relative | 2.10% | 155,000 | 310,000 visitors |
| 2.0% | +10.0% relative | 2.20% | 39,000 | 78,000 visitors |
| 2.0% | +20.0% relative | 2.40% | 10,000 | 20,000 visitors |
| 4.0% | +10.0% relative | 4.40% | 19,200 | 38,400 visitors |
3. The Peeking Problem & False Positive Rate Inflation
In conversion testing software (such as VWO, Optimizely, or Google Optimize historical logs), statistical confidence numbers fluctuate wildly during the first few days. A variant might show 98% confidence after 300 visitors simply due to an early cluster of transactions.
When an experimenter checks test results daily and stops the test the moment p < 0.05 is hit, the real false positive rate rises from 5% to over 30%. This means roughly 1 in 3 implemented "winners" is actually neutral or harmful to your business.
4. The 4 Golden Rules of Rigorous E-Commerce CRO
Pre-Determine Sample Size
Calculate required visitor traffic per variant before starting the test and never stop early.
Minimum 14 Full Days
Run experiments across at least two full business cycles to balance day-of-week customer variance.
Track Revenue Per Visitor (RPV)
A variation that boosts conversion rate but reduces Average Order Value (AOV) can lower total net profit.
Segment Mobile vs Desktop
Always evaluate device segments independently to prevent aggregate Simpson's Paradox distortions.