All terms

CRO Glossary

Confounding Variable

An outside factor that influences both a test's treatment exposure and its outcome, distorting the apparent effect of a variant.

A confounding variable is something you didn't account for in your experiment design that ends up correlated with both which variant a user saw and how they behaved afterward. Because it moves alongside your treatment, it makes the treatment look more (or less) effective than it actually is, even though the randomization itself was done correctly.

Confounds usually creep in through implementation, not through the randomization process. A common example is a redesign test that ships during a marketing campaign: users arriving from a new paid channel see the new design disproportionately, so any lift you measure is partly channel quality, not design quality. Another classic case is a pricing test that unintentionally targets logged-in versus logged-out users differently due to a caching layer, making account status a confound.

The defense against confounding is tight control over what changes during the test window, careful randomization at the right unit (user, session, or account), and checking that traffic composition is stable across variants with something like an SRM check or segment breakdown. If a confound is suspected after the fact, segment-level analysis can sometimes isolate it, but the cleanest fix is preventing it through design: freeze other changes, randomize early in the funnel, and log the covariates you're worried about so you can verify balance post-hoc.

Related terms

See this in the wild

ABWatcher watches how top teams apply confounding variable.

Live A/B tests at 1,000+ high-converting brands, with plain-English hypothesis and takeaway.