Sub topic 14
Testing and holdouts without relying on opens
This chapter assumes you know how the funnel metrics are defined (delivered, unique clicks, unsubscribes, complaints). It also assumes you have read why open rate is unreliable. Here you will design tests that still give valid answers when opens are noisy.
Why opens break testing
An A/B test compares two versions of a message and picks a winner on a metric. The metric must measure what the recipient did, and it must be measured the same way in both arms. Opens fail on both counts.
- Apple Mail Privacy Protection (MPP) prefetches the tracking pixel for many recipients whether or not they read the message. Those opens are real requests but not human behavior.
- Image blocking hides opens from people who did read the message.
- Security scanners may load images and links before the recipient sees the message.
If the share of MPP recipients differs between arms, the open rate differs for reasons unrelated to your change. With random assignment this imbalance is small on large lists. It is still noise, and it dilutes any real effect, because a large share of "opens" would have happened regardless of the subject line.
Subject-line tests are the usual casualty. The standard design is "send version A and B to 10% each, wait, send the winner on opens." With MPP, the winner is picked from a metric that barely reflects reading. The result may be a coin flip that looks like a decision.
Choose a metric downstream of the open
Move the success metric to an event that requires a human action and that you can attribute to the message.
| Metric | Strength | Weakness |
|---|---|---|
| Unique click rate (per delivered) | Needs an action. Easy to measure. | Scanner clicks can inflate it. Low counts on small lists. |
| Conversion rate (purchase, signup, reply) | Close to business value. | Needs attribution. Fewer events, so wider uncertainty. |
| Revenue per delivered message | Captures value directly. | Heavy-tailed. A few large orders can dominate. |
| Unsubscribe and complaint rate | Detects harm. | Rare events, so it needs large samples. |
Pick one primary metric before the test starts. Treat the others as guardrails. A subject line that raises clicks but doubles the complaint rate has not won.
A subject-line test needs special care. Subject lines mostly influence whether the message is opened, and you can no longer observe that reliably. You can still measure the downstream effect: clicks or conversions per delivered message. This captures the effect of the subject line on the whole chain, which is what you wanted anyway.
Design the A/B test
Randomize and fix the unit
Assign each recipient, not each send event, to one arm. Use a stable hash so that a recipient lands in the same arm if the test is rerun or the list is re-exported.
import hashlib
def assign_arm(recipient_id, test_id, arms=("A", "B")):
key = f"{test_id}:{recipient_id}".encode("utf-8")
bucket = int(hashlib.sha256(key).hexdigest(), 16)
return arms[bucket % len(arms)]
for rid in ["u1001", "u1002", "u1003", "u1004"]:
print(rid, assign_arm(rid, "subject-test-2026-11"))Including the test ID in the hash gives a different split for each test. Without it, the same people always land in arm A, and a person who is a frequent clicker biases every test the same way.
Use delivered recipients as the denominator
Bounces can differ between arms by chance. Compute rates per delivered message in each arm, as you do for reporting. Unique counts are the better primary measure: one enthusiastic recipient who clicks five times should count once.
Decide the sample size before sending
Click rates are low, often 1% to 4%. With a 3% baseline, detecting a change from 3.0% to 3.6% needs thousands of recipients per arm. Small tests show differences that vanish on repetition. A rough sample size per arm for comparing two proportions is:
from math import ceil, sqrt
from statistics import NormalDist
def sample_size_per_arm(p1, p2, alpha=0.05, power=0.8):
z_a = NormalDist().inv_cdf(1 - alpha / 2)
z_b = NormalDist().inv_cdf(power)
p_bar = (p1 + p2) / 2
num = (z_a * sqrt(2 * p_bar * (1 - p_bar))
+ z_b * sqrt(p1 * (1 - p1) + p2 * (1 - p2))) ** 2
return ceil(num / (p2 - p1) ** 2)
print(sample_size_per_arm(0.03, 0.036))The result is roughly 14,000 delivered messages per arm. If your list is smaller, test bigger changes, run the same test across several sends and pool the results, or accept that the test can only detect large effects.
Do not stop early or peek
Checking results every hour and stopping when one arm leads inflates false positives. Set the observation window in advance. Clicks arrive mostly within the first one or two days. Pick a window, such as 48 hours, and read the result once.
Check the result
A two-proportion z-test is enough for a first read.
from math import sqrt
from statistics import NormalDist
def two_prop_z(x1, n1, x2, n2):
p1, p2 = x1 / n1, x2 / n2
p = (x1 + x2) / (n1 + n2)
se = sqrt(p * (1 - p) * (1 / n1 + 1 / n2))
z = (p2 - p1) / se
p_value = 2 * (1 - NormalDist().cdf(abs(z)))
return p1, p2, z, p_value
print(two_prop_z(x1=420, n1=14000, x2=500, n2=14000))A p-value below your preset threshold (commonly 0.05) means the gap is unlikely to be chance alone. It does not say the gap matters commercially. Report the size of the difference as well.
Holdout groups
An A/B test compares two emails. A holdout compares an email against no email. It answers a different question: does sending this campaign cause more of the outcome than not sending it?
This matters because many conversions would have happened anyway. A loyal customer who buys every month and receives a promotion will click the link and buy, and the campaign takes credit. Attribution reports based on clicks or opens count that purchase. A holdout shows how many purchases came from people who got nothing.
How to run one
- Randomly select a small slice of the eligible audience, often 5% to 10%, and suppress it from the send.
- Send the campaign to the rest.
- Measure the same outcome (purchases, signups, logins) in both groups over the same window.
- Compute the lift.
Measure the outcome for everyone in the group, whether they opened or clicked. This is the key property for this chapter: the holdout comparison does not use opens at all. It compares the full treated group against the full held-out group, so MPP, image blocking and scanners cannot distort it.
def lift(treated_conv, treated_n, holdout_conv, holdout_n):
t = treated_conv / treated_n
h = holdout_conv / holdout_n
absolute = t - h
relative = absolute / h if h else float("nan")
return t, h, absolute, relative
t, h, abs_lift, rel_lift = lift(1800, 90000, 160, 10000)
print(f"Treated: {t:.2%} Holdout: {h:.2%}")
print(f"Absolute lift: {abs_lift:.2%} Relative lift: {rel_lift:.1%}")In this example the treated group converts at 2.00% and the holdout at 1.60%. Only 0.40 percentage points are incremental, so 80% of the conversions that a click-based report would credit to the campaign (1.6 of every 2.0) would have occurred without it.
Common errors with holdouts
- Comparing only openers or clickers to the holdout. Openers and clickers are self-selected, so they would have converted more even without the email. Always compare whole groups.
- Non-random holdouts. Holding out "inactive" subscribers and comparing them with active ones measures the difference between active and inactive people, not the email.
- Contamination. If holdout members receive other campaigns during the window, the contrast shrinks. Suppress them from overlapping sends, or measure the combined program.
- Too small a holdout. With 100 holdout recipients and a 2% conversion rate, you expect two conversions. That cannot support a conclusion.
- Windows that differ. Count outcomes from the send time for both groups and for the same number of days.
Testing things that opens used to answer
Some decisions used to rely on opens. Here are replacements.
- Subject line. Use clicks or conversions per delivered message, as described above.
- Send time. Compare click or conversion rate by send hour across randomized groups. Do not use open time, which MPP can shift to when the device fetched the image.
- Re-engagement and list cleaning. Define "inactive" by clicks, logins, purchases, replies or site visits over a long window, not opens. A recipient with MPP always looks active, so open-based rules never remove them.
- Frequency. Test sending cadence with unsubscribe rate, complaint rate and conversions per recipient over several weeks as the outcomes.
Guardrails to monitor in every test
Always read unsubscribe and complaint rates for each arm. These events are rare, so differences are often not statistically significant on a single send. Treat a visibly higher complaint rate in one arm as a reason to stop and look, even without a formal test. Complaints damage sender reputation, which affects delivery of all later mail.
Check for scanner clicks too. If one arm shows a burst of clicks within seconds of delivery from a few IP ranges, or every link in a message clicked in sequence, filter those out of both arms before analysis.
Exercise
A marketer sends two subject lines to 20% of the list each, picks the one with the higher open rate, and sends it to the rest. A colleague says this is unreliable. Give two reasons, and describe a better design and a primary metric for it.
Show answer
Reasons: (1) Apple MPP and scanners create opens without reading, and image blocking hides real reads, so open rate no longer tracks interest in the subject line. (2) Without a preset sample size and window, a small gap in open rate may just be chance. Better design: randomly assign recipients by hash to arms, fix the sample size and observation window in advance, and use unique clicks (or conversions) per delivered message as the primary metric, with unsubscribe and complaint rates as guardrails. Filter scanner clicks from both arms.
Exercise
A campaign sent to 45,000 people produced 900 purchases (2.0%). A holdout of 5,000 people who received nothing produced 70 purchases. What is the incremental lift, and what share of the campaign's purchases were incremental?
Show answer
Holdout rate is 70 / 5,000 = 1.4%. Treated rate is 900 / 45,000 = 2.0%. Absolute lift is 0.6 percentage points, a relative lift of about 43%. The expected purchases without the email are 1.4% of 45,000 = 630, so about 270 purchases were incremental, or 30% of the 900.