Media mix modeling for ecommerce: what it can and cannot tell you

Media mix modeling for ecommerce: the data it needs, what it can answer, how it differs from attribution and tests, and when it is too early.

Reviewed for accuracy by Teo Yordanov · October 2026

Media mix modeling for ecommerce: what it can and cannot tell you

A brand spends money on Google, Meta, email and a little influencer work, and each platform's dashboard says it drove the best return. Add the platform numbers together and they claim more revenue than the store took. Someone then says the fix is media mix modeling, and a vendor deck promises to settle it. It can help with part of that problem. It will not settle the rest, and on the wrong data it makes things worse.

Media mix modeling (MMM) is a statistical model that explains your weekly sales using your weekly spend by channel, plus seasonality, pricing and promotions. It tells you roughly how much each channel contributes and where extra money stops paying back. It needs about two years of steady weekly data with real variation in spend. It answers budget-split questions, not campaign questions, and it is only as good as the history fed to it. This article covers what it is, what it needs, how it differs from attribution and tests, and when it is too early.

This is written for the founder or marketing lead of a US ecommerce brand spending across several channels, deciding whether MMM is worth the effort. It is a decision guide, not a modeling tutorial.

What an MMM actually is

Take a table with one row per week. One column is total sales. The other columns are what you spent in each channel that week, whether you ran a sale, the time of year, and anything else that moves demand. A regression model fits that table and estimates how much of the movement in sales each column explains.

Two ideas make it more than a spreadsheet trend line. Ad effects carry over: money spent this week still has an effect next week. And returns diminish: the tenth thousand dollars in a channel buys less than the first. Good models estimate both.

There is no tracking involved. Meta describes its open-source model, Robyn, as needing no personal data and no individual-level logs, and not depending on cookies or pixel data. Google publishes its own open-source model, Meridian. Both are free to inspect, which is useful, but both are published by advertising platforms, which is worth remembering when you read a result.

What data it needs

Meta's analyst guide for Robyn is specific, so I lean on it here. It asks for a minimum of two years of historical weekly data for robust results, and four to five years if you only have monthly figures. It also recommends exposure measures such as impressions as model inputs where you have them, with spend as a fallback.

A small illustrative example shows why that matters. Say you have 104 weeks of data. The same guide gives a rule of thumb of one independent variable for every ten observations, which by my arithmetic caps you near ten variables in total. Four paid channels, email, a promotion flag, a holiday flag, price and a seasonality term already use that up. Every extra channel you add makes the model less able to tell any of them apart.

The data you need, in plain terms:

  • A weekly sales series you trust, ideally net of returns and without tax or shipping.
  • Weekly spend per channel, back at least two years, with no gaps or restatements.
  • A record of promotions, price changes, stockouts and site outages. These move sales for reasons that have nothing to do with ads.
  • Any variable that moves demand independently, such as organic search demand.

What it can tell you

The honest list is short, and each item is about the whole mix, not a single ad.

  • Roughly how much of sales each channel contributes, with a range around the estimate.
  • Where a channel is saturated, meaning more spend adds little.
  • A modeled answer to "what happens if we move 15% of budget from channel A to B", as a scenario to test, not a forecast.
  • Contributions from channels with no click trail, because it works from totals rather than individual journeys.

That last point is its real advantage over platform attribution, where each platform credits sales under its own rules and the combined claims exceed the store's net sales.

What it cannot tell you

It will not tell you which ad, audience or creative worked. The grain is too coarse, and one week of data per row cannot see inside a campaign.

It does not prove causation. A regression finds patterns in history. If you always raise spend on Meta in the weeks you run a big sale, the model cannot cleanly say whether the sale or the ads did the work. This is why Meta's guide strongly recommends calibrating a model with experimental results considered ground truth, such as geo experiments or lift tests.

It is not fast. Results describe the past, so they inform the next budget round, not tomorrow's bid.

The named failure: a model on flat spend

The failure I would lead with is running a model on a year of data where spend barely moved. Imagine, purely as an illustration, a brand that spent about $40,000 a month on Google and $25,000 on Meta, month after month, with the odd small tweak. Both channels rise and fall with the same seasonal curve, because that is when you spent and when customers bought.

The model cannot separate them. Meta's guide says this directly: there needs to be some variation in the data, and if a channel's activity stays constant for the whole period, the model has difficulty isolating its impact. It also warns about multicollinearity, where inputs that move together are hard to tell apart. Robyn uses ridge regression to handle it, but no method can invent variation that was never in the data.

The dangerous part is that the output does not look broken. You still get a clean chart saying, say, Google contributes 58% and Meta 31%. The numbers look precise and mean little. If you ever see a model result with no ranges around it, or contributions that change wildly when you drop one week, assume this is the cause.

How it differs from attribution and incrementality tests

Three tools, three questions.

Tool Question it answers Weakness
Platform attribution Which ads did the converting customer touch? Each platform credits itself; blind to channels it cannot see
Incrementality test Did this channel cause extra sales in this window? One channel at a time; needs a clean design
MMM How should the whole budget be split? Correlational; needs long, varied history

I would normally run incrementality tests before an MMM, because a test gives a causal answer on the one channel you are least sure about, and it needs far less history. The tests then become the anchor for the model.

Before you build one: fix the inputs

An MMM inherits every flaw in your sales and spend data. If purchase values are wrong, the dependent variable is wrong. If your KPI definitions shifted halfway through, the series has a break in it.

Do the dull work first. Confirm weekly net sales from the store itself, not from a tag. Export spend by channel from the ad accounts and reconcile it to invoices. Write down every promotion with dates. A day spent on that is worth more than a week spent tuning the model, and it usually exposes tracking problems that need fixing regardless, the sort of work our analytics service starts with.

When MMM is the wrong move

It is premature in three situations.

Under two years of weekly history. Below the amount Meta's guide treats as a minimum, the model is fitting noise. Wait, and in the meantime deliberately vary spend so that later data can teach the model something.

Spend concentrated in one channel. If most of the budget sits in one place, there is little to split. A cheaper question is whether that one channel is incremental, which a holdout answers directly.

No stable weekly sales series. A store that migrated platforms, changed its tracking, or has big stockout gaps has a series the model will misread. Sort that first.

It is also overkill if the decision on the table is small. Choosing between two campaigns inside one platform does not need a model of your whole business.

A sensible order of operations

For a brand roughly in the range of a few million to a few tens of millions a year online, this order works best:

  1. Get net sales and purchase values right, and reconcile spend to invoices.
  2. Read CAC and contribution margin so you know what a good return means for you.
  3. Run one or two incrementality tests on the channels you doubt most.
  4. Start varying spend on purpose, in planned steps, and record it.
  5. Build an MMM once you have two years of varied weekly data, and calibrate it with the test results.
  6. Use the output to inform the next budget round, then check it against reality.

Treat the model as one voice in the room. If it agrees with your tests and your margins, act with more confidence. If it disagrees, find out why before moving money.

If you would like someone to look at your data and say honestly whether it is ready for a model, or whether a test and a tidy-up would serve you better, request a free audit.

Sources.

  1. Robyn: Analyst's guide to MMM — Meta Marketing Science (accessed November 2026)
  2. Robyn: open-source Marketing Mix Modeling — Meta Marketing Science (accessed November 2026)
  3. Meridian: Google's open-source marketing mix model — Google for Developers (accessed November 2026)

Frequently asked questions.

What is media mix modeling in plain terms?
It is a statistical model that looks at your sales week by week alongside what you spent in each channel, and estimates how much of the sales movement each channel explains once seasonality, promotions and pricing are accounted for. The output is a view of each channel's contribution and its diminishing returns, which you use to decide how to split a budget. It does not follow individual customers, so it does not depend on cookies or pixels.
How much data does an MMM need?
Meta's guide to its open-source Robyn model says a robust result needs a minimum of two years of historical weekly data, and recommends four to five years if only monthly data exists. It also asks for variation in spend and roughly ten observations per input variable. A brand with one year of data, or with spend that barely moved, is not ready.
How is MMM different from attribution in Google Ads or Meta?
Platform attribution follows individual conversions back to ad interactions the platform can see, and each platform credits sales under its own rules. MMM works from aggregate weekly totals and can include channels with no click trail, such as offline media, promotions and seasonality. Neither is a ledger. They answer different questions and disagree often.
Is MMM better than incrementality testing?
They are not rivals. An incrementality test, such as a geo holdout, measures the causal effect of one channel in one window. An MMM estimates every channel at once from history but only correlates. Meta's Robyn guide strongly recommends calibrating the model with experimental results treated as ground truth, which is how the two work best together.
Are Google Meridian and Meta Robyn good enough for a mid-size brand?
Both are open-source models published by the platforms, so the code and method can be inspected. Neither removes the need for good inputs or someone who can read the output critically. Note that each is owned by an advertising platform, so a second opinion from experiments is sensible. The software is rarely the constraint; the data and the judgment are.
How often should an MMM be refreshed?
Treat it as a periodic planning exercise, not a live dashboard. A refresh when you set the next budget, plus after any large change in channel mix, is a reasonable rhythm. Re-running it every week on the same history mostly produces noise. There is no sourced benchmark for the right interval, so choose a rhythm tied to when you actually reallocate money.