# How to Goal Setting for A/B Tests: A Practical Guide

_2026-11-27_

The test has been live for eighteen days. Checkout conversion has crept up from its 3.0% baseline, and four people are now arguing about whether to ship it. One calls the lift noise, one says the sample is already large enough, one wants another week, and the person who owns the page wants to know why nobody wrote down what success looked like before launch.

That argument isn't a statistics problem. It's a goal problem. "Improve the checkout experience" can't be scored when the test ends, so the decision defaults to whoever is most senior or most tired. A goal worth writing is a decision system: one primary metric, a target sized against your real traffic, an if-then response for a flat result, and a review rhythm that catches drift while the test is still running.

Getting that right is most of the work in how to goal setting for A/B tests. The platform will happily split your traffic either way. The goal is what decides whether the result becomes an action or another meeting.

## How to Write Your Experiment Goal in Six Steps

Tests that end in an argument were usually lost at the goal, not the variant. The change goes live, traffic splits, and the result arrives as a number nobody agreed how to read.

A usable goal has **five parts**: the business outcome in one sentence, a single primary metric defined precisely enough that two people compute the same figure, a target sized against your traffic, a timeframe with a minimum runtime, and one or two guardrails. The guardrails do more work than they look like they do. A win on the primary metric can hide damage elsewhere, and a test that lifts checkout conversion while pushing average order value down has moved money around rather than made any. Guardrails are how you catch that before you ship it to every visitor.

The writing is the easy half. What separates teams that hit their objectives from teams that miss them is rarely the wording. It is whether the objective comes with monitoring, feedback, and one person accountable for the outcome. Strip away any of those and the goal becomes a sentence in a document. Keep all three and it becomes a cycle that corrects itself while the work is still running. Experiments behave exactly the same way.

Here are the six steps, in the order I'd run them.

1. **Write the business outcome in one sentence.** "More paid orders from mobile visitors" beats "improve mobile UX" because it names the money and the audience. The common slip is writing the change you intend to make ("test a new hero") instead of the result you want to move.

2. **Choose one primary metric and define it exactly.** Which event counts, which audience counts (all sessions or new visitors only), and whether repeat purchases are included. Two people can agree on the words "conversion rate" and still be measuring different things, and that disagreement surfaces at the worst possible moment, with traffic already split and a decision overdue.

3. **Pull a baseline from the last four to eight weeks, excluding any sale or campaign.** Record the date range beside the number. A baseline taken during a promotion will make every subsequent test look like a decline, and you will spend the first review meeting arguing about the reference point instead of the result.

4. **Set the target as a relative lift you would be willing to ship.** Then check it against the sizing table in the next section before you commit. A target below the smallest lift worth shipping isn't a goal, it's a rounding error with a launch date. If the sample arithmetic says the test needs more traffic than your page gets in a quarter, shrink the ambition or pick a higher-traffic page, but decide that now rather than in week nine.

5. **Set the timeframe and minimum runtime.** At least one full weekly cycle, so weekday and weekend traffic both count. Stop when you hit the sample size, not when the number looks flattering on a Tuesday afternoon.

6. **Name one or two guardrail metrics and the level at which each one stops the test.** Write the stopping level as a number. "Watch refunds" is not a guardrail; "pause if refunds exceed their baseline in either variant" is.

A goal is only half of the statement you need. The other half is the hypothesis it tests, and the wording conventions in this guide to [stating a hypothesis](https://www.otterab.com/blog/how-to-state-a-hypothesis) keep the two attached to the same test note.

**Primary metric and guardrail by outcome type**

| Outcome | Primary metric | Guardrail metric | Example goal |
|---|---|---|---|
| Conversion | Conversion rate (purchases or sign-ups divided by sessions) | Average order value or bounce rate | Raise checkout conversion from 3.0% to 3.3% in four weeks |
| Revenue | Revenue per visitor | Conversion rate and refund rate | Raise revenue per visitor by 5% without lowering conversion |
| User adoption | Share of new accounts completing the feature within 7 days | Support tickets per 100 new accounts | Lift the share of new accounts completing the feature within 7 days without raising support tickets |

Pick the row that matches the money. For visual-editor or split URL tests, set the revenue or purchases goal as the primary goal when money is the outcome, and preview each variant on the store before launch. A test that looks right in the editor can still break a template in the live theme, and a broken variant contaminates every number downstream of it.

> **Worked example:** the business outcome is more paid orders from mobile visitors. The primary metric is mobile checkout conversion, defined as completed purchases divided by mobile sessions, first-time and returning visitors both included, baseline taken from the eight weeks to 30 September and excluding the September promotion. The target is a relative lift from 3.0% to 3.3%, and the sizing check says that lift needs a per-variant sample this store can reach within four weeks at its current mobile traffic. The runtime is four weeks, four full weekly cycles. The guardrails are average order value, which must not fall below its own eight-week baseline, and refund rate, which pauses the test if it rises above baseline in either variant. The if-then line is written and dated in the test notes, and the review is booked for day fourteen.

Notice what the example does that most drafts skip. Every number has a source range next to it, every guardrail has a tripwire expressed as a comparison against baseline, and the review date exists before the test does. That is what turns a goal into a decision system rather than a hope.

Compare that against your own draft. If your version can't answer "did we win" without a conversation, it needs another pass.

## Sizing Targets So a Goal Can Be Reached

A goal that ignores sample size is a guess with a deadline. The table below shows roughly how many visitors you need **per variant** for a two-sided test at 95% confidence and 80% power, using a standard two-proportion calculation.

**Approximate visitors per variant by baseline and lift**

| Baseline conversion | Relative lift | What it means in practice |
|---|---|---|
| 3% | 5% | **About 208,000 visitors per variant.** Too slow for most stores; only very high traffic makes this workable |
| 3% | 10% | **About a quarter of the row above.** Workable for a high-traffic store over several weeks |
| 10% | 10% | **About 14,700 visitors per variant.** Common for lead-form or sign-up tests on moderate traffic |
| 10% | 20% | **About a quarter of the row above.** Reachable within a few weeks on moderate traffic |

Read the rows from the bottom up and the arithmetic becomes a budget. Chasing a 20% relative lift from a 10% baseline asks for a few thousand visitors per variant. Chasing a 5% relative lift from a 3% baseline asks for more than two hundred thousand. The smaller the lift you chase, the longer the test runs, and the more likely something outside your control changes mid-flight. That is the [minimum detectable effect](https://www.otterab.com/blog/minimum-detectable-effect) calculation run backwards from the number you want to prove.

Turning visitors into calendar days is straightforward. Divide the per-variant figure by the daily eligible visitors who reach the tested page, multiply by the number of variants, then round up to whole weeks. If the answer lands just short of a full weekly cycle, run the extra week rather than trimming the sample.

If you're unsure which denominator to use for your baseline, [SimpleLab Digital's conversion rate breakdown](https://www.simplelabdigital.com/blog/what-is-a-conversion-rate-and-how-to-calculate-it) sets out the different conversion rate calculations and what each one is measuring.

Three edge cases come up constantly. **Low-traffic stores** should test bigger changes, or move the primary goal to a higher-volume step such as add to cart, rather than waiting eleven weeks for a 5% answer. **Seasonal pages** need whole weeks and a baseline from outside the peak, or a holiday spike will be read as a treatment effect. And a target below the smallest lift worth shipping isn't worth running at all.

> **The rule:** set the target at the smallest lift that would change a decision, not the lift you hope to see.

## Planning the Response When Results Fall Short

![A woman sketching a UX strategy for optimizing checkout conversion rates based on specific session data metrics.](https://cdnimg.co/3716ee4f-bd1a-44a8-ac85-c2df5af21725/c08aee23-beb9-4a34-81a5-f39958cf7d6d/how-to-goal-setting-ux-strategy.jpg)

Two weeks in, the checkout test is flat. The traffic split is still running, the team has moved on to other work, and nobody can say what happens next. Three months later the experiment gets archived as inconclusive, and the only thing it produced was a slower checkout for half your visitors.

A goal tells you what winning looks like. The response plan tells you what happens when winning doesn't show up. Write it before launch. For a checkout test it reads like this: **if checkout conversion stays below 3% after 2,000 eligible sessions, review device-level friction and launch a focused mobile variant.**

A usable plan has four parts.

- **A measurable trigger:** a specific metric at a specific level, not a feeling that things look flat.
- **A sample or review period:** the number of sessions or the date that has to pass first, because decision data from GA4 goals can lag real-time by up to 24 hours and early reads mislead.
- **One named owner:** a person, not a team, who runs the review and records the outcome.
- **A pre-agreed decision rule:** what happens on a win, a loss and a flat result, written down before anyone has a stake in the outcome.

Planning is not a guarantee. A UK cluster randomised trial across 28 workplaces and 225 staff, indexed on [PubMed](https://pubmed.ncbi.nlm.nih.gov/40238435/), tested mental contrasting plus implementation intentions, where participants named the benefits of a goal, identified obstacles and planned responses. After four weeks the intervention produced no substantive improvement in self-reported progress: a mean difference of -0.19 on a 1 to 7 scale, with a 95% credible interval of -1.08 to 0.71.

Read that as a warning about relying on the plan alone, not a reason to skip it. The plan earns its keep when someone reviews it, records the blocker and acts. That means the review rhythm matters as much as the wording: put the review date in the calendar at launch, and treat a missed review the same way you would treat a broken tracking event.

<iframe width="100%" style="aspect-ratio: 16 / 9;" src="https://www.youtube.com/watch?v=CWF9Rq8KW8Y" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

Pair every outcome goal with a learning goal, such as finding which headline or CTA reduces abandonment. A flat result then still produces evidence you can act on, and the test pays for itself in knowledge rather than in a lift. The same trigger, owner and response structure works outside testing too: teams weighing paid acquisition can [compare lead generation channels and KPIs](https://leadprinter.ai/lead-generation-campaigns/) using the same discipline of setting a threshold in advance and deciding what a miss will trigger before budget is committed.

Two practical limits keep the plan usable. First, cap the responses at one or two. A plan with five branches never gets executed, because the review meeting turns into a debate about which branch applies. Second, define "flat" as a range, not a vibe. If the lift sits between minus 1% and plus 2% at the agreed sample, that is flat, and the pre-written response kicks in without negotiation.

Never escalate a win that came from a small sample, and never extend a flat test "just another week" without a new hypothesis. When a result lands in the grey zone, this guide to [inconclusive test results](https://www.otterab.com/blog/inconclusive-test-results) covers what to do next.

> Write the if-then line before the variant goes live, and keep it in the test notes where the team will actually see it.

## Common Goal Mistakes and How to Fix Them

Goals rarely break at the writing stage. They break on day four, when the early numbers look disappointing and someone suggests moving the target "just for this test".

**Common goal mistakes, causes and fixes**

| Mistake | Why it happens | Fix |
|---|---|---|
| Goal measures clicks, not purchases | Clicks are quicker to count and look like progress | Make the purchase or revenue event the primary goal and move clicks to a secondary goal |
| Target moved after launch | Early numbers look weak and the team wants a win | Write the decision rule in advance and change it only with a new hypothesis in a new test |
| Decision made the day results appear | Analytics data can lag live activity | Wait for the agreed sample size and check that the data is fresh before deciding |
| Baseline taken during a sale | Promotion inflates the starting rate | Use a clean baseline window and mark the campaign dates on the results chart |
| Too many goals compete | Every stakeholder wants their metric to win | Keep one primary goal and at most two guardrails |

The gap is usually the review rather than the wording. In a survey of 2,003 UK employees reported by [People Management](https://www.peoplemanagement.co.uk/article/1963736/third-employees-not-given-goals-reviews-managers-survey-finds), 38% said their manager did not regularly set targets and 34% said their progression was not regularly reviewed. A sound goal drifts when nobody schedules the check-in that would catch the drift.

So build a rhythm. A short review every fortnight, with blockers and corrections recorded on the same page as the goal, beats a perfect goal document that nobody opens. Revise a target only when the assumption behind it changes: a seasonal shift, a price change, a new traffic source. Write the reason beside the change so the revision isn't read as failure.

A goal changed mid-test is a new test. Log it that way, or the result is contaminated and you'll spend the next quarter arguing about which version of the target applied.

> **Three habits worth keeping:** every goal in one shared place, results compared against the baseline date rather than last month, and the reason written beside every change.

## Confirm and Launch Your Goal in Otter A/B

The goal is ready when someone who didn't write it could read it and say whether the test has won, lost or needs more time. That's the whole gate. If a colleague needs a conversation to interpret it, the goal isn't finished.

Three checks before launch:

- **The primary metric matches one of the goal types you can track**, not a proxy you'll have to reconstruct later.
- **The target has passed the sizing check**, so the runtime is realistic for your traffic.
- **The if-then line and the review date are saved in the test notes**, where the team will see them.

Then set it up. Name the test, set its target URL, define the variants and attach the goals, remembering that a draft experiment needs at least two variants and at least one goal before it can start. Otter A/B supports six goal types: **pageview, click, custom event, revenue, DataLayer event and GA4 event**, so the primary metric you settled on in step two maps directly to one of them.

For visual-editor or split URL tests, choose the revenue or purchases goal as primary when money is the outcome, and preview each variant on the store before launch.

One reporting caveat that catches people out: decision data from GA4 goals can lag real-time by up to 24 hours because of GA4's sampling and processing delay. Check results at the agreed review point rather than refreshing hourly, and don't call a winner from a number that's still catching up.

> The goal is ready when someone who didn't write it could say whether the test has won, lost or needs more time.

---

Otter A/B is built for exactly this workflow: define a primary goal from pageviews, clicks, custom events, revenue, DataLayer or GA4 events, attach guardrails, and let the platform tell you when a result is decision-ready instead of leaving the call to the loudest voice in the room. If your tests keep ending in an argument rather than a decision, [visit Otter A/B](https://www.otterab.com) and set up your first experiment with a goal you can score.

---

Canonical page: https://www.otterab.com/blog/how-to-goal-setting
