Run an A/B Experiment
For Perceny platform admins: create an experiment, start it, read its results, and turn a flag off for everyone at once.
This page is for Perceny's own platform admins. Shop owners and their teams do not see the Experiments screen, are never put in an experiment's results, and need nothing from it.
An experiment shows different visitors different versions of the same page or step, and counts which version leads to more of a goal: a demo asked for, an account created, a shop set up. A feature flag turns something on for some or all visitors without a release.
Find the screenCopy a link to this section
Open Admin → Session Explorer and pick the Experiments tab. It lists every A/B Experiment and every Feature Flag, with where each runs (web app, staff app, branded apps, promotional site) and where it stands: Draft, Running, Stopped, On or Off.
Create an experimentCopy a link to this section
- Select New Experiment.
- Give it a Key: lowercase letters, digits and dashes. The code asks for the experiment by this key, so it cannot change later.
- Write the Description and the Hypothesis: what you expect to change, and why.
- Pick the Goal Event. A visitor converts when they send it after seeing a variant. Add Secondary Events to read next to it.
- Pick the Surfaces it runs on. None means every surface.
- Set the Variants. control is what visitors see today and every experiment has it; add at least one more. Weights are shares: 50 and 50 splits visitors evenly.
- Leave Rollout (%) at 100 to include every visitor, or lower it to try the experiment on fewer people first.
- Select Create. The experiment is saved as a Draft: nobody sees a variant yet.
Plans and Shops narrow it to shops on those plans, or to those shops by slug. A targeted experiment is decided by the API alone, so it only reaches people who are signed in.
Start and stop itCopy a link to this section
On the experiment's page, Start Experiment shows the variants and starts counting. Stop Experiment puts everyone back on control; the results stay readable.
Do not change the variants or the weights of a running experiment: it moves visitors from one variant to another and muddies the results. Stop it and create a new one instead.
The kill switchCopy a link to this section
Turn Off turns a flag or an experiment off for every visitor at once, on every surface, whatever else it says. The apps pick it up within minutes, without an update. Turn On brings it back.
Read the resultsCopy a link to this section
The Results panel appears once an experiment has started. For each variant it shows:
- Visitors: the people shown the variant, each counted once.
- Conversions: those of them who then sent the goal event.
- Conversion Rate, with its 95% credible interval underneath.
- Uplift against control.
- Chance to Be Best: the probability that this variant has the highest rate of all.
- p-value against control, marked significant below 0.05.
- Sessions: opens the Session Explorer's list narrowed to that variant's sessions, to watch what visitors did.
Two warnings say when not to trust the numbers yet. Too early to read appears until each variant has 100 visitors and the experiment has 10 conversions in all. Sample ratio mismatch appears when visitors are not reaching the variants in the shares you set: something is wrong with how a variant is shown or counted, so fix that before reading anything else.
Who is countedCopy a link to this section
- Each visitor always gets the same variant. Before signing in that is decided by an anonymous id kept on their device; once signed in, by their account. A visitor who signs up may land in another variant after, so each experiment is counted on one side of sign-in.
- Perceny's own admins and team are never counted: they always see control.
- Nothing sent for an experiment names a person: only an id, the experiment, the variant and the event.
Shipped experimentsCopy a link to this section
Three experiments come with Perceny, as drafts:
- promo-hero-cta: the home page's demo button on the promotional site, "Get a Demo" against "Get a Free Demo". Goal: a demo asked for.
- web-sign-up-copy: the sign-up page's heading on the web app. Goal: an account created.
- staff-onboarding-prompt: the staff app's Get Started card, steps done against steps left. Goal: setup completed.