Skip to content
freeabtest.com

How it works

From hypothesis to decision in seven steps

An experiment is a short loop: say what you expect, show versions to comparable visitors, count what they do, and act on a verdict you can trust. This is how each step works in FreeABTest.

The lifecycle

Seven steps, one loop

Select a step to read how it works and see a worked example.

  1. 1Create an experiment
  2. 2Define variants and traffic
  3. 3Integrate the SDK or configure tracking
  4. 4Assign visitors consistently
  5. 5Track conversions
  6. 6Analyse the results
  7. 7Make the decision

After step 7 the loop starts again: the outcome of one test becomes the hypothesis of the next.

Step 1

Create an experiment

Give the test a name and write down what you expect to happen. New tests always start as a draft.

  • A hypothesis: what you change, for whom, and why it should help
  • An expected outcome, the result you would call a win
  • Tags to group tests by page, team or quarter
  • Ideas from the test planner open the wizard already filled in
Docs: Creating experiments
Example

Hypothesis: a shorter headline on the pricing page makes the plans easier to compare. Expected outcome: trial starts rise by at least 10%.

Step 2

Define variants and traffic

Add the versions to compare and decide how many visitors take part.

  • Change text or layout in place, or send each version to its own page address
  • Set weights, for example 50/50
  • Set the traffic allocation, the share of visitors who enter
  • Add targeting by device, campaign, referrer, or new or returning
Docs: Variations and traffic
Example

Control: the current headline. Variant B: the shorter headline. 50/50 split, 100% of visitors on desktop and mobile.

Step 3

Integrate the SDK or configure tracking

Paste one script tag into the head of every page in the test, or call the API from your server.

  • Copy the snippet with your public key from the dashboard
  • Install through Tag Manager or WordPress if you prefer
  • Use server-side assignment for anything that never reaches the browser
  • The free plan keeps Start off until the snippet has loaded on the page
Docs: Quick start
Example

The snippet goes in the head of /pricing. The setup check confirms it loaded before the test starts.

Step 4

Assign visitors consistently

Each visitor is hashed into one version and stays there on every visit.

  • The visitor ID and the test ID decide the version
  • Raising traffic adds new visitors without moving anyone
  • Pass your own user ID to keep one version across devices
  • Edits apply to new visitors only
Docs: How assignment works
Example

A visitor who saw Variant B on Monday still sees Variant B on Friday.

Step 5

Track conversions

Pick the action that counts as a win and make it the primary goal.

  • Click goals on a CSS selector, on every plan
  • Form submits, page visits and custom events on paid plans
  • Revenue with each order on paid plans
  • Each test view also goes to Google Analytics 4
Docs: Goals
Example

Primary goal: a click on the Start trial button. Secondary goal on a paid plan: a visit to /welcome.

Step 6

Analyse the results

Watch conversion rates, intervals and the sequential verdict as data comes in.

  • A verdict only once every version has 100 visitors
  • A sequential p-value that stays valid at every look
  • A warning if visitors are not split as you set
  • Funnels, segments and heatmaps on paid plans
Docs: Reading results
Example

After 4,800 visitors each, Variant B converts at 6.5% against 5.0%, with a sequential p-value of 0.048.

Step 7

Make the decision

Roll out the winner, keep the control, or test a bolder idea.

  • Roll out one version to everyone while you update your code
  • Stop the test when the control wins, and keep your page
  • An inconclusive test means the change did not matter much
  • Write the outcome down so the next test builds on it
Docs: Choosing a winner
Example

Roll out Variant B, put the new headline in the page, stop the rollout, and plan the next test.

Under the hood

What happens on one page view

Steps 2 to 4 happen while the page loads, before the visitor sees it. With server-side testing, your backend asks for the version instead and sends the events itself.

  1. 1

    Visitor arrives

    The snippet loads in the head and reads the visitor ID, or creates a random one.

  2. 2

    Test matches

    The page address and the targeting rules decide whether the visitor can enter.

  3. 3

    Version picked

    The visitor ID hashed with the test ID gives the same version every time.

  4. 4

    Version shown

    Changes are applied, or the visitor is redirected, before the page shows.

  5. 5

    Goals counted

    Clicks, form submits, page visits or your own events are recorded for that version.

Run your first experiment this week.

Free plan with 10,000 tested visitors a month and 1 running test. No card needed.

Start experimenting