Help centerMarketing & A/B tests
Landing page A/B tests
Compare 2 to 4 landing pages on the same address of the domain, with goal-based results, automatic stop and the option to send more traffic to the winner.
Build the landing page wherever you like (Webflow, Framer, WordPress, Lovable…) and test versions of it on the same address of the customer's domain. Each visitor always sees the same version, the address doesn't change and the dashboard shows which one converts better. To test variations of your app's own pages, see TailorKit A/B tests.
How it works
The Tenanci edge picks a version for each visitor and fetches that landing page on the same address, without redirecting. The URL, cookies and ad UTMs stay those of the customer's domain.
- The assignment is kept in a cookie on the domain itself for 1 year: returning visitors see the same version.
- Bots (Google and other search engines) always see the first landing page, the original (A), and aren't counted.
- The domain's tags, pixels, goals and TailorKit keep working on every version.
- If the domain has no HTML cache configured, landing page HTML is cached for 60 seconds at the edge.
There are two ways to run it:
| Option | What happens |
|---|---|
| On the whole domain | the entire domain belongs to the test; ideal for a campaign-only subdomain (e.g. offer.yoursite.com). All files come from the chosen landing page. |
| On one address | only that address (e.g. /lp) becomes the test, along with the files that page loads; the rest of the site stays the same. |
Create a test
- Open the domain and click A/B tests.
- Click New landing page test.
- Give it a Test name (e.g. "Black Friday offer").
- Under Where the test runs, choose On the whole domain or On one address and enter the Address.
- Under Landing pages, paste the Landing page URL of each version. The first one is the original (A); use Add landing page to get up to 4 (A, B, C, D). Give each a Name if you like.
- Set the % of visitors for each version. The total must be 100%.
- Click Check on each URL (see Page check).
- Under Goal (what counts as a conversion), pick one of the Automatic (no code) goals (Formulário enviado / form submitted, WhatsApp, Telefone / phone) or one of Your goals (see Goals and events).
- Optionally tick Send more traffic to the winner and Stop automatically when there's a safe winner (and email me) (ticked by default).
- Click Create test. The test starts as Draft: open it and click Start when you're ready.
Page check
The Check button opens the landing page the way the edge will and shows Page found (with its title) or a warning:
- the page redirects to another domain (use that address directly);
- the page returned an error, or the address isn't an HTML page;
- the page uses an absolute
<base href>(links may leave your domain); - the page checks its own address in JavaScript (test before starting);
- the landing page's domain doesn't exist or couldn't be opened.
Statuses and actions
| Status | What the visitor sees | Actions |
|---|---|---|
| Draft | the regular site (the test isn't live yet) | Edit, Start, Delete |
| Running | the assigned version | Edit, Pause, End, Archive |
| Paused | everyone sees the original (A) | Edit, Resume, End, Archive |
| Ended | everyone sees the chosen landing page, on the same address | Archive |
| Archived | the address shows your site again; the result stays in the dashboard | Delete |
- Start requires a goal.
- End asks for the Landing page to keep (the winner is preselected when there is one).
- While running, you can only change the name, goal and options. To swap landing pages or the address, Pause first; even when paused, the number of landing pages can't change.
- Two live tests can't use the same address, and a test On the whole domain must be alone on the domain.
- Delete removes the test and its configuration; the data stays in analytics.
Read the result
Each version shows Visitors, Conversions, Conversion rate, vs. original (relative difference in rate) and Chance to beat the original. A conversion is a visitor who completed the goal after seeing the landing page. Numbers refresh every minute while the test runs.
Below them, the verdict:
- "Still collecting data": each version needs at least 100 visitors and 10 conversions;
- "… is winning safely": one version has a 95% or higher chance of beating the original (or the original beats all of them with that confidence);
- "No clear winner so far", with an estimate of days to decide at the current difference.
You'll also see Conversion per day, By device, By visit source and Page engagement (Time on page (median) and Load time (LCP, p75)).
Stop automatically
With this option on, Tenanci checks the test every hour. When there's a safe winner (by the criteria above), the test ends with it and the organization's owners and admins get an email with the result.
Send more traffic to the winner
In this mode, traffic is redistributed every hour based on each landing page's chance of being the best:
- it only kicks in once every version has at least 50 visitors;
- each version keeps at least 10% of the traffic, so it keeps learning;
- each round moves halfway toward the target, with no sudden jumps.
It spends less traffic on the worst version, and the result is still valid. The dashboard shows the current percentages ("Automatic traffic") and when they were last adjusted.
Through the API
Create the test with POST /domains/:id/split-tests and start it with
POST /domains/:id/split-tests/:testId/:action (start,
pause, resume, end with winner, archive). Without scope, the test runs on one address (path,
default /).
curl -X POST https://api.tenanci.com/v2/domains/dom_4h7n1q/split-tests \
-H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"name": "Implants: headline",
"scope": "path",
"path": "/implants",
"goal": "WhatsApp",
"mode": "fixed",
"autoStop": true,
"variants": [
{ "name": "Implants in 1 day", "url": "https://odontosul.webflow.io/implants-a", "weight": 50 },
{ "name": "Smile again", "url": "https://odontosul.webflow.io/implants-b", "weight": 50 }
]
}'
# → { "id": "lp-implants-headline-x7k2", "status": "draft", ... }
curl -X POST https://api.tenanci.com/v2/domains/dom_4h7n1q/split-tests/lp-implants-headline-x7k2/start \
-H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx"const test = await tenanci.splitTests.create("dom_4h7n1q", {
name: "Implants: headline",
scope: "path",
path: "/implants",
goal: "WhatsApp",
variants: [
{ name: "Implants in 1 day", url: "https://odontosul.webflow.io/implants-a" },
{ name: "Smile again", url: "https://odontosul.webflow.io/implants-b" },
],
});
await tenanci.splitTests.action("dom_4h7n1q", test.id as string, "start");Without weight, traffic is split evenly. Results come from
GET /domains/:id/analytics/experiments/:exp with goal and
from (the test's start). The test list carries runningLimit (tests running in the organization and the plan cap, null
when uncapped). Starting beyond the plan limit returns 409 split_limit; two tests on the same address,
409 split_overlap.

