Stop Conditions
Set visitor or conversion caps on any experiment, or winner auto-stop on a manual split.
Browse docs
Manual splits can stop on a visitor cap, conversion cap, or winner. Multi-armed bandits can use the two caps but do not use winner auto-stop.
Stop conditions are the hands-off way to manage a running test. Set the rules upfront, launch, and Otter auto-completes the test when any rule trips. The test transitions to the same completed state you'd get from clicking Complete manually — including the same ended-at timestamp and the same frozen-results behavior.
You don't have to use stop conditions. A test without any configured stop conditions runs until you complete it manually or hit a scheduled end date. Most teams set at least one — usually a visitor cap — to keep tests from running longer than they need to. Every condition here ends a test; none of them holds a test open until it reaches a sample size.
Multi-armed bandits do not use winner auto-stop. Their new-visitor allocation keeps adapting as results arrive. Visitor and conversion caps remain available when you need a firm operational limit.
Available conditions
Visitor limit
visitor_limitStop when total unique human visitors assigned to the test reaches this number.
Counts unique humans (bots, impersonation sessions, and excluded-IP traffic are excluded). The count is total across all variants, not per-variant.
Conversion limit
conversion_limitStop when total unique converters on the primary goal reaches this number.
Counts visitors who converted at least once on the primary goal. Multiple conversions from the same visitor count as one. Secondary goals don't affect this counter.
Auto-stop on winner (manual splits only)
auto_stop_on_winnerStop when the primary goal has a variant in 'winner' status, against the test's effective confidence threshold.
Uses the same decision logic as the results page — Bayesian or frequentist with the configured confidence level, Bonferroni-adjusted for multivariate frequentist tests. Winner status additionally requires at least 30 visitors on both the control and the winning variant, so a test cannot auto-stop on a thin sample however high the score reads.
Evaluation rules
- Checked every 5 minutes via a background job. Expect a small lag — up to one batch interval of traffic — between hitting a limit and the test transitioning to completed.
- First-to-trip wins. Internally the checker evaluates in this order: visitor limit, then conversion limit, then decision threshold. As soon as one is satisfied, the test stops; it doesn't wait for the others.
- Zero or blank disables a condition. Only positive integers count. Leave a field blank to skip the condition entirely.
- The reason is recorded. The test's activity log captures whether it stopped on visitor limit, conversion limit, or decision threshold so future-you knows why it ended when it did.
- Winner status has a 30-visitor floor per arm. On a manual split, the decision-threshold condition can only trip once both the control and the winning variant have at least 30 visitors on the primary goal. Until then the variant stays at Collecting data and the test keeps running, even when the score is already past your threshold — see Reading Results.
- Editing conditions means pausing first. Stop conditions can't be edited while a test is running. Pause the test, click Edit, change the conditions, and resume — collected data is kept. Only draft and paused tests are editable.
How to pick good stop conditions
A visitor limit is a cap, not a floor. It ends the test when the count is reached, so it cannot stop a manual split's winner auto-stop from calling a thin sample — adding one only makes the test stop sooner. The 30-visitor-per-arm floor is the only automatic guard. Past that, stopping a frequentist manual split on power means watching the wizard's sample-size estimate and completing the test yourself.
Don't make limits too tight on low-traffic tests. A 1000-visitor cap on a page that gets 30 visitors per day means a long-running test. For a frequentist manual split, use the wizard's sample-size advisor to ground the cap. For Bayesian tests, choose an operational cap you can justify.
Re-think conditions before resuming. If a test auto-stopped and you resume it, the same conditions will be re-evaluated against the same traffic that tripped them. Usually you want to raise the cap or remove the condition before resuming, otherwise you'll just re-trigger it.
Bayesian manual splits handle peeking better. If you're uncomfortable with the auto-stop-on-winner risk for frequentist, run the manual split in Bayesian mode. Bandits already use Bayesian reporting and do not expose winner auto-stop.
Frequently asked questions
Quick answers to the questions teams ask most about this part of Otter.