WebmasterID logoWebmasterID
Conversion & funnels

A/B testing fundamentals

An A/B test randomly assigns visitors to a control (A) or a variant (B), shows each group one version, and compares a pre-chosen metric. Random assignment is what lets you attribute a difference to the change rather than to who happened to see it. The discipline is in deciding the metric and sample size before you start, not after you peek at the numbers.

Verified against primary sources

What this means

In an A/B test you randomly split incoming visitors into two groups. Group A sees the current version (the control); group B sees a single changed version (the variant). You then compare one metric you chose beforehand. Random assignment makes the two groups comparable on average, so a difference in the metric can be attributed to the change.

Designing it honestly

Pick the metric and the sample size before launching, and change one thing at a time so a result has a clear cause. Let the test run to its planned size rather than stopping the moment it looks good — early stopping inflates false positives. Documenting the hypothesis up front keeps you from rationalising whatever the data happens to show.

A/B testing answers 'did this change move the metric', not 'is this the best possible design'. It is a measurement tool, not a substitute for judgement about what to try.

How it appears in analytics and logs

A difference between A and B is only trustworthy if assignment was random, the variants differed by one thing, and the metric and stopping rule were set before launch. Otherwise the 'winner' may be noise or bias.

Diagnostic use case

Run an A/B test when you want a causal read on a single change — split traffic randomly, fix one metric, and decide the sample size in advance.

What WebmasterID can help detect

WebmasterID measures the conversion events that an experiment compares, first-party, so you can read variant outcomes without cross-site tracking.

Common mistakes

Privacy and accuracy notes

An experiment needs only a random bucket assignment and aggregate metric counts, not personal identity. WebmasterID reads outcomes from first-party events.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.