Build two versions of the same funnel step (two different headlines, two different pricing pitches), split visitors between them automatically — the same person always sees the same version — and see which version brings in more leads and orders.
How to do it in the admin
- Go to "Dashboard → Data → Site Analytics → A/B report" in the admin, pick a funnel and the step you want to test (that's version A)
- Pick an already-published page to be version B (or enter a URL), and drag the slider to set how much traffic version B gets (half by default)
- Click "Start test"
Once it starts, this screen shows for each version:
| Number | Meaning |
|---|---|
| Visitors | Unique visitors who saw this version |
| Leads | Of those, how many left contact info (entered an email in the funnel, or submitted a form on this step) |
| To next step | Of those, how many moved on to the next funnel step |
| Orders / Revenue | Of those, how many paid: funnel checkouts, plus any paid orders from the same email after entering the funnel |
| Order conversion rate | Orders ÷ Visitors |
A visitor only counts toward whichever version they saw first — never counted on both sides.
When to declare a winner
- When either version has fewer than 100 visitors, the table marks it "not enough sample" — a few points of difference is probably just noise at that point, so don't decide yet
- Once you're confident, click "Pick winner: A" or "Pick winner: B": everyone sees that version from now on, including visitors who'd previously been assigned to the other version
- "Stop test" = everyone sees version A; "Resume test" = split by ratio again
Stopping or picking a winner doesn't delete any step or data — you can always change it back.
Numbers skewed by test visits: reset and recount
If you or a teammate clicked through a bunch of times to check how things look, the numbers get thrown off. Click "Reset and recount" (or have AI call reset_ab_test, which will ask you to confirm first): both versions' visitor, lead, and order counts start counting fresh from now. Past visits and orders aren't deleted — they just no longer count toward this test; the traffic split and which version returning visitors see stay the same.
Don't set "redirect on success" on a form in the step being tested
If the step being tested has a page with a form on it, don't set the form's successRedirectUrl (redirect after successful submission): on a funnel page, a successful submission automatically moves the visitor to the next funnel step, which is how the "to next step" column gets counted. If you set a redirect, visitors are sent to whatever address you specified instead, and that column stays stuck at 0.
Let AI help
Tell your AI:
- "Set up an A/B test for the landing page, use landing-v2 as version B, send it 30% of traffic" → it calls
start_ab_test - "Which version of the landing page is winning right now?" → it calls
get_ab_test_results, reads you both versions' visitors, leads, orders, and revenue, and tells you whether the sample is big enough - "Version B won, lock it in" → it calls
set_ab_test_state(state=winner); "pause it for now" → state=stopped
FAQ
Where do I build version B's page? Build and publish it like any normal page first (in the page editor, or have AI use upsert_page), then select it here.
Can I test three versions at once? The admin and start_ab_test each create only one B version at a time. For more versions, have AI add variants with upsert_funnel_step (with abVariantOfSlug and abWeight) — they'll all show up together on this screen.
Why do I see the same version every time I open it myself? That's intentional — the same visitor always sees the same version, so the numbers stay accurate. Switch browsers or use an incognito window and you might get the other version.