DEV Community

Gorilla Vibe
Gorilla Vibe

Posted on

Knowing When to Stop an A/B Test

Developers are often the people who wire up an experiment, so they are also the people asked, a few days later, "Can we call it yet?" The honest answer depends on a decision made before the first visitor saw either version. Make that decision in advance and the question answers itself.

The problem with peeking

Results swing wildly early on. A variant can look like a clear winner on the first morning and a loser by the weekend, simply because a handful of visitors behaved unusually. If you check every day and stop the moment the chart looks good, you will keep stopping on lucky streaks. The test did not find a better page. Your impatience found a flattering moment.

Write the stop rule first

Before launch, put the rule in the ticket or the repository, next to the code that serves the variants. Something like this is enough:

test: enquiry-button-wording
hypothesis: a plainer verb gets more completed forms
primary_metric: submitted_enquiry
run_for: whole business cycles only
stop_when: planned sample is reached
guardrails: form_error_rate, page_errors
decision_owner: a named person, not "the team"
Enter fullscreen mode Exit fullscreen mode

Notice what is missing: any clause that says "stop when it looks significant".

Respect the calendar

Visitor behaviour in the UAE follows weekly rhythms, and trade periods, holidays and salary cycles can shift it further. A test that covers only part of a cycle compares unlike days. Run in whole cycles so each variant sees the same mix of weekdays and weekends.

Watch for novelty and for breakage

A new design often attracts extra clicks simply because it is new, and that fades. If an early lift shrinks steadily, novelty is a likely cause. Separately, keep an eye on the guardrails. A variant that raises submissions while form errors spike on one browser is a bug report, not a win.

When no winner emerges

A flat result is still a result. It tells you the change did not matter much, which frees you to choose on other grounds such as maintenance cost or brand fit. Record it, ship the simpler version and move on to a bolder idea.

Experiments are easier to trust when strategy, tracking and design are planned together. If that is the part you want help with, the conversion rate optimisation team at Gorilla Vibe, a marketing agency in Dubai, works with businesses across the UAE and the GCC.

Written with AI assistance for the Gorilla Vibe marketing team.

Top comments (0)