Markov Chain Attribution: estimate channel contribution via probabilistic removal-effect modeling.

Markov chain attribution uses probability theory to estimate each channel's contribution by simulating user journeys with and without each channel. The math behind Google's data-driven attribution. Part of the attribution model family that also includes first-touch, last-touch, linear, time-decay, position-based, Markov chain, and Shapley attribution. Modern teams use multiple models in parallel and validate against incrementality testing.

By David Schaefer · LinkedIn · Updated · 10 min read · 5 sources cited

Key takeaways

  • Markov chain attribution treats journeys as probabilistic state sequences. Removes each channel, computes drop in conversion probability.
  • The math behind Google's data-driven attribution (DDA), now the GA4 default since October 2023.
  • Output is per-channel attribution based on probabilistic causal contribution, not fixed rules.
  • Requires 1,000+ conversions per channel for stable estimates.
  • Closer to causal than heuristic models but still correlational; validate with incrementality testing.
  • Limited by what touchpoints the data system captures. Missing offline touches are invisible to the model.

What Markov chain attribution is

Markov chain attribution treats the customer journey as a sequence of states (touchpoints) with probabilistic transitions between them. To measure a channel's contribution, the model "removes" that channel from the journey and simulates what would have happened. The drop in conversion probability is the channel's incremental contribution. This is the math behind Google's data-driven attribution model, which became the GA4 default in October 2023.

The mechanism is grounded in Markov-chain theory from probability. A Markov chain assumes that the probability of transitioning to the next state depends only on the current state, not on the full history. For customer journeys, this is a simplification (real journeys have memory) but a useful one — the math becomes tractable and the results are reasonable in practice.

How it works

Six steps. Build a transition matrix from observed user journeys. Each cell in the matrix shows the probability of moving from state A to state B. Calculate the conversion probability of the entire journey using the matrix. For each channel, recompute the conversion probability with that channel removed. The drop is the channel's removal effect. Distribute conversion credit in proportion to removal effects. Sum across the period.

The output is a per-channel attribution number based on probabilistic causal contribution, not on fixed rules. A channel that appears frequently in journeys that would not have converted without it gets high credit. A channel that appears often but rarely affects the outcome gets low credit. The model is sensitive to volume — less than 1,000 conversions per channel produces unstable estimates.

When Markov chain attribution fits

Markov is right for businesses with enough data volume (1,000+ conversions per channel within the lookback window) and complex multi-touch journeys. Google DDA uses Markov for digital channel attribution. Self-implemented Markov attribution requires a data engineer or data scientist plus a warehouse with full journey data.

Markov is wrong for businesses with low data volume, single-touch journeys, or for any business that does not have full journey data (most do not after iOS ATT). The model is also limited by the touchpoints captured — offline touches that do not enter the data system are invisible to the model.

Common failure modes

Three failures. Insufficient data volume produces unstable removal effects. Missing touchpoints (offline channels, view-through data lost to iOS ATT) make the model under-credit those channels. Treating Markov output as causal truth when it is correlational from observed paths.

Quick answers

What is Markov chain attribution in plain English?
Pretend each channel was removed and ask: would the customer still have converted? The drop in conversion probability is the channel's credit. The math is from probability theory.
Is Google data-driven attribution Markov?
Yes. Google's DDA uses Markov chain removal-effect modeling. It became the default in GA4 in October 2023.
What data do I need?
Full journey data with all touchpoints, plus 1,000+ conversions per channel for stable estimates. Less data produces noisy removal effects.
Is Markov really causal?
It is probabilistic, not strictly causal. The 'removal effect' assumes the rest of the journey would have stayed the same, which is not literally true. Closer to causal than heuristic models; still not as good as incrementality tests.
How does iOS ATT affect Markov?
Materially degraded since 2021. Missing touchpoints (lost to cookie restrictions) make the model under-credit channels that operated in the cookie-blind zone.
Should I implement Markov myself?
Only if you have a data team. Google DDA does the math for you. Self-implementation needs Markov-aware data engineers and a warehouse with full journey data.

Frequently asked

What is Markov chain attribution?

An attribution model that treats the customer journey as a sequence of states with probabilistic transitions. To measure a channel's contribution, the model removes that channel from observed journeys and simulates what would have happened. The drop in conversion probability is the channel's removal effect.

Is Markov chain the math behind Google DDA?

Yes. Google's data-driven attribution (DDA) uses Markov chain removal-effect modeling. DDA became the default attribution model in GA4 in October 2023.

What is a removal effect?

The drop in total conversion probability when a specific channel is removed from observed user journeys. Each channel's removal effect becomes its share of the attribution credit, normalized to sum to 100 percent.

How much data does Markov need?

Typically 1,000+ conversions per channel within the lookback window. Less data produces unstable removal effects with high variance. Volume requirements are higher than for heuristic models.

Is Markov chain attribution causal?

Closer to causal than first-touch, last-touch, linear, time-decay, or position-based. Not as causal as incrementality testing. The model assumes Markov property (next state depends only on current state), which is a simplification.

Can I implement Markov chain attribution myself?

Yes if you have a data team. The math is well documented. Open-source implementations exist in R (the 'ChannelAttribution' package) and Python. Self-implementation requires full journey data in a warehouse.

How does Markov chain attribution survive iOS ATT?

Partially. The model still works when the underlying journey data is intact. iOS ATT and cookie deprecation gap the journey data, which degrades Markov estimates for channels that operated in the now-blind zones.

Should I trust Markov chain outputs?

Treat them as the best available approximation of causal contribution from observed paths. Validate against incrementality tests on the largest channels. If Markov and incrementality agree within 25 percent, the model is credible.

Sources cited on this page

  1. Google — Attribution models documentation in GA4.
  2. Avinash Kaushik — Occam's Razor blog on attribution models.
  3. Anderl, Becker, von Wangenheim, Schumann — "Mapping the Customer Journey", International Journal of Research in Marketing (2014).
  4. Anthropic / Google AI — Academic literature on attribution modeling.
  5. Real Growth Matters Inc. — Internal audit data on attribution-model performance, 2024-2026.