/Docs

Experiments

Experiments are at the core of A vs B. Each experiment compares two or more versions of a page or user flow against a measurable goal. This section covers everything from creating your first experiment to managing experiments that are already live.

How experiments work

An experiment divides your visitors into groups. Each group sees a different version of your page (a "variation"). One group always sees the original, unchanged page — this is the Control. The other groups see modified versions — these are the Variants. A vs B tracks a metric for each group and uses statistical analysis to determine which version performs better.

The five-step builder

Creating an experiment in A vs B uses a guided five-step builder:

  1. Targeting — Choose which pages the experiment runs on and which audience segments are eligible.
  2. Variations — Define the control and variant(s), write their CSS and JS, and set traffic splits.
  3. Metrics — Select the goals you are measuring.
  4. Analysis — Choose the stats engine, confidence level, variance-reduction mode, and (optionally) seal an analysis plan that pre-registers the primary metric and guardrails.
  5. Review — Pre-flight checks and the publish button.

Pages in this section