Sub topic 3
Choosing a primary metric
This chapter assumes you know basic email terms (list, campaign, open rate, click rate), can work with percentages and proportions, and can read a short Python snippet. It covers how to pick the one number that decides your test, and why you must pick it before you send.
Why one primary metric
A primary metric is the single measure that decides which variant wins. You choose it before the test starts and write it next to your hypothesis.
Email reports show many numbers at once. If you look at all of them after the send, one will usually favor one variant by chance. Picking the winner from whichever number looks best inflates your false-winner rate. A fixed primary metric removes that choice.
Other numbers still have a role. Secondary metrics give context, and guardrail metrics warn you about harm. For example, a subject line may raise clicks while also raising unsubscribes.
Matching the metric to the hypothesis
The metric must measure the behavior your hypothesis predicts. Work backward from the business goal.
| Metric | Formula | What it tells you | Main weakness |
|---|---|---|---|
| Open rate | opens / delivered | Whether the subject was seen and the message loaded | Distorted by image blocking and Mail Privacy Protection |
| Click rate | unique clicks / delivered | Whether the message prompted action | Low rates mean you need larger samples |
| Click-to-open rate | unique clicks / opens | Quality of content after the open | Inherits the open-rate distortion |
| Conversion rate | purchases or sign-ups / delivered | Business outcome | Rarer still, and needs tracking past the click |
| Unsubscribe rate | unsubscribes / delivered | Harm to the list | Very rare, so best used as a guardrail |
Open rate is the usual first instinct for subject line tests, since the subject line is what readers see before they open. Later chapters explain why it is unreliable. For now, treat it as a weak choice and prefer click rate or a downstream outcome.
Use the same denominator for both variants
Pick a denominator and apply it identically to every variant. Delivered recipients is a safe choice. Using "sent" is also fine if bounce rates match. Avoid dividing by opens unless that ratio is your stated metric. Opens are themselves an outcome of the test, so comparing groups of different sizes that opened introduces bias.
Count unique recipients, not total events. One person clicking five times should count once. Otherwise a few enthusiastic readers can decide the result.
Trade-off: sensitivity versus relevance
A metric close to the change is sensitive. It moves often and gives a result with a smaller sample. A metric close to revenue is relevant but rare.
The sample size you need depends on the base rate. The next snippet, which previews the sample size chapter, shows the cost of a rarer event. It uses a relative lift of 25% in each case.
from math import ceil
from statistics import NormalDist
def sample_size_per_variant(p_base, p_target, alpha=0.05, power=0.8):
z_alpha = NormalDist().inv_cdf(1 - alpha / 2)
z_beta = NormalDist().inv_cdf(power)
variance = p_base * (1 - p_base) + p_target * (1 - p_target)
return ceil((z_alpha + z_beta) ** 2 * variance / (p_target - p_base) ** 2)
print("click 2.0% -> 2.5%:", sample_size_per_variant(0.02, 0.025))
print("conversion 0.2% -> 0.25%:", sample_size_per_variant(0.002, 0.0025))The conversion test needs roughly ten times as many recipients per variant. If your list cannot supply that, click rate is the more practical primary metric.
Write it down
State the metric in one sentence before sending. For example: "Primary metric: unique click rate per delivered recipient. Guardrail: unsubscribe rate must not rise by more than 0.1 percentage points."
Exercise
You are testing two subject lines on a list of 30,000 recipients. Your hypothesis is that a specific benefit in the subject will lead more people to visit the sale page. Name a primary metric, its denominator, and one guardrail.
Show answer
Primary metric: unique click rate, meaning unique recipients who clicked divided by delivered recipients in each variant. Guardrail: unsubscribe rate. Open rate is a poor choice because image blocking and Mail Privacy Protection distort it.
Exercise
A colleague wants conversion rate as the primary metric, but the base rate is 0.2% and each variant has 5,000 recipients. What is the problem, and what would you do?
Show answer
With so few recipients and so rare an event, each variant would see only about 10 conversions, so the test cannot detect a realistic difference. Use click rate as the primary metric, or enlarge the sample and run the test longer, and record conversions as a secondary metric.