> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abtestly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an experiment

> The editor is one screen with seven sections plus an optional schedule. Fill what you care about and leave the rest at defaults.

Every experiment lives on a single site. Open the site and click
**New experiment** on the Experiments tab.

![Experiment editor overview](https://mintcdn.com/abtestly/TJFfWsOMn4uzK6iy/images/experiment-editor.png?fit=max\&auto=format\&n=TJFfWsOMn4uzK6iy\&q=85\&s=2e533fee8b3cabc0ea9b545e2054c098)

The editor's checklist. Sections turn green as you fill them in.

## The sections

**1. Name and basics**

A human name for the test and the URL you want to run it on. The URL
can be any page on the site, the actual page-matching happens under
**Where it runs**; this field is a shortcut for the common case of
"run it on this exact URL".

This step also carries the **test type**: **A/B test** (variations
change the page with JS and CSS) or **Split URL** (variations send
visitors to another page). It is fixed once the test is created, so
switching later means cloning.

**2. Traffic and split**

Two numbers.

* **Allocation**, what percent of matching visitors enter the test.
  100 % by default. Lower this when you want a canary.
* **Split**, how entered visitors divide across variants. 50/50 with
  two variants; ABTestly rebalances to even weights automatically as
  you add or remove variants (uncheck **Auto-even** to lock a
  custom split).

Weights are stored as basis points internally (10000 = 100 %). You
just see percentages.

**3. Where it runs**

URL rules that decide which pages qualify. Pick a saved
[Location](https://docs.abtestly.com/targeting/saved-lists.md) or write rules inline. See
[URL rules](https://docs.abtestly.com/targeting/url-rules.md) for the operator list and the
case-insensitive default.

**4. Who sees it**

Visitor rules. Country, device, source, cookie value, and a few dozen
more. Leave empty to include everyone. See
[Audiences](https://docs.abtestly.com/targeting/audiences.md).

**5. Activation**

When the exposure fires. On load, on click, when an element is
visible, or manual. See
[Activation triggers](https://docs.abtestly.com/targeting/activation-triggers.md).

**6. Variations**

The Original (baseline) and one or more variants. In an A/B test each
variant is a piece of JavaScript, CSS, or both, applied to matching
pages. In a Split URL test each variant carries a redirect URL
instead, and the code editors are not offered. See
[Variations](https://docs.abtestly.com/build/variations.md).

**7. What to measure**

One primary goal, plus any number of guardrails. The two system
goals attach automatically as guardrails. See
[Goals overview](https://docs.abtestly.com/goals/overview.md).

**8. Schedule**

Optional. Start on a date, stop on a date, cap the run length. See
[Schedule](https://docs.abtestly.com/build/schedule.md).

## Saving

The editor is an explicit save form: nothing you type is sent until you
click **Save changes**. The one exception is variation code, which is
mirrored into your browser as you type so a crash does not lose it. If
the tab crashes, reopen the code editor and the recovery banner offers
your unsaved work back.

If you close the tab while a save is actually in progress, the browser
asks you to confirm first. See
[Autosave and drafts](https://docs.abtestly.com/build/autosave.md).

> [!NOTE]
>
> **Save changes** never applies a schedule. Use **Schedule for later**
> for that. See [Schedule](https://docs.abtestly.com/build/schedule.md).

## The publish gate

The **Start now** and **Schedule for later** buttons require the
**Publish experiments** permission on this site. If they are grayed out
for you, you have the Dev role but no publish key, ask an admin to
turn it on for the site under
[Team & access](https://docs.abtestly.com/team/members-and-roles.md).

## Save without launching

**Save changes** stores the draft without going live. You can share the
link with a stakeholder for review. When they approve, come back and
click Start.

## Section by section, in practice

For a first pass, most sections can be left at their default. The
minimum viable test:

* Name it.
* Confirm the URL under Name and basics.
* Add one variant under Variations.
* Under What to measure, pick a primary goal.
* **Start now**.

Everything else defaults to the sane thing (all pages, all visitors,
On load, 50/50 split, no schedule). Once you have one running, iterate.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.