Tracking

    Meridian vs Robyn: Which Open-Source Marketing Mix Model Should You Use?

    Qudees Kiani, founder · · 8 min read

    Short answer

    Meridian is Google's open-source marketing mix model, written in Python and Bayesian: it gives each channel's ROI as a range. Robyn is Meta's, written in R, and uses ridge regression to return several candidate models for you to choose from. Meridian suits teams with geo data and statistics skills. Robyn is quicker to a first answer.

    Cover: Meridian or Robyn: which MMM should you use?

    Ad platforms each report their own sales, and together they claim more than you sold. A marketing mix model answers a different question: what did each channel add? Google and Meta have both released free, open-source models, Meridian and Robyn. In a Meridian model we built for a US online store, email and Google Ads returned more than 7 times their cost, and Meta 1.8 times. The more useful finding was which of them still had room to grow. This guide compares the two tools and shows what you get out of one.

    What a marketing mix model does

    A marketing mix model, or MMM, looks at your history week by week: what you spent on each channel, what else was going on, and what you sold. From those patterns it estimates how much of your revenue each channel caused. It needs no cookies and no user tracking, which is why it has come back into use.

    It answers questions click tracking can't. How much would you lose if you paused a channel? Where does the next $1,000 work hardest? It's also the natural check on platforms that each claim the same sale.

    Meridian vs Robyn at a glance

    MeridianRobyn
    Made byGoogleMeta
    LanguagePython 3.11 to 3.13, installed as google-meridianR, from CRAN. A Python interface is in beta and still needs R
    LicenceApache 2.0MIT
    MethodBayesian model. The output is a distribution for every estimateRidge regression, with an evolutionary search over settings
    What you get backOne model, with ROI and credible intervals for each channelA set of best candidate models. The analyst picks one
    Using experimentsPast experiment results can be set as ROI priorsCalibration with lift tests is strongly recommended
    Geographic dataBuilt for geo-level data, and works on national data tooUsually run on national data
    ExtrasReach and frequency as inputs, budget optimisationProphet for trend, seasonality and holidays, a budget allocator
    HardwareGoogle recommends at least 1 GPURuns on a normal machine with R and the Nevergrad library
    Diagram comparing two approaches: Meridian takes data and prior knowledge and returns one model with a range for each channel's ROI, while Robyn runs thousands of candidate models and returns a short list for the analyst to choose from(opens the full-size image in a new tab)
    DiagramMeridian gives one model with a range around each number. Robyn gives a short list of models and asks you to choose.

    How the two methods differ

    Meridian is Bayesian. You start with priors, a sensible range for each channel's return, and the model updates them with your data. Google's description is that you can "inject your existing business knowledge into the model through priors". Every result comes with a credible interval, so you can see when the model is confident and when it's guessing.

    Robyn searches. It fits thousands of ridge regression models with different settings for how ads decay and saturate, and scores each on how well it predicts and how plausible its split of credit is. It then hands you the best few. Robyn's guide is clear that a person chooses between them, and that calibrating against a lift test makes that choice much safer.

    Neither approach removes judgment. Meridian puts it at the start, in the priors. Robyn puts it at the end, in model selection.

    How much data each one needs

    Robyn's guide asks for at least two years of weekly data, and about ten observations for every variable in the model. Meridian's docs avoid a fixed minimum, and say the most reliable check is to "run the model and evaluate the width of the credible intervals". They do warn that a national model with many channels can run short of data, and suggest combining small channels or adding history.

    Clean inputs matter more than the tool

    both models learn from your revenue and spend history. If GA4 revenue is 9% short of your orders, or spend is missing for one channel, the model will be confidently wrong. Use order data from your store or backend as the revenue, not a tracking tool's number.

    What a Meridian model showed for one store

    We built a Meridian model for a US online store, on about a year of weekly data across Google Ads, Meta, Bing, email and SMS. The model explained 89% of the weekly variation in revenue, and its weighted error was 11%.

    ChannelROIMarginal ROICost per incremental $1 of revenue
    Email7.5x3.1$0.14
    Google Ads7.3x3.7$0.14
    SMS2.2xlow$0.73
    Meta1.8xlow$0.68
    Bing1.6xlow$0.82

    ROI is the average return on everything spent so far. Marginal ROI is the return on the next dollar. The gap between them is the point of the exercise. Email had the best average, but its curve was flattening: more email wouldn't add much. Google Ads had almost the same average and the highest marginal return, so it was the channel with room to scale. Meta's curve flattened early.

    Chart of ROI and marginal ROI by channel from a Meridian model: Email 7.5 and 3.1, Google Ads 7.3 and 3.7, SMS 2.2, Meta 1.8 and Bing 1.6(opens the full-size image in a new tab)
    Real dataEmail has the best average return, Google Ads the best return on the next dollar. From a Meridian model we built for a US online store, about a year of weekly data to August 2025. Store name removed.

    The model also gave a range for each number. The ranges for Google Ads and email were tight. For Meta, Bing and SMS they were wide, which is the model saying it has less evidence there. A platform dashboard never tells you that.

    Which one should you use?

    Your situationBetter fitWhy
    Analyst comfortable in R, national data, want a first model soonRobynLower setup effort, and Prophet handles seasonality for you
    Data by region or market, and someone who knows Bayesian statisticsMeridianGeo-level data adds information, and priors hold it together
    You run lift or geo experimentsEitherMeridian takes them as priors, Robyn as calibration
    Lots of YouTube or video spendMeridianIt can model reach and frequency
    No analyst at allNeither yetFix tracking first, then get help. A bad model is worse than none

    This table is practitioner judgment, ours and others', not a claim from Google or Meta. Many teams run both once and compare. If the two agree on which channels are strong, you can trust the direction.

    What to question in any MMM output

    • The ranges. A channel with ROI 2.0 and a range of 0.5 to 4.0 hasn't been measured yet.
    • The baseline. Check how much revenue the model says would happen with no marketing, and whether that makes sense for your brand.
    • Channels that move together. If you always raise Google and Meta in the same weeks, no model can separate them. Vary one at a time.
    • Brand search. It often takes credit that belongs to other channels. Model brand and non-brand separately.
    • The fit. Predicted revenue should track actual revenue through peaks such as Black Friday.

    Myth

    An MMM replaces conversion tracking.

    Reality

    It needs it. The model reads spend and revenue you collected, and you still need click-level tracking for bidding and for day-to-day decisions. MMM tells you how to split the budget between channels a few times a year. Tracking runs the channels in between.

    Quick check

    Quick check

    • You have weekly spend for every channel, going back at least a year, ideally two or more.
    • Your revenue series comes from orders, not from an analytics tool.
    • Promotions, price changes and stock problems are recorded by week.
    • Someone on the team can run and question a statistical model.
    • You've decided which budget decision the model is meant to inform.

    Ask yourself

    If you had to move 20% of your budget tomorrow, which number would you base it on?

    A mix model is only as good as the revenue and spend it's fed. The free Tracking audit checks the numbers underneath: whether GA4 and Google Ads count each purchase once, and how GA4 revenue compares with your orders. Run my tracking audit

    Frequently asked questions

    What is Google Meridian?

    Meridian is Google's open-source marketing mix model. It's a Python library that uses Bayesian statistics to estimate each channel's return, with credible intervals, response curves and budget recommendations. It's free to use under the Apache 2.0 licence.

    What is Robyn?

    Robyn is Meta's open-source marketing mix modelling package for R. It uses ridge regression and an evolutionary algorithm to test many model settings, then returns the best candidates for an analyst to choose from. It's free under the MIT licence.

    Is Meridian better than Robyn?

    Neither is better everywhere. Meridian handles geo-level data, priors and reach and frequency, and reports uncertainty directly, but needs more statistical skill. Robyn is quicker to set up and well documented for analysts who use R. The quality of your data matters more than the choice.

    How much data do I need for a marketing mix model?

    Robyn's guide asks for at least two years of weekly data. Meridian's docs give no fixed minimum and recommend judging by the width of the credible intervals, adding history or combining small channels if they're too wide.

    Are Meridian and Robyn biased towards Google and Meta?

    Both are open source, so the code can be inspected, and you control the data and settings. Bias is more likely to come from your inputs and priors than from the code. Running both and comparing is a reasonable check.

    What's the difference between ROI and marginal ROI?

    ROI is the average return on all the money spent on a channel. Marginal ROI is the return on the next dollar. A channel can have a high ROI and a low marginal ROI, which means it works but is close to saturated.

    Sources

    Published

    Share
    Qudees Kiani, founder of Swishiy

    Qudees Kiani

    Founder of Swishiy. Five years of marketing measurement work across Google Ads, Meta and GA4, for ecommerce and lead-gen businesses.

    Book a 30-minute call

    Is your Google Ads data telling the truth?

    The free auditor checks tracking, brand vs non-brand and wasted spend. Automated, Google Ads only, 60 seconds.

    Run the free audit