The Long Run
← Back to blog

Analytics

Markov Attribution and Holdout Test: Test Choosing Strategy

Part 1: how to use Markov attribution results to choose which paid channels to holdout test, and how to read the incrementality ratio, with a VeggieMart example.

·15 min read

TL;DR

  • VeggieMart's Markov model credits Brand Search and Coupon Sites with 1,593 orders a month, but holdout tests showed only about 390 of them were extra sales, while Meta Ads turned out to be worth 1.3 times its Markov credit.
  • Decide which channels with simple 3 yes/no questions built on the attribution output: Does the channel have real spend?, Can it be switched off cleanly? , and Is there big doubt about its credit?

Data-Driven Attribution (DDA), also known as Multi-Touch Attribution (MTA), splits the credit for each order across the marketing channels a customer touched before buying (i.e. different channels that brought different visits on the website), and uses the data to decide each channel's share.

A Markov model works this way: it removes one channel from the recorded customer journeys and recalculates how many journeys would still reach an order. The bigger the drop, the bigger that channel's share of the credit (data is from website clickstream data such as GA4 or CJA). When the channel is removed, the model ends every journey that passed through it without an order, because the data can't show what those customers would have done instead.

In reality, many would have found another way in, such as the free search result or typing the web address. So Markov shows that a channel was on the route to an order, not that the order would be lost without it, and it can't tell which orders would have happened anyway. (Part 6 of the Markov series covers this blind spot in detail as "Gap 4".)

A Holdout Test measures it directly. Switch a channel off for some customers or cities, while keep it running for a similar group, and compare their orders. The difference is the sales the channel that was switched off caused.

Tests take weeks and cost some sales, so most teams can run only a handful a year. The objective of this article is to show how to use attribution results to choose them, and how to turn the result into a budget decision.

🎯 What Markov attribution plus holdout tests gets you:
  • A short test list. Out of every channel we run, it gives us a short list of few channels worth testing, in order.
  • A measured answer. For each tested channel, the extra orders it actually caused, not just the orders it touched.
  • A better budget. A corrected Markov report and a cost per extra order for each channel, so money moves to the channels that create sales.

New to a term? Every term in this article is defined in the Markov Chain Attribution Jargon Checklist.

VeggieMart's Markov results

VeggieMart is a fictional online grocery delivery service running in 30 Indian cities. All numbers below come from simulated data and are for illustration only. One month of its tracking data gives:

  • Visits: 100,674.
  • Customer journeys: 60,000. A journey is all of one customer's visits, in order, until they order or drop out. The average journey has 100,674 ÷ 60,000 ≈ 1.68 visits.
  • Orders: 4,249.

Conversion rate (CVR) = Orders ÷ Customer journeys = 4,249 ÷ 60,000 = 7.1%

CVR is measured per journey, not per visit, because a customer who visits three times and orders once has placed one order, not three.

Table 1 compares the orders each channel gets under Last Non-Direct Click (LNDC), which gives all the credit to the last non direct channel before the order, with its Markov credit.

ChannelMonthly spend (₹ lakh)LNDCMarkovChangeConversion probability (Markov)
Meta Ads9.0255675+4205.5%
Generic Search6.0408568+1605.9%
Brand Search5.0965739−22611.1%
Coupon Sites4.51,454854−60015.0%
App Push0.4415365−507.2%
Email0.25331316−156.9%
Directnone421732+3118.7%
Total25.154,2494,24907.1%

Table 1: Orders credited to each VeggieMart channel in one month under LNDC and Markov, with the chance a customer goes on to order after reaching it. Spend is in ₹ lakh (1 lakh = 100,000 rupees).

Few details about the above data:

  • Generic Search means non-brand terms such as "vegetable delivery near me".
  • The conversion probability comes from the Markov model, not from LNDC: it is the chance that a customer who reaches the channel goes on to order, counting every route they might take after it.
  • CVR and conversion probability both ask how likely a customer is to order, but from different starting points:
    • CVR (7.1%) starts at the beginning of every journey: 4,249 orders ÷ 60,000 journeys. It is one number for the whole business.
    • Conversion probability (Brand Search 11.1%) starts at the moment a customer arrives through that channel. 11,966 journeys reached Brand Search and 1,333 of them went on to order (11.1%). 886 ordered straight after the Brand Search visit and 447 came back later through another channel, such as Direct or a coupon site. Both groups count for Brand Search, because the question is whether the customer ordered at any point after reaching it.
    • In the Total row the starting point is the beginning of the journey, so conversion probability and CVR are the same: 7.1%.
  • Coupon Sites are third-party deal websites that list promo codes. VeggieMart pays them a commission on every order that arrives through their link.
  • In a typical journey: a customer fills the cart, sees a "promo code" box at checkout, searches "VeggieMart coupon", clicks through a coupon site to copy a code, and orders. The coupon site gets the last click and the commission, even though the customer had decided to buy before going to look. Some coupon-site visitors are new, deal-hunting customers who would not have ordered otherwise, and that share is what a test needs to measure.

How to Decide Which Channels to Test?

  1. How far Markov attribution moves the channel as compared to LNDC. A big move means the budget depends on the model we choose. Meta Ads gains 420 orders under Markov and Coupon Sites loses 600.

  2. How much spend is at stake. A test takes the same effort whatever the budget. Running one on ₹0.25 lakh of email is rarely worth it, while ₹9 lakh of Meta Ads is.

  3. Whether its buyers would have come through another route. Consider a scenario where a regular VeggieMart customer who types "VeggieMart" into Google, clicks the paid ad at the top and orders. Without the ad, the customer would have clicked the free result just below it. The ad was on the route, but it did not create the order. Push notifications and emails to existing customers, and coupon sites, often work the same way. The attribution output gives two clues:

    • The channel mostly reaches people who already know the brand
    • Conversion probability is far above average: Coupon Sites convert 15.0% and Brand Search 11.1%, against 7.1% for an average journey

    A high rate looks like a strong channel or it can also mean the channel catches people at the very end, after they had already decided. Markov can't tell the two apart, because it sees only that the customer passed through the channel, not what they would have done without it.

    This is where Holdout Test comes in for resut as it tells how to seggregate it.

  4. Whether a channel can be switched off cleanly. The question one should think of for deciding the test are like this: Paid search and Social ads can be paused city by city. Push and email can be withheld from a random group of users. Influencer posts and TV cannot be switched off for just one group.

Figure 1: Three yes/no questions that sort VeggieMart's channels into test first, test next and no test.

  1. Spend. Dont test channels with little or no spend, examples of those are App Push, Email and Direct.
  2. Switching off. If we can't switch off a channel for some cities or users can't be holdout tested. Marketing mix modelling is the usual alternative.
  3. Doubt. To decide if a channel can be "tested first" check whethere the order differnc between Markov and LNDC, if they differ by more than 200 orders, or if many of its buyers probably would have ordered anyway otherwise it will be "test next" group.

Brand Search shows why the third question has two parts. Markov moves it by 226 orders, fewer than Meta Ads or Coupon Sites, but most of its buyers already know the brand. Either reason alone is enough to test.

App Push and Email cost VeggieMart a total of under ₹1 lakh a month together, so a full test isn't worth the effort. Some teams still keep an always-on holdout on owned channels like these: a small random group of users who never get the messages, so the team can see over time whether the messages add orders. In our scenario it makes sense to puts testing effort into paid channels, where real money is at stake.

OrderChannelTest design
1Coupon SitesMake coupon-site codes invalid for delivery addresses in 10 of the 30 cities for six weeks
2Brand SearchPause brand search ads in 10 matched cities for six weeks
3Meta AdsLNDC would cut it and Markov would keep it, so ₹9 lakh a month depends on the answer. Pause it in 10 matched cities
4Generic SearchPause it in 10 matched cities once the first three are done
No testApp Push, EmailSpend too small to justify a test
No testDirectNot a paid channel

Table 2: VeggieMart's test plan, based on the decision tree.

In the coupon test we doesn't take discounts away, Customers in the 10 cities still get the offers in VeggieMart's own app and emails; only the codes published on coupon sites stop working there. The test measures how many coupon-site orders come from new customers who would not have ordered otherwise, and how many from existing customers collecting a discount on an order they would have placed anyway.

Testing Strategy:

  • Each test runs for six weeks, long enough to cover several weekly shopping cycles.
  • Avoid festive weeks such as Diwali, when demand jumps for reasons that have nothing to do with the test. Run the four tests one after another, about six months in all, so that no two tests use the same cities at the same time.
  • For each city holdout, pick the 10 cities whose past orders track the other 20 most closely. Synthetic control is one way to build that comparison.

💡 Tip: Tests that pause a channel cost less than they look. Here is the worst case for Brand Search, assuming Markov's credit is fully right:

  • Markov credits Brand Search with 739 orders a month across all 30 cities.
  • The 10 paused cities place about a third of all orders, so about 739 ÷ 3 ≈ 246 of those orders a month are at risk.
  • The test runs for six weeks, which is 1.5 months, so at most 246 × 1.5 ≈ 370 orders are lost.
  • Meanwhile the paused ads save ₹5 lakh ÷ 3 × 1.5 = ₹2.5 lakh of spend.

Readout - Holdout Test

Each test gives one number, the incrementality ratio:

Incrementality ratio = extra orders the channel caused (measured in the test) ÷ orders Markov credits to it

  • Ratio = 1: The test found exactly as many extra orders as Markov credits. Markov is right.
  • Ratio less than 1, for example 0.30: Only 30 of every 100 orders Markov credits were extra. The other 70 would have happened anyway, so Markov gives the channel too much credit.
  • Ratio greater than 1, for example 1.30: The channel caused 130 orders for every 100 that Markov credits. The extra 30 show up under other channels, for example when someone sees an ad, doesn't click, and later searches "VeggieMart". This ratio would mean Markov gives the channel too little credit.

A worked example: Brand Search

VeggieMart paused its brand search ads in 10 cities for six weeks. Those cities normally place about a third of all orders. The other 20 cities kept the ads running. Based on how the two groups moved together before the test, the 20 cities predicted that the paused cities would place 2,124 orders over the six weeks. They placed 2,013.

  1. Orders lost over six weeks: 2,124 − 2,013 = 111.
  2. Per month: 111 ÷ 1.5 = 74 orders, for a third of the business.
  3. Across all 30 cities: 74 × 3 = 222 extra orders a month.
  4. Ratio: 222 ÷ 739 orders credited by Markov = 0.30.

So of the 739 orders Markov credits to Brand Search each month, only about 222 would be lost without the ads. Most of the rest come from customers who would have clicked the free search result instead.

Why the result is a range

Orders go up and down from week to week even without a test, so no test can pin the ratio down to one exact number. It gives a best estimate plus a likely range, here a 90% range of 0.15 to 0.45. In orders, that is between 111 and 333 of Markov's 739. Even the top of the range is far below 1, so the conclusion holds whichever value inside it is true.

Figure 2: Holdout results for VeggieMart's four paid channels, each with a 90% likely range.

Read the above chart as following: each row in three steps:

  1. Find the dot. It shows the best estimate of the incrementality ratio. The row label gives the same result in orders: "739 credited → 222 measured" means Markov credits Brand Search with 739 orders a month, the test found 222 extra orders, and 222 ÷ 739 = 0.30, which is where the dot sits.
  2. Look at the bar. It is the likely range. A short bar means a precise test and a long bar a noisy one.
  3. Check where the whole bar sits against the dashed line. Left of the line, Markov gives the channel too much credit. Right of it, too little. A bar that crosses the line means Markov's credit is about right.
ResultWhat it meansWhat to do
Whole bar left of the line (Brand Search 0.30, Coupon Sites 0.20)Too much credit. Most of its orders would have happened anywayCut spend toward a defensive minimum, or change the commission terms
Bar crosses the line (Generic Search 0.92)Markov's credit is about rightKeep the channel and trust Markov for routine decisions
Whole bar right of the line (Meta Ads 1.30)Too little credit. It creates orders that Markov credits elsewhere, for example when someone sees an ad without clicking and later searches "VeggieMart"Scale up in steps
Very long bar (none of VeggieMart's four tests)UnclearRun it longer or in more cities

Table 3: How to read each kind of result.

Test Result translated into budget

Turn the ratios into cost per order and compare them with VeggieMart's target of ₹1,200 per extra order (an illustrative figure).

ChannelCost per order: LNDCCost per order: MarkovCost per extra order: holdout
Meta Ads₹3,529₹1,333₹1,025
Generic Search₹1,471₹1,056₹1,147
Brand Search₹518₹677₹2,252
Coupon Sites₹309₹527₹2,632

Table 4: Monthly spend divided by orders under each view.

LNDC says cut Meta Ads and keep paying the coupon sites. The holdout tests say the opposite. VeggieMart's next steps can be following:

  • Brand Search: Keep bidding only on searches where competitors bid on the VeggieMart name, cutting spend from ₹5 lakh to about ₹1.5 lakh.
  • Coupon Sites: Keep the sites but pay commission on first orders only. The 0.20 ratio says only about 1 in 5 of their credited orders was extra, so this keeps paying for the new customers they bring and stops paying for orders that would have happened anyway.
  • Meta Ads: move part of the savings here in steps. The 1.30 was measured at today's spend, and each extra rupee usually earns less than the last, so check the result with a scale-up test.
  • Generic Search: keep spend as it is. Its Markov credit held up, at ₹1,147 per extra order, just under the target.

Use the ratios to adjust Markov credit in monthly reports: Brand Search's 739 becomes 222. Adjusted credits no longer add up to 4,249. The gap is baseline demand, the orders VeggieMart would get without paying for them. Report it on its own line rather than spreading it back over the channels. Repeat each test every 6 to 12 months, or sooner after a big change such as a competitor starting to bid on the brand name.

Feeding test results into Markov vs into MMM

Many teams already run geo tests, but they feed the result into a marketing mix model (MMM) instead. An MMM estimates each channel's contribution from weekly spend and sales. The test result is used to calibrate it: the model is told that, for example, Brand Search caused about 222 extra orders a month, and it adjusts that channel's contribution to match. The MMM then gives the incrementality of every channel and suggests a budget split.

Feeding the same result into the Markov model, as this article does, works differently:

Test result → MMMTest result → Markov (MTA)
What the result correctsThe channel's weekly contribution and its response curveEach channel's credit, through the incrementality ratio
Level of detailChannel, by weekChannel, campaign, audience or city, by day
How soon you can actAfter the next model refit, often every quarterIn the next monthly report
Channels coveredAll, including TV, influencers and offlineOnly digital channels that tracking can see
Diminishing returnsBuilt in: shows where extra spend stops payingNot shown: needs a scale-up test
Data needed2 to 3 years of weekly spend and salesRecent customer-journey data
Weak spotsFew data points, and channels whose spend rises and falls together are hard to separateGaps in tracking from cookie and consent loss; sees only what customers clicked

Table 5: Two places to use the same holdout result.

Feeding the result into Markov helps VeggieMart in three ways:

  • Faster action. The next monthly report already shows Brand Search at 222 orders instead of 739. With an MMM, the change waits for the next refit.
  • Finer detail. The ratio applies to every Brand Search campaign, city and day in the Markov report, so the team can adjust bids and budgets week to week. An MMM only says how Brand Search did as a whole, by week.
  • Less history needed. A 30-city business that has grown fast may not have two stable years of weekly data for a reliable MMM. Markov needs only recent journeys.

The two are not either/or. One test result can correct both: the Markov report for monthly, campaign-level decisions, and the MMM for the yearly budget split, for diminishing returns, and for channels like TV that Markov can't see.

Key Takeaways

  • A Markov model shows where credit is uncertain, and a holdout test settles it.
  • Test only paid channels with real spend that can be switched off cleanly, and start with those where Markov and LNDC disagree most or whose buyers would likely have ordered anyway.
  • For VeggieMart, Markov credits Brand Search and Coupon Sites with 1,593 orders, but the tests found about 390 extra orders. Meta Ads was worth 1.30 times its credit.
  • Read the whole range: wholly below 1 means too much credit, crossing 1 means the credit holds, wholly above 1 means too little credit, and a very wide range means test longer.
  • Use the ratios to adjust future Markov reports, report baseline demand on its own line, and retest regularly.

Quick Quiz: Test Yourself

🧠 Test yourself: 4 questions (click to open)

1. Markov moves Brand Search by 226 orders from LNDC, fewer than Meta Ads or Coupon Sites. Why is it still in the test-first group?

2. Markov credits Meta Ads with 675 orders, and a city holdout measures 878 extra orders. What does the ratio of 1.30 suggest?

3. A holdout test gives a ratio of 0.60, with a range from −0.10 to 1.30. What should you conclude?

4. After adjusting each channel's Markov credit by its ratio, the credits add up to less than 4,249 orders. What is the gap?

0 of 4 answered

Unsure about a term? See the Markov Chain Attribution Jargon Checklist.

In case of any queries or feedback, feel free to drop a comment or reach out using the Contact section.

Comments