Pass the menu and read the page

SignupFolio

3 variant numbers to set for a signup form A/B test

Everyday takeaways

  • Start with a control and one challenger. The PostHog experiment docs set the minimum at 2 variants and the total at no more than 20, so a first signup test should sit near the bottom of that range.
  • Choose the traffic share on purpose. The same docs say participants are split equally between variants and that the rollout defaults to 100% of participants, so the split and the rollout are settings you decide rather than defaults you accept without looking.
  • Fix the run length before launch. The NN/g guidance on A/B testing recommends a minimum run, and a stop rule set in advance, not a good-looking chart, should decide when the test ends.
  • Run the split check before you read any result. A sample ratio mismatch means the groups are not the sizes you configured, and this SRM article calls it essential to check visitor counts for it before each test analysis.
  • Lock the error text for the whole run. The GOV.UK Design System textarea guidance asks for specific error messages for specific error states, and its length messages name the exact limit.
  • Read signup as a share of everyone who saw each variant. The GrowthBook experiment results guide defines a step rate that way, not as a share of the people who finished the previous step.

What the three numbers control

An A/B test on a signup form randomly shows each visitor one version of the form and compares how many of them finish creating an account. Three numbers decide whether that comparison means anything: the variant count, the traffic share (the split between variants and the rollout percentage), and the run length with its stop rule. The error text is a fourth setting that belongs in the same plan. That is because a visitor who hits an error reads that variant's copy, so changing the copy mid-run changes the experience you are trying to measure.

TL;DR: set the variant count, the split and the run length before launch, check the split before reading results, and keep the error text fixed until the test ends.

If you are unsure who this is for

This is written for marketers and growth leads who are about to launch an A/B test on a signup form and need the settings fixed before the first visitor arrives. Engineers who configure the tool will also find it useful, because most of these settings sit on the tool's experiment screen, not in the form code.

Red flags: the form changes while the test runs, or the tool cannot assign visitors to variants at random. Another: the launch date leaves no room for the run length the tool will enforce.

Option one: a control and one challenger on a single element

A two-version test fits a team whose first change is a single thing, such as a button label, a headline or one field's error text. It also fits a team whose tool allows nothing more. The signup-form A/B feature in one tool supports only 2 variations, A and B, according to the help article for that feature.

The main limit is that the challenger should change one element. NN/g advises against testing design variations that change several elements at once, and notes that such tests need even more data before the result is reliable. If you change the button label and the field order together, you cannot say which change moved completions.

Setting it up takes three steps. Name the one element the challenger changes, and write the challenger next to the control so the difference is visible. Then set the split and run length before the first visitor arrives.

Option two: several variants in one test

Several variants suit a team that has enough signups to split traffic more than two ways and a tool that reports each variant separately. The limit is set by the tool. Variants per experiment: 2 to 20 variants according to PostHog, and an existing flag must be multivariate to use that range.

The main cost is traffic. Each extra variant takes its own share of the same visitors, so each one collects data more slowly, and a signup form with modest traffic may not reach a clear read on every pair. For that reason, a multi-variant test is better as a second test that follows a clear first result than as a first test on a quiet form.

Carrying it out takes three steps. Add each variant in the tool before launch, and keep the split equal unless you have a reason not to. Do not add or drop a variant once the run has started. The next section explains why the split and the variant list should stay fixed.

The split and the rollout number

By default, your experiment rolls out to 100% of participants, and participants are split equally between variants, according to PostHog. The same docs say a lower rollout percentage limits how many users enter the test, and that changing the split or adding variants might lead to inconsistent experiences for users.

The split matters because it sets how much traffic each variant needs to reach a clear read. A lopsided split needs more total traffic than an equal one, as the Algolia guide on traffic splits explains. It therefore takes longer to read at the same traffic level, and an equal split is the cheaper default when signups are scarce.

Lower the rollout only when the change carries a risk you want to limit to part of the audience. Otherwise keep the rollout at its default, so that the test measures the change across the whole form traffic and not a slice of it.

Checking the split before you read any result

The check of visitor counts for a sample ratio mismatch is essential before each test analysis, according to a published guide to this mismatch. A mismatch means the observed group sizes differ from the split you configured, which points to a problem in assignment or logging rather than a real difference in behaviour.

A chi-squared test can detect a sample ratio mismatch, as the Wikipedia article on the topic describes.

GrowthBook warns of a mismatch at a threshold you can change in organization settings, according to GrowthBook. A failed check is a signal to investigate before you trust the results. If the check fails, find the cause in how visitors are assigned and logged before you read the lift, because a lift measured on a skewed split can mislead.

How long to run it

NN/g recommends a minimum run for an A/B test. That is a floor, not a finish line. The test should run until your planned sample is reached, not until a chart looks convincing on a given day.

Low-traffic sites need more time to reach a planned sample. Set the stop rule in the tool before launch, so nobody ends the test early because one morning looked good.

Error text that names the exact rule

The GOV.UK Design System gives length messages such as "Summary must be between 10 and 400 characters" and suggests a character count only when there is a good reason to limit input, according to GOV.UK Design System.

The GOV.UK Design System textarea guidance gives this message in the error-text table.

Error message on the pageCharacter figure
Summary must be between 10 and 400 characters10 and 400 characters

The guidance also asks that errors have specific error messages for specific error states. A generic message such as "an error occurred" gives a visitor nothing to fix, and it gives your test nothing specific to measure. Write each message for each error state before launch, and keep it fixed for the run.

Common mistakes

  • Changing the split or adding a variant after the run starts. The tool's own documentation warns that this can give users inconsistent experiences.
  • Stopping when the chart looks good instead of at the stop rule you set before launch.
  • Testing several elements in one variant and then naming the cause of the winner's lift. With several changes in one variant, the result cannot tell you which change did the work.
  • Adding fields during the test. Whether a shorter form does better is a hypothesis to test in its own run, not a change to make midway.
  • Reading only the completion rate when the form has several steps. Read each step as its own share of the visitors who saw the variant.

Launch checklist in order

  1. Name the one element the challenger changes, and write the control and the challenger side by side so the difference is visible to the whole team.
  2. Set the variant count in the tool and confirm it sits inside the range the PostHog docs list, which is 2 to 20 variants.
  3. Keep the split equal and the rollout at its default unless you have a reason to narrow the audience.
  4. Write the error text for each error state, using specific messages, and lock it for the whole run.
  5. Set the minimum run length and the stop rule in the tool before launch; the NN/g article recommends a minimum run, and the stop rule, not a good-looking chart, ends the test.
  6. After the run, run the sample ratio mismatch check first, noting that the GrowthBook results guide warns of a mismatch at a threshold you can change in organization settings, and stop reading if it fails.
  7. Read each signup step as a share of everyone who saw the variant, where a step rate is the share of exposed units who reached that step, not the share of the previous step's completers who continued.

Worked example

An illustrative worked example (not a real case): a team has 20 tests queued for one signup form, and each test starts with 2 variants, a control and one challenger that changes only the button label, because the PostHog docs set 2 variants as the minimum and no more than 20 variants as the total. The team keeps the split equal and leaves the rollout at the default of 100% of participants, which the same PostHog docs list as the default. It sets its minimum run and stop rule in its own tool before launch. The team plans a split check before each test's analysis, and it keeps the error text fixed across all of them.

Which test setup should you pick?

CriterionControl and one challengerSeveral variants
Best fitA first change to one element, such as a button label, headline or one field's error textA team with enough signups to split traffic more than two ways
Variant count2 versions: the control and the challengerMore than 2, within the tool's limit (PostHog lists a range of 2 to 20)
Tool features neededRandom assignment; a basic A and B feature for signup forms is enoughRandom assignment and separate reporting for each variant; in PostHog, an existing flag must be multivariate
Traffic costVisitors are shared between two versionsEach extra variant takes its own share, so each collects data more slowly
Traffic splitAn equal split is the cheaper default when signups are scarceKeep the split equal unless you have a reason not to
Fixed during the runThe split, both versions and the error textThe split, the variant list and the error text
When to choose itAs a first test, or when the tool offers only A and BAs a second test that follows a clear first result
  • If your signup form has one headline, button or field to change, pick a control and one challenger because one changed element keeps the result readable.
  • If your signup tool offers only A and B, pick the two-version test because that is the only shape the tool runs, so there is no reason to plan a wider test.
  • If you have enough signups to split traffic more than two ways, pick a multi-variant test up to the tool's limit because the tool can report each variant separately.
  • If your traffic is scarce, pick an equal split and a stop rule set before launch, because a lopsided split needs more total traffic for the same effect.
  • If the error text is still changing, pick locked copy for the whole run because a changed message changes what that variant's visitors read.

FAQs

How many variants should a first signup form test have?

Start with a control and one challenger, so the result stays readable. The PostHog docs set the minimum at 2 variants and the total at no more than 20 variants.

Does the split have to be equal?

No, the split does not have to be an equal one, though an equal split is the simplest default. A lopsided split needs more total traffic for the same effect, as the Algolia traffic-split guide explains.

Should the rollout stay at 100%?

Keep the default unless the change carries a risk you want to limit to part of the audience. The PostHog docs describe the default as 100% of participants and let you lower the rollout percentage.

How long should the test run?

Plan a minimum run and let your stop rule set the end, rather than a calendar date. The NN/g article recommends a minimum run, and the stop rule, not a good-looking chart, should end the test.

What does a sample ratio mismatch mean?

A sample ratio mismatch means the groups are not the sizes you configured, so you should not read the lift until you find the cause. The linked article calls it essential to run this check on visitor counts before each test analysis.

Can I change the error text during a test?

No, keep the error text fixed for the whole run, because a changed message changes what that variant's visitors read. The GOV.UK Design System textarea guidance asks for specific error messages for specific error states, so write them before launch.

Is a shorter sign-up form always better?

No, a shorter form is a hypothesis to test rather than a fact.

Sources and check date

Related posts

More posts