Experiment resources
1. Define the goal
Create.content/data/goals/request-demo/_index.json:
2. Define the experiment
Create.content/data/experiments/home-hero/_index.json:
abandabnexperiments require at least two arms and exactly one control;- allocation uses basis points and must total
10000; scope.routescontains ACI page IDs, not public URL paths;allocationVersionandsaltkeep randomized assignment stable; do not change them after an experiment starts; and- higher priority resolves conflicts when experiment scopes overlap.
xt kind supports rule-based experience testing. Use it when arms have explicit request rules instead of randomized allocation.
3. Add a variant overlay
The control uses the base page. Create an overlay only for the variant at.content/overlays/experiment/home-hero/experimentArm/outcome-led/pages/home/_index.json:
4. Compile and preview both arms
5. Start the experiment
After the experiment and goal are approved onmain, use the experiment API to transition the draft to running. Start with a dry run:
"dryRun": false after reviewing the response. Then promote the experiment, goal, and overlay paths required for the run to live. Stage a release, review it, and activate it.
The supported operational transitions are:
6. Read the experiment report
- exposure volume and data quality;
- whether the sample is sufficient;
- the control and variant conversion rates;
- confidence information for the primary goal; and
- whether consent or collection changes affected the measurement window.
7. Pause or promote
Pause through the status endpoint when traffic should stop entering the experiment. Existing release history remains available for investigation. When an arm has been approved as the winner, dry-run winner promotion:"dryRun": false only after that plan is correct.
Winner promotion requires write, promote, and publish permissions. It merges the selected arm into the base content, marks the experiment promoted, advances the affected paths to live, and publishes the resulting release as one operation.
Common problems
Compilation says the allocation is invalid
Compilation says the allocation is invalid
Confirm there is exactly one control, at least one variant, and all
allocationBasisPoints values total 10000.A preview arm looks identical to control
A preview arm looks identical to control
Confirm the overlay path contains the exact experiment and arm IDs, and that its block IDs exist in the base page. A control arm normally has no overlay.
The experiment cannot start
The experiment cannot start
Confirm its scoped page or fragment exists, every arm compiles, the goal resolves, and both experiment dimensions appear in
overlayResolution.The report has no conversions
The report has no conversions
Confirm the goal’s canonical event name matches collection, the interaction occurs after assignment, and the relevant consent and collection path is working.
Next: Preview, Publish, and Roll Back →