What is marketing mix modeling?

Marketing mix modeling, or MMM, looks at your business from the top down. Instead of following each customer's clicks, it lines up weekly totals: how much you spent on each channel, how much you sold, and what else was going on, such as a holiday, a price change or a competitor's sale. A statistical model then estimates how much of your sales each channel likely drove.

That is the opposite of click-based attribution, which tries to credit individual ads with individual sales. If you are new to that idea, start with marketing attribution explained. Because MMM uses totals, it never needs cookies, device IDs or consent banners. As browsers and phones share less data about people, that makes it one of the few methods that keeps working.

How much data does a marketing mix model need?

More than most small businesses expect. Google's Meridian documentation recommends at least two years of weekly data for models that split results by region (geo-level), and three years for a single national model. If you only have monthly data, it recommends at least three years, and warns that monthly data can produce unstable results.

For each week, you need:

  • Sales or another outcome, ideally from your own records rather than ad platform reports.
  • Spend on each channel, such as search, social, email and TV.
  • Outside factors, called controls: prices, promotions, holidays and seasonality.
  • Consistency. If you changed how you count sales halfway through, the model will learn the wrong lesson.
Data points per estimated item, by model setup
  • 26 items, 2 years4
  • 26 items, 3 years6
  • 11 items, 2 years9.5
  • 11 items, 3 years14.2

A worked calculation: weeks of data (104 or 156) divided by the number of items the model estimates, using Google's 26-item example and its simplified 11-item version (3 channels, 6 controls, 2 knots).

Source: Worked example

Why small budgets struggle with MMM

Every channel, control and time-trend setting you add is something the model has to estimate. Google's guide to the amount of data needed gives a clear example: 12 media channels, six controls and eight time-trend settings (Google calls them knots) make 26 things to estimate. With two years of weekly data, that is 104 data points, or about four per item. Google calls that sample size "too low to estimate the model reliably."

Its suggested fix is to simplify, for example by combining the 12 channels into three and cutting the knots to two. The chart below shows how much that helps. The lesson for a small business is practical: group your spending into a few big buckets, like paid search, paid social and everything else, before you try to model it.

Free modeling tools exist, but they are not push-button

In January 2025 Google made Meridian available to everyone as an open-source model, with over 20 measurement partners trained to help companies use it. Meta offers Robyn, which it describes as an open-sourced MMM package from Meta Marketing Science.

Both are real, well-documented tools. Both also expect someone who can write code, prepare data and judge whether the output makes sense. It is fair to remember that both come from companies that sell ads. The code is open, so a skilled analyst can check the assumptions, but a model's answer is only as good as the data and settings behind it.

What you get back is not one exact number per channel but an estimate with a range around it. Google's documentation warns that thin data can produce wide ranges. A very wide range is the model telling you the data cannot answer that question yet, which is useful to know before you move a budget based on it.

A lighter version you can start this month

You can get much of the value without a full model. Build one weekly sheet with spend by channel group and revenue you can verify, such as Stripe payouts or store orders. Track blended efficiency, covered in blended ROAS and MER, and watch how it moves when spend shifts.

When a channel looks important, test it directly: pause it in some regions or weeks and see whether sales fall. Our guide to incrementality testing walks through simple versions. Matrix ROI, made by Smith App Studio, keeps ad spend beside verified revenue day by day in one currency and exports it to Excel or CSV, which is exactly the clean history a future model will need.