Last updated
A guardrail metric is a measure you decide, before an A/B test starts, must not deteriorate while you try to improve the primary metric. It is the constraint on the decision, not a second prize for the variant to win.
A guardrail metric is a measure you decide, before an A/B test starts, must not deteriorate while you try to improve the primary metric. It is the constraint on the decision, not a second prize for the variant to win.
The primary metric matches the hypothesis. A product-page copy test might use add-to-cart rate. That rate can rise because the page attracts cheaper orders, angers people into tickets, or slows the next page down. A guardrail watches one of those failure modes. Typical guardrails on a commerce test are average order value , revenue per visitor, refund rate, and support contacts. A page-speed test uses a conversion guardrail in the other direction. The QA checklist asks for guardrails at setup, checks that the events actually fire, and tells you to watch them in the first two days.
Optimizing a single rate is how teams ship a local win and a business loss. The primary metric was chosen because it moves sooner and is easier to power. The guardrail is closer to money or to harm, and it is easier to ignore when the dashboard's main number is green. Writing the allowed damage in advance stops that argument from being invented after the chart is seen.
Primary metric: add-to-cart rate. Control converts 800 of 10,000 visitors, which is 8.0%. The variant converts 920 of 10,000, which is 9.2%. Average order value, the guardrail, is $62 on the control and $51 on the variant. Revenue per visitor is 0.080 × $62 = $4.96 on the control and 0.092 × $51 = $4.69 on the variant. Add-to-cart is up 15% relative. Revenue per visitor is down about 5%. The checklist's own example of this pattern is a conversion-rate lift with a crashing average order value, and it is not a win. You do not ship. You rewrite the variant so it is not only pulling in smaller baskets.
In the test plan, name one primary metric and one to three guardrails. For each guardrail, write the movement that would block a ship, such as "revenue per visitor down more than 2%" or "error rate up on the variant." Confirm the events fire on both arms before launch. At the end, read the guardrail on the same sample as the primary metric. If the primary wins and the guardrail breaches the limit you wrote down, the result is a failed test, not a partial win.
A common mistake is promoting a guardrail to the primary metric after the primary comes back flat. That is a second look at a metric you did not power. Another is using a sitewide revenue number that includes pages outside the test, so a campaign on another URL looks like the variant hurt the guardrail.
A few that would actually change the decision: usually revenue quality, a downstream step, and a page-experience check such as error rate or a Core Web Vital. A long list of extra metrics becomes another way to peek. You will always find one that moved by chance.
Often it needs more, because the harm you care about is smaller than the lift you are hunting, or because the guardrail event is rarer. If you cannot power a refund-rate guardrail, say so in the plan and use a directional check plus a manual review, instead of pretending a flat refund count proves safety.
That is the clean ship, provided the guardrail was measured on the same visitors and the test ran its planned sample. Flat means you did not see the harm you defined. It does not mean every unmeasured metric is safe.
Visual editor, AI-generated variants with MidaGX, redirect testing, and GA4 integration — free forever in the Mida Sandbox. No credit card required.
Still deciding?
A quick screen share on your actual site — no slides, no generic tour. Just your questions answered.
30 min · no commitment · no sales pressure