Home / Glossary / Analytics and attribution

Analytics and attribution

A/B test

Also searched as: split test, control group, sample size, experiment hypothesis

In shortAn A/B test compares two versions of one thing, such as a headline or a form, by showing each to a similar share of visitors at the same time. One version is the control, the other the variant. You then compare a chosen metric to learn whether the change helped, using enough traffic to trust the result.

By Aditya Aman, working in SEO for almost a decade and hands-on with AEO and GEO as those fields have developed. Updated 25 November 2026.

  • What it isA controlled comparison of a control and a variant.
  • Who it matters toMarketers, CRO teams and product owners with steady traffic.
  • How it is checkedFix the hypothesis, metric and sample size before launch.
  • Common mistakeStopping the test the moment one version looks ahead.
  • Related workConversion rate optimization and statistical significance.

What is an A/B test?

In an A/B test, visitors are split at random. The control group sees the current page, and the other group sees one changed version. Because both run at the same time, outside factors like a holiday or a campaign affect both groups equally.

That is the point of the method. A before-and-after comparison cannot separate your change from everything else that moved that month. A split test can come much closer.

How do you design a test that means something?

Start with a hypothesis in plain words: because visitors hesitate at the form, a shorter form will raise submissions. Name one primary metric, such as demo requests, and decide the smallest change that would matter to the business.

Then estimate the sample size. Small differences need many visitors, and a low-traffic B2B page may never reach a clean answer in a reasonable time. In that case, test bigger changes or use other research instead.

  1. Write the hypothesisState the change, the expected effect and the reason you expect it.
  2. Choose one primary metricPick the outcome that matters, such as quote requests, not clicks alone.
  3. Estimate sample sizeUse a calculator from your testing tool to find how many visitors you need.
  4. Run full weeksCover whole weekly cycles so weekday and weekend behavior both appear.
  5. Decide before lookingSet the end rule in advance, then read the result once the test is done.

Can you A/B test pages that need to rank?

Yes, with care. Show search engines and users the same content wherever possible, avoid cloaking, and use temporary redirects only if a test needs separate URLs. Check current search guidance on testing before you launch.

For SEO changes themselves, such as title rewrites, classic user splits do not apply, because Google sees one version of a page. Teams use other approaches, like comparing similar groups of pages. Treat those results as indications, not proof.

What are common A/B test mistakes?

The biggest is peeking and stopping early, which makes random noise look like a win. Close behind are running many variants on thin traffic, changing several things at once so you cannot tell what worked, and ignoring a failed test.

A test with no winner is still an answer. It tells you that the change did not matter enough to detect, so you can spend effort elsewhere. Record each result and its hypothesis so the team does not repeat it.

Need help with A/B test on your site?

Tell us what is not working. We will check where this affects your search results and what to fix first.

Book a meetingSEO analytics and reporting

Questions people ask

How long should an A/B test run?

Long enough to reach the planned sample size and cover full weekly cycles. There is no fixed number of days. Use your testing tool's calculator, set the end point beforehand and avoid ending early because a variant looks good.

What if my site has low traffic?

Small sites often cannot detect small effects. Test larger changes, such as a rewritten offer or page layout, or lean on user interviews, session recordings and form analysis instead. A weak test with too few visitors only produces noise.

What is the control group?

The control group sees the original, unchanged version. It gives you a baseline measured at the same time as the variant, so any difference between the groups is more likely caused by your change and not by outside events.

Inspect the original evidence