An A/B test replaces opinion with evidence. Instead of arguing about whether a shorter headline or a different price layout will work, you show both to real visitors at the same time and let their behaviour decide. Version A is usually what you have now (the control); version B is the change.
How an A/B test works
- Write a hypothesis. "Moving the pricing table above the testimonials will get more visitors to start a trial." One change, one expected effect.
- Pick one primary metric before you start: a goal such as
start_trial, or revenue per visitor. Choosing afterwards invites you to cherry-pick whichever number happened to move. - Split traffic at random. Each visitor is assigned to A or B and should keep seeing the same version on later visits.
- Run it for a fixed period. Decide the length in advance, cover full weeks so weekday and weekend visitors are both included, and do not stop the moment one side pulls ahead.
- Compare the results and check whether the difference is larger than chance alone would produce. That is what statistical significance is about.
A test with more than two versions is an A/B/n test. Testing several elements at once, in every combination, is called multivariate testing, and it needs far more visitors to reach a conclusion.
How to measure variants with Reveata
Reveata has no built-in experiment tool: it does not assign visitors to variants and it has no significance calculator. Use a testing tool, your own code or an edge redirect to split traffic, and use Reveata to measure what each group did, including what they paid.
- Give each variant its own URL, for example
/pricingand/pricing-b. Then filter the dashboard on Entry page or Page (see filters and segments) and compare goal conversions, revenue and revenue per visitor for each. - Record the outcome as a goal, such as
signuporstart_trial, so it can be counted per variant. See custom goals. - Add the variant as a property. If you send pageviews yourself (
data-auto="false"), you can attachreveata('pageview', { props: { variant: 'b' } }). Custom pageview properties appear in the dashboard's Properties card and can be used as a filter. - Use a funnel with the variant page as the first step to see where each version loses people. See funnels.
- Add a note on the chart on the day the test starts and ends, so later readers know why the numbers moved.
Because payments are linked to visits through revenue attribution, you can judge a variant by money, not only by clicks.
Common mistakes
- Peeking and stopping early. Checking every day and stopping when B looks ahead turns random noise into false winners.
- Too little traffic. On a small site a few visitors can swing the result. Run the test longer, or test bigger changes that would have a larger effect.
- Changing several things at once in what you call an A/B test. If B wins, you will not know why.
- Testing during unusual periods, such as a launch or a sale, then expecting the result to hold afterwards.
- Measuring the wrong thing. A variant that gets more clicks on "Start trial" but fewer paying customers is not a winner.