Vai al contenuto

Marketing Mix Modelling for DTC Brands: When It Pays Off

8 min lettura
PR

Priya Raghunathan

E-commerce Performance Manager

Marketing mix modelling, or MMM, estimates how much each advertising channel adds to sales by relating weekly spend to weekly revenue over a long period. It does not track people, so cookie loss and iOS opt-outs do not break it. For a DTC brand it answers a question no ad platform will answer honestly: if I moved budget from one channel to another, what would happen to total sales?

Quick answer: An MMM needs weekly sales, weekly spend and exposure by channel, and context such as promotions, prices and holidays. Google's Meridian documentation recommends at least two years of weekly data for geo-level models and three years for national ones; Meta's Robyn guide asks for at least two years of weekly data. Below that, or with only one or two channels, MER and lift tests serve you better.

This guide sits next to our other measurement pieces. For causal tests on a single channel, see incrementality testing for ecommerce. For the store-level ratio most brands should watch first, see MER vs ROAS and blended CAC.

What does marketing mix modelling measure?

Marketing mix modelling measures the contribution of each channel to a business outcome, usually revenue or orders, by fitting a model to aggregated time series. Meta's Robyn guide puts the core advantage plainly: "MMM does not need user level data and instead it runs off aggregated data", which is why it "overcomes signal loss" (Robyn analyst's guide).

Two ideas make MMM different from a simple regression of sales on spend:

  • Adstock, or carryover. An ad seen this week can still drive a sale next week. Robyn's feature documentation describes adstock as "the hypothesis of ads carryover" and offers geometric and Weibull shapes.
  • Saturation, or diminishing returns. The tenth thousand euros on a channel buys less than the first. Robyn uses a Hill function to model this curve.

The output is a set of channel contributions, return estimates and response curves. The curves are the useful part: they show where each channel is close to saturation and where extra budget still has room to work.

What data does an MMM need?

An MMM needs a clean weekly table with one row per week and one column per input, and most of the work in an MMM project is building that table. Google's Meridian guide on collecting data and Meta's Robyn guide agree on the main blocks:

InputWhat to collectNotes from the docs
KPINet sales, orders or conversions per weekMeridian requires a KPI you can add up across time and regions
Paid mediaSpend per channel per weekMeridian uses spend as the denominator for return on investment
ExposureImpressions per channel per weekRobyn advises exposure metrics and says to avoid clicks, which miss view-through effects
Promotions and pricePromo flags, discount depth, price indexRobyn lists price and promotional activity as common context variables
Seasonality and holidaysHoliday calendar, key sales eventsMeridian adjusts seasonality and trend automatically; Robyn uses Prophet for it
Organic and otherEmail sends, organic social, competitor activityRobyn can model organic activity alongside paid

On granularity, both tools prefer weeks. Meridian's guide says "Collect data at the weekly level" and accepts daily or monthly data only as a fallback. Robyn says daily data "can also be acceptable" with extra validation.

How much history do Meridian and Robyn recommend?

History is the requirement that rules most DTC brands in or out. The official guidance, as published today:

  • Google Meridian: "historical data should be a minimum of two years' worth of weekly data for geo-level models" and "three years of data for national-level models" (Meridian data guide).
  • Meta Robyn: "an MMM will need a minimum of two years of historical weekly data". With only monthly data, Robyn recommends "more than two years (e.g. 4-5 years)" (Robyn analyst's guide).

Robyn also gives a rule of thumb for model size: "1 independent variable : 10 observations". Meridian's page on the amount of data needed makes the same point with an example: two years of weekly national data gives 104 data points, four per parameter in its sample model, and it calls that "too low to estimate the model reliably".

A quick hypothetical check: a brand with 104 weeks of national data and Robyn's 1:10 ratio can support about 10 variables. Five paid channels, a promo flag, a price index and two holiday markers already make nine. Add more channels and the model runs out of data.

Google Meridian vs Meta Robyn

Google Meridian and Meta Robyn are the two best-known open-source MMM tools, and both are free to download from GitHub. They differ in method, language and what they expect from your team.

Google MeridianMeta Robyn
What its makers call it"an MMM framework that enables advertisers to set up and run their own in-house models""an experimental, AI/ML-powered and open sourced Marketing Mix Modeling (MMM) package"
LicenceApache-2.0MIT
LanguagePython (3.11 to 3.13), installed with pipR, with a beta Python API that needs the R package
MethodBayesian, with priorsRidge regression tuned with Nevergrad
Data levelGeo-level encouraged, national supportedBuilt for granular data with many variables
Experiment calibrationLift results can enter as priorsLift results enter as a calibration objective
ExtrasModels reach and frequency as well as impressionsBudget allocator for target ROAS or CPA

Sources: Meridian on GitHub, Robyn on GitHub and the Robyn features page. Google made Meridian available to all marketers and data scientists on 29 January 2025. The Meridian repository also recommends at least one GPU, which tells you something about the compute it expects.

Commercial platforms sell MMM too. Northbeam's homepage lists a product called Media Mix Modeling+, and Rockerbox's homepage lists "MTA, MMM, and Incrementality Testing". Our Northbeam alternatives guide compares what these vendors publish, including pricing where it is public.

How is MMM different from platform attribution and lift tests?

MMM, platform attribution and incrementality tests answer different questions, so a DTC brand that treats them as rivals usually ends up trusting the wrong number for the wrong decision.

Marketing mix modelling compared with platform attribution and incrementality tests
Three ways to measure ad impact
  • Platform attribution tracks clicks and views per user and credits conversions inside one platform. It is fast and granular, which makes it right for daily optimisation, but every platform credits itself, so the totals overlap. Our guide to ad platforms double counting conversions shows how.
  • Incrementality tests hold out a group of people or regions and measure the difference. They are causal, but each one covers one channel over a few weeks. See incrementality testing for ecommerce.
  • Post-purchase surveys ask customers where they heard of you, which captures channels pixels miss, such as podcasts. See post-purchase survey attribution.
  • MMM looks at all channels, promotions and seasonality together, over years. It is slow to build and slow to update, and it is better at budget allocation than at choosing an ad.

The methods also feed each other. Robyn's guide recommends calibrating with experiments, run "on an ongoing and regular basis", and Google's launch post says Meridian can take incrementality results as priors. A lift test on Meta gives the model a grounded number for one channel; the model then spreads that knowledge across the rest of the mix.

When is a DTC brand too small for MMM?

There is no official revenue threshold for MMM, so the honest test is whether your data meets the published minimums and whether anyone can maintain the model. A brand is probably too early if several of these are true:

  1. Less than two years of weekly history. That is the floor in both the Meridian and Robyn documentation, and three years for a national Meridian model.
  2. One or two paid channels. If 90 percent of spend is on Meta, MER and a Meta lift test answer the budget question faster.
  3. Spend that never moves. Meridian's guide notes that "insufficient variation in the media spend adversely impacts national models". A model cannot learn what a channel does if its budget stayed flat for two years.
  4. Big structural breaks. A rebrand, a new product line or a switch from Shopify Payments to a new checkout can make older weeks unlike recent ones.
  5. No analyst to own it. Both tools are code libraries. Someone has to build the data, check the fit and refresh it.

If that describes you, use MER and blended CAC for the monthly view, run a lift test before big budget shifts, and add a post-purchase survey. Meanwhile, start collecting the weekly table, because history is the one input you cannot buy later.

How to prepare your data for MMM now

Preparing data now is worth doing even if the model is a year away, because the inputs are cheap to record each week and impossible to rebuild accurately later. A simple routine:

  1. Create one weekly sheet with columns for net sales, orders, new customers, spend and impressions per channel, a promo flag, average discount and a holiday flag.
  2. Use one currency and one week definition (for example Monday to Sunday) for every row.
  3. Take spend from the platforms and sales from the store, never revenue as reported by the ad platforms.
  4. Log events in a notes column: tracking changes, stock-outs, price changes and launches. These explain odd weeks later.
  5. Vary spend on purpose once in a while, for example by pausing a channel in some regions, so the data contains the variation a model needs. A planned geo test does double duty here.

A brand that starts this sheet today with, say, four channels has the minimum two years of weekly history by November 2028, plus a log of every promotion in between.

Where Wevion fits

Wevion does not build marketing mix models, and it does not decide attribution or deduplicate conversions. What it can do is keep the spend side of your weekly table consistent across platforms.

Wevion connects Meta, Google, TikTok, Snapchat, Taboola and Outbrain ad accounts through each platform's official API, syncs spend and results about every 15 minutes, and shows every account in one view, so the per-channel spend an MMM needs comes from one place instead of six exports.

Cross-channel analytics lets you filter by date and account and converts every account into one currency at each day's exchange rate, which keeps a multi-currency spend history comparable week by week. Store sales still come from your shop.

You can try it on your own ad accounts with 14 days free on any plan, no card.

Key takeaways

  • Marketing mix modelling estimates each channel's contribution from weekly totals, so it works without user-level tracking.
  • Collect weekly sales, spend and impressions per channel, promotions, prices and holidays.
  • Google's Meridian guide asks for at least two years of weekly data for geo models and three for national ones; Meta's Robyn guide asks for at least two years.
  • Robyn's rule of thumb is ten observations per variable, which caps how many channels a short history can support.
  • Meridian is a Bayesian Python framework; Robyn is an R package with ridge regression and a budget allocator.
  • Use MMM for budget allocation, lift tests for calibration and platform attribution for daily work.
  • Too small for MMM? Track MER and blended CAC, run lift tests and start the weekly data sheet now.
Torna al Blog
Condividi

Domande Frequenti

The Ad Signal

Insight settimanali per media buyer che non tirano a indovinare. Una email, solo sostanza.

Pronto ad Automatizzare le Tue Operazioni?

Inizia a lanciare campagne in blocco su ogni piattaforma. Prova Wevion gratis per 14 giorni su ogni piano, senza carta.