Measurement and attribution

Marketing mix modeling in plain English

Marketing mix modeling looks at weekly sales and spend over a couple of years and estimates how much of your sales came from each channel, from promotions, from seasonality, and from the baseline you'd get with no ads. It works without cookies and covers offline channels. It needs clean history, struggles with channels that always move together, and is too slow to steer daily.

Your attribution report says your podcast sponsorship drove 40 orders last month. It cost $16,000. That's $400 an order, so it's on the chopping block.

But you've noticed something. Every time a new episode drops, sales go up a little. Not just podcast-code sales. Everything. Brand search, direct, Meta. Your attribution can't see that, because nobody clicks a podcast.

Marketing mix modeling, usually called MMM, is built for exactly this. It ignores clicks and cookies. It looks at your whole business from above and asks: when spend moved, what happened to sales?

MMM answers a question attribution can't

Marketing mix modeling is a statistical model that explains your sales over time using your marketing spend and the other things that drive demand. It uses aggregated data, usually weekly totals, not individual customers.

Attribution follows a customer's clicks and hands out credit along the path. That's fast and detailed, but it has big blind spots. It can't see untracked channels like podcasts, TV, billboards or influencers without links. It struggles with views. Privacy rules keep cutting the paths it relies on. And it can't tell you how much you'd sell with no ads at all.

MMM fills those gaps. It answers questions like:

  • How much of my revenue is baseline, the sales I'd get from brand strength, word of mouth and repeat customers without any ads?
  • How much did each channel add, including offline ones?
  • Where am I hitting diminishing returns, so the next dollar buys less than the last?
  • What would happen if I moved $50k from one channel to another?

The cost of not knowing your baseline is big. If 60% of your sales would happen anyway, and your attribution credits ads for 90% of sales, you're overestimating your ads by a lot. That leads to overspending, especially when you scale.

How it works, without the math degree

At its core, an MMM is a regression. That's a method that finds how much each input moves an output. The output is weekly sales. The inputs are weekly spend per channel, plus things like promotions, holidays, price changes and seasonality.

Two ideas make MMM different from a basic regression.

Adstock, or carryover. Ads don't work only in the week they run. Some of the effect carries into later weeks as people remember you. A model with adstock lets this week's sales depend on spend from several past weeks too, with the effect fading over time.

Saturation, or diminishing returns. The first $10k in a channel reaches your best prospects. The tenth $10k reaches people who are less likely to buy or who've already seen you. A saturation curve lets each extra dollar do a little less than the one before.

The model also estimates baseline: what sales would be with all spend at zero. And it soaks up seasonality and promotions, so a December spike or a 30%-off sale doesn't get credited to whichever channel happened to be running.

The output is a decomposition: this much of your sales came from baseline, this much from each channel, this much from promos. From there you get a return on investment for each channel and a curve showing what more or less spend would do.

A worked example: what an MMM readout looks like

Say a coffee brand averages $200k in weekly sales. It spends $37k a week across four channels. After fitting a model on two years of weekly data, the decomposition looks like this. All numbers are weekly averages.

SourceWeekly contributionShare of salesWeekly spendROI (contribution ÷ spend)
Baseline$120,00060%n/an/a
Meta$35,00017.5%$15,0002.33x
Google search$20,00010%$10,0002.00x
YouTube$12,0006%$8,0001.50x
Podcast$8,0004%$4,0002.00x
Promotions$5,0002.5%n/an/a
Total$200,000100%$37,000

Three things jump out.

Baseline is 60%. Most of this brand's sales don't depend on this week's ads. That's normal for a brand with loyal customers. It also means the ads are responsible for $75k a week, not the $170k that the platforms probably claim.

The podcast looks fine. Attribution said $400 an order. Here it's $16,000 a month for about $32,000 of contribution a month, a 2x return. Its effect shows up across every channel, which is exactly what attribution missed.

Average ROI isn't the whole story. These ROIs are averages over all the spend. Budget decisions depend on the next dollar, the marginal return. Say the saturation curves show:

ChannelExtra spend testedExtra weekly salesMarginal ROI
Meta+$5,000+$6,0001.2x
Podcast+$2,000+$3,6001.8x

Meta has the highest average ROI but is near saturation. The next dollar there returns $1.20. The podcast's next dollar returns $1.80. If the brand needs at least about 1.5x to break even, the right move is to add to the podcast and hold Meta flat.

One more column real models give you: uncertainty. A good model reports a range, not one number. Say Meta's ROI is likely between 1.8x and 2.9x, and the podcast's between 0.9x and 3.4x. Meta's range is tight. The podcast's is wide. That wide range is a signal: before you double the podcast, run a test to narrow it.

What MMM is good for

Budget planning. MMM is built for quarterly and annual questions. How much should we spend? How should we split it? Where do returns flatten?

Channels without clicks. TV, radio, podcasts, out-of-home, print and influencers all show up in spend and sales data, even if they never show up in a click path.

Privacy-proof measurement. It needs no user-level data. Cookie loss, consent banners and app tracking prompts don't touch it.

Finding the baseline. Knowing what you'd sell with no ads is one of the most useful numbers a business can have.

Checking attribution. It's an independent view. When MMM and attribution agree, you can act with confidence. When they disagree, you know where to look.

Where MMM breaks

MMM is powerful and easy to misuse. These are the limits to respect.

It needs a lot of history. Google's Meridian docs suggest at least two years of weekly data for geo-level models and three years for national models. A young brand may not have it. A new channel with a few months of spend often can't be measured well yet.

Channels that move together blur together. If you always raise Meta and Google in the same weeks, the model can't tell which one caused the lift. It needs variation, weeks where one moved and the other didn't.

Small channels hide in the noise. A channel at 2% of spend may have a real effect that the model can't detect.

Demand-capture channels confuse it. Brand search spend rises when demand rises, because more people search your name. The model can mistake a symptom of demand for a cause. Brand search and coupon affiliates are better measured with tests.

It lags. MMM works on weekly totals and is usually refreshed monthly or quarterly. Refreshing too often can make results jump around. It can't tell you an ad set broke yesterday.

It's only as good as the inputs. Missing promo dates, broken spend history or mixed revenue definitions produce confident wrong answers. Your marketing data foundation decides the model's quality more than the algorithm does. A readiness check before modeling saves months.

Assumptions can steer results. Bayesian models use priors, which are starting beliefs about each channel. Good priors help. Careless ones can bias the answer. Always check how much the result depends on them.

Three ways to build one

MMMs come in a few flavors.

Bayesian MMM combines your data with prior beliefs, like a past lift test result, and reports uncertainty as ranges. It's the most common modern approach.

Frequentist MMM uses classical regression methods. It's often simpler and easier to explain, but less natural for folding in outside evidence.

Machine learning MMM uses more flexible algorithms to find complex patterns. It needs more data and is harder to interpret.

You don't need to build from scratch. Three free, open-source tools are widely used:

  • Robyn, from Meta, is an R package built on ridge regression with automated tuning. It can be calibrated with experiment results.
  • Meridian, from Google, is a Bayesian Python framework that supports geo-level data, reach and frequency, and experiment results as priors.
  • PyMC-Marketing, from PyMC Labs, is a Bayesian Python library with adstock and saturation functions, lift-test calibration and a budget optimizer.

All three need a capable analyst. The tool is the easy part. The data and the judgment are the work.

Where MMM fits in the bigger system

MMM isn't a daily steering wheel. It's a check on your daily numbers.

Attribution runs day to day because it's fast and detailed. MMM tells you, every month or quarter, how far off attribution is for each channel. Incrementality tests do the same with more causal power, but for one channel at a time. Together, they calibrate the daily number into one KPI you can trust. That's the idea behind unified measurement.

What to do Monday

  • Count your history. Do you have two-plus years of weekly spend by channel and weekly sales? If not, start storing it now.
  • Build a promo calendar for the same period. Dates, discount depth, launches. This is the most common missing input.
  • Check for variation. Find weeks where each major channel moved on its own. If your channels always move together, plan some deliberate changes.
  • List channels attribution can't see. Podcasts, TV, influencers, offline. These are where MMM adds the most.
  • Decide the question first. "How should we split next quarter's budget across five channels?" is a good MMM question. "Which ad set should I pause?" isn't.
  • Plan a test for your widest-range channel once you have a model.

An AI ad agent can use MMM-style thinking without a full model: judge channels on the next dollar, not the average, and respect that some sales would happen anyway.

The podcast stays

Go back to that $400-an-order podcast. Attribution couldn't see it because nobody clicks a podcast. MMM could, because sales moved when episodes dropped.

That's the value. MMM won't run your campaigns. It will stop you from cutting the channels that work in ways your tracking can't see.

Is Your Company Ready for Marketing Mix Modeling? A 7-Check Test

Is your company ready for marketing mix modeling (MMM)? Run 7 checks on your data, compare Meridian, Robyn and PyMC-Marketing, and see what to fix first.

Incrementality testing: would that sale have happened anyway?

Incrementality testing compares people who saw your ads with a holdout who didn't, to count the sales ads actually caused. How it works, with a worked example.

Google Meridian MMM: what it's good for, and where it isn't

Google Meridian is a free Bayesian marketing mix model with geo-level data, reach and frequency, and experiment-based ROI priors. What it does well and where it fails.

Marketing data foundation: the boring layer behind every budget call

A marketing data foundation is the spend, orders, paths, promos and surveys every model depends on. Here's what to collect, where to keep it and what breaks.

Have a correction or a question about the workflow? Contact GaaS. Read our editorial standards for sourcing and example conventions.