Add to Claude

Guides · For agents

Did my email campaign actually work? Measure it with a hold-out group

Tools: sift_holdout, sift_liftWorks with Claude Code

Hold back a small random group from the emails, then compare: if the people you messaged ordered more than the people you held back, the emails worked. In the test files, 37.7% of messaged customers ordered in the quarter against 28.9% of the hold-out: 8.7 points higher, with a 95% range of 4.6 to 12.6.

Step 1: pick the hold-out, the day the emails start

With Sift connected (setup takes three steps), paste this and swap in your own paths.

Use Sift to pick a hold-out group from /path/to/customers.csv on customer_id, share 0.15, seed lift-2026-07. Write the list to /path/to/evidence so I can add it to the email tool's suppression list.

Customers4,000
Held out595
Messaged3,405
Writtena one-column customer_id list, for the email tool

A customer is held out when the SHA-256 of the seed and their ID, read as a fraction, is under 0.15. The same seed always gives the same 595, so anyone can re-check the group. Sift also said 1 row had no customer ID and 1 ID was repeated: neither can be placed twice.

Step 2: read the lift after the quarter

Use Sift to read lift against the hold-out list in /path/to/evidence, for who ordered from 2026-07-01 up to 2026-10-01. Customers are in /path/to/customers.csv (customer_id, signup_date), orders in /path/to/orders.csv (customer_id, order_date, value), and sends in /path/to/sends.csv (customer_id, sent_date).

Messaged who ordered37.7% (1,282 of 3,405)
Held out who ordered28.9% (172 of 595)
Lift8.7 points, range 4.6 to 12.6
Extra customers who ordered298, range 158 to 429
The 92 days before the start29.1% against 29.2%: alike
Held-out customers messaged anyway7

Sift's own sentence: "Messaged customers ordered at 37.7%, the hold-out at 28.9%: 8.7 points higher (range 4.6 to 12.6), clear of zero."

What to do next

Questions

Why compare the months before the emails started?
To see the two groups began alike. Before the start, 29.1% of the messaged group and 29.2% of the hold-out ordered, a range of -4.2 to 3.7 points. If they differed before, a difference after proves little.
What if the range includes zero?
Then the hold-out can't tell the lift apart from none, and Sift says so in words. With under 30 customers in a group, it gives no range at all.
Does Sift send the emails or change the email tool?
No. It writes a list of customer IDs to hold back. You add that list to the email tool's suppression list yourself.

More guides

Guide Monthly business health from an orders export Guide Find Active accounts that stopped ordering Guide Check who you are emailing that you should not be