Affinsy is on the Shopify App Store.See the app →
Back to blogRetention

Klaviyo Holdout Test: How to Run One on a Small Shopify Store

19 min read

Your replenishment flow has a healthy revenue figure next to its name. How much of that money would have come in without the email? A Klaviyo holdout test is the clean way to answer that question, and it does not take a huge list: this article shows how to run one for a single flow or a single email campaign on an ordinary Shopify store, with a few thousand subscribers and no data team.

Key takeaways

  • A holdout test splits one audience at random into two groups: a test group that gets the email and a holdout group, the control group, that does not. The difference in buyers between them is what the email added.

  • Klaviyo has a built-in global holdout group, but it is account-wide, and Klaviyo's help page says an account needs at least 400,000 profiles to use it.

  • A smaller store can hold out a group for one flow or one campaign: with a random sample path in a flow's multi-branch split, or with a test tag and a holdout tag added in Shopify and read in Klaviyo as Shopify Tags.

  • Size the holdout by the buyers you expect, not by a fixed share. Each group needs several dozen buyers by the end of the test window, and the window should cover a full buying cycle.

  • Read buyers and revenue per customer, not opens and clicks, and do not change the holdout percentage, the split or the end date once the test has started.

What is a holdout test in email marketing?

A holdout test is an experiment in which you split an eligible audience at random into two groups: a test group that receives the email and a holdout group that does not. The holdout group is excluded from that marketing communication and serves as your control group, the baseline. Comparing purchasing behavior across the test and control groups lets you determine whether the message changed anything.

Take a store that sells a 30-day supplement and runs a replenishment flow. Klaviyo's own replenishment guide uses the example of a 30-day supply with a reminder about 25 days after the order. Some customers reorder after that reminder, and any email report will count those orders. It cannot tell you which of them the email caused, because many of those customers were going to reorder anyway: the bottle was nearly empty. Attribution models credit orders to the emails that came before them, which can misrepresent the true impact of a flow.

The number you are looking for is lift: the difference in conversion rate, or in revenue per customer, between the people who got the marketing communication and the people who did not. That is the only way to measure what a marketing campaign added on top of what customers would have done on their own, and it matters most for retention emails such as reorder reminders, cross-sell nudges and win-back emails, where a purchase without the email is a real possibility. Marketers also call this incrementality testing: it measures the causal impact of marketing campaigns, the incremental lift, and not the conversions that merely followed a send. Because it shows how much repeat purchasing the email really causes, it also tells you something about customer retention and long-term value that a revenue report cannot.

Two groups of customers standing apart, as in a test group and a holdout group

What is Klaviyo's global holdout group, and who can use it?

Klaviyo's global holdout group is an account-wide experiment that keeps a share of profiles out of marketing sent by campaigns or flows, so you can measure what the whole program adds. It is not a setting on one flow, and it is built for a company with a very large list.

Klaviyo's help page on global holdout groups states the requirement in one line: "You must have at least 400,000 profiles (note that this is total profile count)." An account below that number cannot use the global holdout groups feature, whatever it sends.

For the accounts that qualify, the same help article describes how a global holdout test works:

  • It is created under Analytics > Experiments, on the Global Experiments tab, with Create test.

  • The held-out profiles are excluded from marketing emails, SMS and mobile app notifications. Transactional flow messages still go out, and a single flow or campaign can be set to override the global holdout group.

  • Klaviyo recommends holding out about 5% of marketable profiles and running the test for three months.

  • The holdout percentage cannot be changed once the test is active, and only one holdout group can be active at a time.

  • The result is reported as marketing lift, which is the treatment rate minus the holdout rate, divided by the holdout rate. A win probability is shown once at least 10 profiles have converted.

Notice what this measures: all of the company's marketing campaigns and flows together. Large-scale tests like this hold out only a small share of the audience, because a small share of a very large list is still a lot of people. Even with access to it, email marketers who want to know whether one replenishment flow earns its place would still need a test on that flow alone.

Why does a smaller Shopify store still need a Klaviyo holdout test?

Because the question is the same at every size: did this email cause orders, or did it arrive just before orders that were coming anyway? A store whose list is far below the size Klaviyo names cannot use the account-wide test, but it can answer that question for the one or two emails that matter most to the business.

Retention emails are the ones most likely to take credit for purchases they did not cause:

  • A replenishment reminder goes to customers who are about to run out. Many of them would have reordered without it.

  • A win-back email reaches some customers who were already on their way back.

  • A welcome or second-order discount tempts a customer who would have paid full price a week later, which costs margin without adding an order.

A holdout test on one of these identifies whether the flow genuinely drives sales or only rides along with them, and that tells you whether to keep the email as it is, change the timing or the offer, or stop sending it. It can also reveal email fatigue: when the control group buys more than the test group, the store may simply be sending more than its customers want. Either way the result helps you put effort into the campaigns with real impact and stop spending discounts where they add nothing. Keep the effort for the flow or campaign with the most revenue next to its name. A segment with very little volume will not produce enough purchases to reach a conclusion in either direction.

How does a Klaviyo holdout test work for one flow or one campaign?

It works the same way at any scale: define who is eligible, let chance decide who is held out, keep that split fixed for a set period, and then count the same outcome in both groups. The four parts are worth spelling out, because each one is a place where a test can quietly break.

  1. An eligible audience. Everyone who would normally get the email: the customers entering a flow, or the segment a campaign would go to.

  2. Random assignment. Holdout membership is decided by chance, not by you. This is what makes the test and control groups alike in order history, spend and everything else before the test starts, so that the email is the only difference between them.

  3. A fixed holdout percentage and a fixed window. The share held out and the end date are set before the first send and left alone for the whole test.

  4. One conversion metric, counted the same way in both groups. Usually the share of customers who ordered in the window, plus revenue per customer. These are the test metrics, and the measure of success is extra orders, not opens.

This is different from an A/B test. An A/B test compares two versions of a message, such as two subject lines, and both groups get an email. A holdout test compares sending the message with sending nothing. Both rely on random assignment, and both need enough data before the difference means anything.

Below the size Klaviyo names for the global feature, there are two ways to make the test and control groups:

Random sample in a flow Test tag and holdout tag
Where the groups are made Inside the flow, at a multi-branch split In a spreadsheet, then as customer tags in Shopify
Fits best A flow that customers enter over time One campaign, or a flow limited to tagged customers
Check before you start That you can list who went each way That both segments in Klaviyo show the counts you expect

How do I hold out a control group inside one Klaviyo flow?

Add a multi-branch split before the first email you want to test, give one path the random sample condition, and leave that path with no email on it. Everyone else continues to the emails as before.

Klaviyo's multi-branch split combines the older conditional split and trigger split, and one of its path conditions is "A random sample": a percentage of the profiles evaluated for that path. That percentage is your holdout percentage, and it should stay fixed for the whole test. For example, a replenishment flow would get the split right before the first reminder, the aim being that the held-out customers get no reminder at all.

Three checks before you turn it on:

  • The holdout branch. A path with no email on it is what you are setting up. Check in Klaviyo that it behaves the way you expect before you rely on it.

  • The two lists. At the end you need to count conversions among the people on each side of the split, so confirm that you can get a list of who went which way. If you cannot, use the tag method in the next section, where each group is a segment you can open.

  • Other emails. If another flow or campaign carries the same reminder or the same offer, the held-out customers must be kept out of it too, or the control group is no longer a control.

Because customers enter a flow on different days, give each of them the same number of days from the day they reached the split, and count only the purchases inside that span. A flow with little traffic can need months to gather enough data, so set the end date by the number of customers you need, not by the calendar.

How do I hold out a group for one campaign with Shopify tags?

Split the audience at random in a spreadsheet, add one customer tag to the test group and another to the holdout group in Shopify, and build one Klaviyo segment per tag. The campaign goes to the test segment only.

This works because Klaviyo's Shopify integration syncs customer tags to a single profile property named Shopify Tags, stored as a list. The companion post on Shopify tags in Klaviyo covers that property in detail. The steps:

  1. List the eligible customers. Put them in a spreadsheet, one row per customer, with the email address. For a win-back campaign that is every customer whose last order is older than your win-back point.

  2. Assign the groups by chance. Add a column with =RAND(), paste it back as plain values so the numbers stop changing, and sort by it. The first rows, as many as your holdout needs, become the holdout group and the rest become the test group. Do not take the last rows of the original list or a block you picked yourself: that is selection bias, and it makes the two groups differ before any email is sent.

  3. Add the tags in Shopify. Give the test group one customer tag and the holdout group another, for example winback_test and winback_holdout. Klaviyo's guidance is to manage customer tags in Shopify, because changes made to Shopify Tags inside Klaviyo can be overwritten when the Shopify data syncs again.

  4. Build two segments in Klaviyo. Go to Audience > Lists & segments > Create > Segment, choose Properties about someone > Shopify Tags, select "contains the text" and enter the full tag value. Do this once for each tag.

  5. Compare the counts. Wait until both segments show the numbers from your spreadsheet before you send anything. In Shopify, a customer segment with the filter customer_tags CONTAINS 'winback_holdout' shows how many customers carry the tag on that side.

  6. Send to the test segment only. Keep the holdout segment out of this email campaign and out of any other send with the same offer until the window closes.

  7. Write the plan down. The audience, the size of each group, the start date, the end date, the outcome you will count, and every flow or campaign the holdout must stay out of. Share it with everyone on the team who can send campaigns, and with the agency if one sends for you.

The same two tags work for a flow. Click the flow's trigger, add a profile filter on Properties about someone > Shopify Tags that contains the test tag, and only the test group will enter.

What holdout percentage should I use, and how long should the test run?

A holdout percentage big enough that the control group ends the test with several dozen conversions, and a window long enough to cover one full buying cycle after the email goes out. Both are decided before the first send.

Klaviyo's recommendation of about 5% of marketable profiles for three months is written for the account-wide test on a very large account. On a single flow or campaign at a store with a few thousand subscribers, a share that size leaves a control group with a handful of buyers, and a handful cannot tell you anything. A small test needs a noticeably larger share held out.

Work backwards from buyers instead of picking a percentage first:

  • Estimate the share of this audience that orders in the window without any email. Last season's numbers for the same segment are a fair guide.

  • Multiply it by the holdout size you have in mind. If the answer is fewer than a few dozen buyers, the sample size is too small: hold out more people, widen the audience, or lengthen the window.

  • Remember the cost. Every held-out customer misses an email that may work, so the holdout should be as large as the reading needs and no larger. Statistical power comes from buyers, not from the size of the list.

For the length, think in buying cycles and not in calendar habits. A reorder reminder for a monthly product needs about a month after the send before most of the orders it could cause have arrived. A product bought a few times a year needs a season. Stopping after one week mostly measures who opens email quickly.

Which test metrics show the result of a holdout test?

The conversion rate of each group, then the revenue per customer of each group. Opens and clicks are not test metrics here, because the control group has none.

For each group:

  • Conversion rate = customers who ordered in the window / customers assigned to the group

  • Revenue per customer = revenue from those orders / customers assigned to the group

Count everyone who was assigned, not only the people who opened. The absolute lift is the test group's conversion rate minus the control group's conversion rate. The relative lift is that difference divided by the holdout rate, the same arithmetic Klaviyo describes for marketing lift in its global holdout report. In a manual test nobody computes it for you: you take the two lists, match them against an order export, and do the division. Lift can be stated in revenue too: the extra revenue per customer in the test group compared with the holdout group.

Illustration with round numbers, not a benchmark.

A store has 2,000 customers due for a reorder reminder. It holds out 20% of them at random and sends the reminder to the rest. Thirty days after the send it counts orders of the product.

Group Customers Buyers in 30 days Conversion rate
Test group (got the reminder) 1,600 240 15%
Holdout group (no reminder) 400 40 10%

The absolute lift is 15% minus 10%, or 5 percentage points. The relative lift is 5 divided by 10, or 50%.

Five points on 1,600 customers is 80 buyers. So of the 240 orders that followed the reminder, about 160 would have happened anyway, and the reminder added about 80. That is the incremental lift, and it is a third of what a simple count of orders after the email would suggest.

The example also shows why group size matters. If 8 more holdout customers had bought, the holdout rate would be 12% and the relative lift would fall from 50% to 25%. Had the store held out only 5%, the holdout group would be 100 customers and about 10 buyers, and two or three orders either way would decide the answer.

That is what statistical significance is about. With small numbers, chance alone can make an email that does nothing look like a winner, or hide one that works. Before you act on the test results, put the four counts (customers and buyers in each group) through a significance calculator for two proportions. If the difference is small, or it changes direction when you look again a week later, treat the outcome as "no proven lift" and not as a win.

Which mistakes ruin a holdout test?

The ones that make the two groups differ in something other than the email, and the ones that end the test before the numbers mean anything.

  • Picking the holdout by hand. Choosing by surname, signup date, country or "the customers we are less worried about" makes the groups different from the start. Only a random split gives a fair comparison.

  • The holdout gets the offer anyway. The same discount arriving through another flow, an SMS or other marketing channels turns the control group into a second test group. Check every send in the window against the holdout segment.

  • Reading too early. A few conversions in each group after the first days say nothing. Wait for the end date you wrote down.

  • Changing the split midway. Editing the random sample, moving customers between tags or shifting the end date means the groups at the end are not the groups from the start. If more than one person on the team can edit flows, tell them the test is running.

  • Counting different things. Buyers of any product in one group and buyers of the promoted product in the other, or a longer window for one group, will produce a difference that has nothing to do with the email.

  • Editing tags in Klaviyo. The tags belong in Shopify. A change made to Shopify Tags on a Klaviyo profile can be overwritten the next time the data syncs.

Do I have to build the two groups by hand?

Not if the audience comes from your order history. Affinsy is a Shopify app that reads the store's order history, and an audience in it is a saved customer list built from one finding.

When you save an audience you can hold out a share of it, with a recommended value for the size of the list, and that share cannot change once it is saved. Clicking Tag in Shopify adds one customer tag to the test group and another to the holdout group. The first click asks for permission to edit customers, and Remove tags takes the tags off again. The audience page lists the steps for Klaviyo: a segment where Shopify Tags contains the test tag.

The app sends no email and has no connection to Klaviyo, so the flow or campaign is still yours to build. After the window it compares buyers and revenue of the suggested products in the test group with the holdout group and gives a verdict: Significant, Promising, Insignificant, or Inconclusive when a group has fewer than 50 customers or the test ran under 7 days.

Next steps

  1. Pick the one flow or campaign with the most revenue next to its name. If you are not sure which idea deserves a test, the guide to retention experiments covers how to choose.

  2. Decide the outcome, the window and the size of the holdout group before anything is sent, and write them down.

  3. Make the two groups: a random sample path in the flow, or a test tag and a holdout tag in Shopify.

  4. Keep the holdout group out of every other send with the same offer.

  5. At the end date, measure the conversion rate and revenue per customer in both groups and check the difference for significance.

  6. Remove the tags, decide what to do with the email, and choose the next test.

If you would rather have the audience, the holdout split and the comparison of test group against holdout group worked out from your own Shopify orders, Affinsy on the Shopify App Store does it from the order history.

FAQ

How small is too small for a Klaviyo holdout test?

There is no fixed cutoff, but a test in which each group produces only a handful of orders cannot separate the email's effect from chance. Aim for several dozen conversions in both the test group and the control group by the end of the window. The 400,000 profiles that Klaviyo's help page requires apply to the account-wide global holdout group, not to a holdout you set up yourself for one flow or campaign.

Should I run a holdout test on every Klaviyo flow?

No. Test the few flows that drive repeat purchases and carry the most revenue: the replenishment flow, the main win-back flow, and a post-purchase cross-sell. A holdout on every welcome or browse abandonment variation spreads a small list too thin for any of the tests to finish.

Can I change the holdout percentage after the test starts?

Not without starting again. Klaviyo does not allow it for the global holdout group once the test is active, and the same rule should apply to a manual test: a changed percentage means the customers counted at the end are not the groups you began with. Let the test finish, then set up a new one.

What should I do with the holdout customers after the test ends?

Take the tags off, or remove the split, and decide based on the result. If the email showed a clear lift, the holdout customers go back into it. If it showed none, change the timing, the offer or the message and test the new version, or stop sending it and keep the margin.

Does a holdout test replace A/B testing of subject lines or content?

No, they answer different questions. A holdout test asks whether sending the message beats sending nothing. An A/B test asks which of two versions of the message does better, for instance two subject lines or a different send time. Use a holdout test first to learn whether the flow is worth running, then A/B tests to improve it.

Want to know what earns your second order?

Drop in your order history and get back the products that bring customers back, the week they go quiet, and the list to email first.