A/B testing with experiments
Updated December 1, 2026
Experiments let you show a changed version of a page to some visitors and the original to others, then measure which converts better. Lytical applies the changes through the tracking code, so you don't need a developer to set up a test.
Turn on A/B testing
A/B testing is off by default. To turn it on for a website:
- Go to Settings → Website Settings.
- Under Feature Toggles, turn on A/B Testing.
Once it's on, the tracking code applies running experiments to your visitors.
Create an experiment
- Go to Conversions → Experiments and click Create New Experiment.
- Under Basic Information, enter:
- Experiment Name
- Hypothesis, for example "A specific benefit in the headline will increase demo requests"
- Target URL: the page or pages the experiment runs on
- Under Variants, Control (Original) shows the page unchanged. Set up Variant B with the changes you want to test (see below).
- Choose a Success Goal: Click on Element, Visit Page, Custom Event, or one of your event definitions.
- Under Settings, choose:
- Traffic Percentage: how many visitors take part (the rest see the original page and aren't counted)
- Min Sample Size: visitors needed per variant before a winner can be declared
- Target Confidence: how sure the result must be, from 50% to 99% (95% is standard)
- Auto-stop: end the experiment automatically once there's a winner
- Save, then start the experiment.
Each visitor sees the same variant on every visit, so the test stays fair.
What a variant can change
For your visitors' security, variants are limited to safe, declarative changes on elements you pick with a CSS selector:
- Replace the text of an element
- Change a link (href) or image (src) to another page or image on your own site
- Change background color, text color, font size, display or visibility
- Add or remove a CSS class
- Hide or show an element
Variants can't insert HTML or scripts, or load anything from another website. This means nobody, including someone who got into your Lytical account, can use an experiment to put harmful code on your site.
Reading the results
For each variant, the experiment page shows:
- Visitors and Conversion Rate
- Lift vs Control: how much better or worse the variant converts
- Confidence: how likely it is that the difference is real and not chance
Wait until both variants reach the minimum sample size and your target confidence before deciding. Stopping a test early because one variant looks ahead is the most common way to pick the wrong winner.
Statuses
| Status | Meaning |
|---|---|
| Draft | Set up but not running |
| Running | Visitors are being split between variants |
| Paused | Temporarily stopped. Everyone sees the original page |
| Completed | Finished. Results are kept |
| Winner shipped | You've made the winning variant permanent on your site |
When you have a winner, make the change on your website itself, then mark the experiment as shipped.
Let Quincy help
Quincy can suggest experiments based on your data ("What should I A/B test on the pricing page?"), create them for you, and explain results. Add the A/B Test Results Alerts channel to get notified when an experiment reaches a result.
Results in Analytics
Analytics → A/B Tests summarizes every experiment's results in one place.
Was this article helpful?
Thanks for letting us know.
Related articles
Still stuck?
Ask Quincy in the app, or email support@lytical.ai.