Skip to content
freeabtest.com

Guides

Variations

Controls, A/B/n tests (up to 50 variations on paid plans), weights, traffic allocation and split URL tests.

The control#

Every experiment has exactly one control: the version you have today. Lift and significance are always measured against it. On the new experiment form, choose Make control on any row to move it.

How many variations#

A URL split test has one control URL and one or more variation URLs. The free plan allows 1 variation (A/B only); paid plans allow up to 50. Weights must sum to 100 and default to equal shares.

More variations need more traffic

Each extra variation splits your visitors further, so every variation takes longer to reach a reliable sample. Two or three is usually right unless you have a lot of traffic.

Weights#

Weights decide how visitors who enter the experiment are split. They must add up to 100. Decimals are allowed. Common choices are 50/50, 34/33/33, or 90/10 when you want to limit exposure to a risky change.

Traffic allocation vs weights#

All visitorsTraffic allocationshare of visitorsControl (weight 50)Variant B (weight 50)Outside: default page, not countedinsideoutside
Two independent checks: one decides whether a visitor enters the experiment, the other picks the variation.

Traffic allocation (0 to 100%) decides whether a visitor enters the experiment at all. Weights then split the visitors who did enter. With 50% allocation and a 50/50 split, each variation gets about 25% of all visitors, and the other half see your default page without being counted.

How assignment works#

Assignment is deterministic. The visitor ID and experiment ID together always map to the same variation, in proportion to the weights. The result is stored, so later requests return the same variation even if the experiment changes. A second, separate hash decides traffic allocation, so changing allocation never reshuffles who gets which variation.

Visual editor#

On Growth and above, a variation can run on the control page itself instead of on its own URL. When you create the test, tick Change the control page with the visual editor for that variation. Then open Edit test and choose Open visual editor.

Your page opens in a new tab with the editor panel. Click any element to change it, choose Apply, and Save when you are done. The link from the dashboard works for 2 hours and only for that variation, on your registered domains.

  • Text. Replace the words of a heading, paragraph, button or link.
  • Colors and size. Text color, background and font size.
  • Links and images. A new link address, image address or image description.
  • Hide. Remove an element, such as a banner, for visitors in this variation.
  • Move. Move up and Move down put the element before the previous element or after the next one in the same container. Repeat to move it further.
  • Page CSS. With nothing selected, add CSS for the whole page, for example spacing or layout tweaks. It cannot load files: url(), @import and backslash escapes are not allowed. One block per variation, up to 10,000 characters.

Mobile and tablet preview#

Next to Open visual editor, pick Tablet (820 px window) or Mobile (390 px window) to open the editor in a window of that width, so your page shows its tablet or mobile layout. The panel shows the current window width, and Fold shrinks it so you can see more of the page. Changes apply on every device; check each size before you start the test.

Visitors in the variation get the changes before the page shows, with the same flicker protection as redirects. A variation holds up to 50 changes. You can also add, check or remove changes by hand on Edit test, each with its CSS selector. Changes are plain text, styles, moves and CSS, so the editor cannot add scripts or HTML to your site.

Elements that load later

Changes also apply to elements that appear while the page loads. Content that appears long after load, for example after a click, may not change. Pick elements that are on the page from the start.

Multi-page tests#

On Growth and above, a visual test can run on more pages than its control page, for example the same button on every product page. Open Edit test, find Pages in this test and add up to 10 rules: Page is, Address starts with or Address contains. Query strings are ignored.

  • Every version's visual changes apply on the control page and on each page that matches a rule. A visitor keeps the same version on all of them.
  • Use selectors that exist on every page in the test. An element a selector does not find is left alone.
  • Extra pages work with visual variations only. Split URL tests keep one page per version.
  • You can change the pages while a test runs. New page views follow the new rules.
  • The test's heatmaps combine clicks and scrolling from all its pages. For a heatmap of a single page, run the test on that page only.

Multivariate tests#

On Growth and above, a draft can test two or three changes at once and every combination of them. Build each change as a visual variation first, for example Headline B, Green button and Short form. Then open Edit test, find Make it multivariate, put each variation in a factor (one factor per element you change, up to 2 versions besides the original per factor) and choose Build combinations.

  • The test gets one version per combination, split evenly, with the all-original page as the control. Up to 18 combinations.
  • Results show every combination with the usual significance verdict. The 5% bar is split across all comparisons, so more combinations need more visitors.
  • Effect of each factor adds up each level's visitors and conversions over the combinations that use it, so you can see what one change adds on its own. It is a guide: the verdict compares whole combinations.
  • To change a level, choose Undo combinations on the draft. The variations come back with their changes, split evenly, ready to edit.
  • Multivariate tests also work with extra pages.

Plan for more traffic

Each combination gets a share of your visitors. With 8 combinations, each gets about 12% of the traffic, so a test needs several times the visitors of a simple A/B test. The test planner estimates how long that takes.

Check every version on your real site before you start the test, or while it runs. On the test page, open Setup, find Preview links and choose Create link next to a version. Send the link to anyone who should check it: it works for 7 days on all plans.

  • The link opens the control page as that version. A version with its own URL goes through the same redirect visitors get, and a visual version shows its changes.
  • A bar at the bottom of the page names the version. Other pages you open in the same tab stay in preview until you choose Exit preview.
  • Preview visits are never counted: no visitor joins the test, and no page views, conversions, heatmap clicks or analytics events are recorded.
  • Links work for drafts, running and paused tests. They stop working when the test is completed or deleted.

The snippet must be on the page

Preview links use the same snippet as visitors, on your registered domains. If nothing changes, check the snippet is in the head of the control page.

Auto-shift traffic to the winner#

On the Growth plan and above, turn on Auto-shift traffic to the winner in the Edit test tab. About once an hour while the test gets traffic, the split is recalculated so more new visitors see the version most likely to win on the primary goal. This method is often called a multi-armed bandit, using Thompson sampling.

  • The split starts to move once every active version has 100 visitors.
  • Every active version keeps at least 10% of new visitors (less when there are more than 5 versions), so the numbers keep improving.
  • Visitors already in the test keep their version. Paused versions stay paused.
  • Turning it off keeps the current split. You can then edit the weights again.

When to use it

Use auto-shift when you want to earn from the best version while the test runs, for example a short promotion. For the clearest answer to which version is better, keep a fixed split. Because the split changes over time, treat the significance test as a guide, and the visitor split warning is turned off while auto-shift is on.

Naming variations#

Names show in results, share links and Google Analytics 4, and your own code may check variation_name, so pick short names you will not want to rename, such as "Control" and "Annual first". You can also add a description to remind your team what changed.

Split URL tests#

Give a variation its own URL when the change is a whole page rather than an element. Put the snippet on the original page and on every variation page. When a visitor in that variation opens the original page, the SDK sends them to the variation URL and keeps the query string, such as UTM tags.

The SDK skips the redirect when the visitor is already on the variation's page, so the same snippet is safe on both pages. A visitor in another version who opens a variation URL directly is not counted for that variation.

Note

The page stays hidden for at most 0.8 seconds while the SDK decides, so visitors rarely see the original page first. Load the snippet in the <head> to keep that short.