Contents
A/B testing sounds simple: show half of your customers version A, half version B, and see which one converts better. In practice 80% of A/B tests give wrong conclusions through statistical errors. I'll show you how to do it correctly and what pitfalls to avoid.
In short
- A/B test = control version (A) vs. changed version (B), randomly shown.
- Minimum sample: usually 5,000–20,000 visits per variant for statistical significance.
- Duration: minimum 2 full weeks (take seasonality into account), better 4.
- Tools in 2026: VWO, Convert, Optimizely (after Google Optimize sunset).
Why A/B tests?
Without testing all optimization decisions are opinions. Example:
"I changed the button from blue to orange. Conversion increased by 12%. Orange is a better color."
This untruth, if:
– The sample size was small (e.g. 200 visits)
– The test time was short (3 days)
– It was weekend/other campaigns these days
– The 12% increase was within the natural fluctuation (variance)
A good A/B test gives you confidencewhether the change actually worked.
5 Rules for a Good A/B Test
Rule 1: Hypothesis before test
Start each test with a hypothesis:
"I believe that adding social proof like '247 people bought today' below the price will increase conversions by at least 8% by reducing customer uncertainty. I'll measure this over the next four weeks."
A hypothesis should have:
– A specific change (what I change)
– Expected effect (direction + magnitude)
– Justification (Why)
– Metrics (what I measure)
Rule 2: One Variable at a Time
The most common mistake: changing 5 things at once, then you don't know what worked.
Test proper:
– Version A: blue “Buy Now” button
– Version B: "Buy Now" button orange (1 change)
Test INCORRECT:
– Version A: blue “Buy” button
– Version B: orange button "Order now" + new text under the CTA + shopping cart icon
Exception: A/B redesign — you're testing the entire new version of the site vs. the old one. This is valid, but it provides less insight than micro-tests.
Rule 3: Sample size is large enough
Statistical significance (p-value < 0.05) requires sample:
- Small difference (1–3% lift): 20,000+ conversions per variant
- Average difference (5–10% lift): 5,000+ conversions per variant
- Big difference (15%+ lift): 1,000+ conversions per variant
Sample calculator: abtestguide.com/calc
Enter the baseline conversion (e.g. 2%), expected lift (e.g. 10%), significance (95%) → the calculator will tell you how many visits you need.
Rule 4: Minimum duration: 2 full weeks
The store has different behaviors in different days of the week i hours of the day. A 3-day test can only be run on the weekend (higher conversion) or Monday (lower).
Standard: minimum 2 weeks, Better 4 weeks.
Exceptions:
– Test of a very changing (e.g. entire redesign) – 6–8 weeks
– Seasonal Behavior Test (Black Friday) – Test during the off-season
Rule 5: Don't stop the test early
Worst mistake: test runs 4 days, B "wins" by 8%, you stop the test, implement B.
This does NOT mean winning. The lift could have been statistically insignificant (variance). After 30 days, B would turn out to be worse.
Principle: wait for at least 2 weeks + reaching the planned sample + p-value < 0.05.
The most common statistical errors
1. Peeking problem
You check your test results every day. You see that one day A wins, the next day B wins, and the third day A wins. Each check increases the chance of a false positive.
Repair: Set an end date for the test (e.g., 4 weeks) and don't look at the results for that period. Or use "sequential testing" (Bayesian methods).
2. SRM (Sample Ratio Mismatch)
50/50 test, but after a week you have 60% in A, 40% in B. Something is wrong (cookie issues, randomization bug). Incorrect test results.
Repair: always check the sample distribution. If SRM > 5% deviation → debug.
3. Multiple comparisons
You are testing 5 variants (A, B, C, D, E). Each comparison has a p-value of 0.05. But total false positive chance is 1 – 0.95^4 = 18,5%!
Repair: Bonferroni correction (divide p-value by the number of comparisons) or use Bayesian.
4. Confusing correlation with causation
"A customer who sees version B is more likely to buy." OK — but maybe version B attracts specific customers (segment), does not change the behavior of the whole.
Repair: segment results (mobile vs desktop, new vs returning, traffic source).
5. No control group over time
Conversion increase by 10% may be seasonal (After Black Friday, they buy more.) Without checking, you don't know if it's a test or a seasonal event.
Repair: always A/B/C, where A and C are identical (controls). If A and C give different results → something is wrong with the test.
Tools in 2026
After sunset Google Optimize (2023) the market has changed.
VWO (Visual Website Optimizer)
- ★★★★★ functionality
- Price: from $200/month.
- Visual editor (no-code)
- Heatmaps included
- The most popular in Poland after Google Optimize
Convert.com
- ★★★★ functionality, lighter than VWO
- Price: from $99/month.
- Good integration with GA4
- Recommended for medium-sized stores
Optimizely
- ★★★★★ enterprise
- Price: Individual ($1,000+/month)
- For large companies with dedicated CRO teams
A/B Press (WordPress, free)
- Free WP plugin
- Basic testing (split URL, content variants)
- No advanced analytics
Posthog (open source)
- Self-hosted, free
- Requires technical knowledge
- Full control over your data
What is worth testing in e-commerce
Home page
- Hero (slogan, video vs photo)
- First section (USP vs bestseller list)
- CTA primary
Product card
- Buy Now CTA
- Number of photos
- Review position
- Social proof
Product list
- Default sorting
- Number of products per page
- Card format (with description vs. without)
Checkout
- 1-page vs multi-step
- BLIK position
- Address form (auto-fill vs manual)
- Email titles
- Recovery shipping time
- Coupon value (5% vs 10%)
7 tests that are ALWAYS worth doing
- Main CTA color — even 1% profit is a lot with high traffic
- CTA text (“Buy Now” vs. “Add to Cart”)
- Social proof position (under the price vs under the description)
- One-page vs multi-step checkout
- Pop-up newsletter (1 second vs 30 seconds vs exit-intent)
- Number of fields in the form
- Hero image vs hero video (effect on LCP too)
The most common tests that give a NULL effect
❌ Micro changes copy (change "Buy" to "Buy") - differences <1%, undetectable
❌ Color change by 1 shade — undetectable
❌ Subtle changes in iconography — the customer doesn't notice
Application: Test big changes, not cosmetics. Implement small ones. without a test based on best practices.
What's next
This week:
- Select 1 hypothesis (e.g. "BLIK as the first method will increase conversion by 10%")
- Calculate the sample size needed (abtestguide.com calculator)
- Select tool (VWO trial / Convert / Posthog)
- Take the 4-week test
- DON'T peek
- After 4 weeks - analysis and decision
We conduct A/B testing in the CRO subscription — in the “CRO Pro” package (PLN 4,500/month) we test 4 hypotheses per month with full analytics and reports. Write to us.
Your feedback
Was this article helpful?
One click — it helps me choose future topics.

