How to run a reliable test

  • A written hypothesis: “showing the price on the first screen will increase quote requests”.
  • Only one variable changed between A and B.
  • One primary metric chosen before launch.
  • A sample size calculated in advance.
  • A duration covering at least one or two full weeks, to smooth out weekday effects.
  • Analysis at the end, not along the way.

How many visitors do you need?

A common rule of thumb gives the size needed per version at 80% power and a 5% significance level: n ≈ 16 × p × (1 minus p) / d², where p is your current conversion rate and d the absolute difference you want to detect. With a 3% rate and the goal of detecting a lift to 3.6%, n ≈ 16 × 0.03 × 0.97 / 0.006², about 12,900 visitors per version.

Low-traffic sites therefore have two options: test bold changes with a large expected effect, or test upstream on ads, where impression volumes are higher. Stopping a test as soon as one version seems to win, before reaching the planned sample, produces mostly false winners.

A/B testing and SEO

Google publishes clear rules for testing safely. Never show Googlebot a different version than users see: that is cloaking, which violates its spam policies. Add a canonical tag on test URLs pointing to the original page rather than using noindex. Use a temporary 302 redirect, not a 301, to send users to a variant. And do not run the test longer than necessary; then remove the variants and scripts.