An analyst asks for two years of weekly spend, orders and promotions so she can build a marketing mix model. Simple request. Then you start looking.
Meta history is in exports someone saved to a laptop. Google Ads moved to a new account last spring and the old one belongs to a former agency. The sale calendar lives in a Slack thread. Nobody knows which "revenue" the finance sheet means. Three weeks later, she builds the model on what she could find, and fills the gaps with guesses.
That model will now help decide where a seven-figure budget goes. This is why the least exciting part of measurement matters most.
Every number you budget on sits on a table you probably haven't checked
A marketing data foundation is the set of raw datasets every measurement method draws from. Attribution reads it daily. MMM reads it weekly. Lift tests read it before and after. Surveys add to it.
If the foundation is wrong, everything above it is wrong in the same direction. And nobody notices, because the reports still look clean.
Two facts make this urgent rather than academic.
Most of it can't be rebuilt later. If you didn't capture the UTM on an order in March, you can't get it back in November. If no one logged the dates of last year's promos, the model will think your ads caused those spikes.
Platforms don't keep everything forever. Meta's Ads Insights API returns totals for up to 37 months, with shorter limits on some breakdowns, like 13 months for hourly data and 6 months for frequency. In GA4, a standard property can keep user-level and key event data for 2 or 14 months in explorations. If you want a longer history, you have to store it yourself.
The cost of skipping this shows up as bad budget calls you can't trace. Attribution blames the wrong channel. The MMM credits ads for a sale. A lift test looks like a win because it overlapped a launch. You'll see one of these in the worked example below.
The nine datasets that make up the foundation
You don't need everything on day one. You do need to know what "everything" is.
| Dataset | What it is | Who uses it |
|---|---|---|
| Marketing spend | Daily cost by platform, campaign and ad | All methods |
| Platform-reported results | What each platform says it drove | Comparison and inflation checks |
| Path to conversion | Tracked touches before each order | Attribution |
| Sessions | Site visits with source, medium, campaign | Attribution, funnel analysis |
| Outcomes | Real orders, revenue, new vs returning, refunds | All methods, as the truth |
| Business drivers | Promos, discount codes, launches, price changes, emails, PR | MMM, tests, sanity checks |
| Survey responses | "How did you hear about us?" answers per order | Calibration, untracked channels |
| Search volume | Branded and category search trends | MMM, demand signals |
| View-through data | Impressions and video views without a click | Attribution, MMM |
A few notes on the ones teams skip.
Outcomes come from your store or backend, never from an ad platform. That's the total every other number has to reconcile to. Capture new vs returning customer flags and refunds too. Revenue net of refunds is a different business than gross.
Business drivers are the most neglected and the most damaging when missing. A promo calendar is a spreadsheet with dates, discount depth and channels. It takes ten minutes a month. Without it, every model confuses your sales with your ads.
Search volume is a free demand signal. Branded search tells you whether awareness is growing. Category search tells you whether the whole market is up or down.
Beyond the core nine, competitor promotions, pricing and launches are worth logging when you can. They're optional. The core nine are not.
A worked example: one missing column, one expensive mistake
Say an outdoor gear brand normally sells about $100k a week on $20k of weekly Meta spend. In April, the team runs a four-week 25%-off sale. They also double Meta to $40k a week to push it. Weekly sales jump to $180k.
Here's what a model sees with no promo data.
| What the model knows | Normal weeks | Sale weeks | Change |
|---|---|---|---|
| Meta spend per week | $20,000 | $40,000 | +$20,000 |
| Sales per week | $100,000 | $180,000 | +$80,000 |
| Implied return on extra spend | $80,000 ÷ $20,000 = 4.0x |
With nothing else to explain the jump, all $80k goes to Meta. A 4x return on extra spend says "scale Meta now."
Now add the promo calendar. Last autumn, the brand ran a similar sale with flat ad spend, and weekly sales rose about 50%. So the discount alone likely explains about $50k of the April jump.
| What the model knows | Amount |
|---|---|
| Total jump in weekly sales | $80,000 |
| Explained by the sale (about 50% of $100k) | $50,000 |
| Left for the extra Meta spend | $30,000 |
| Return on the extra $20,000 | $30,000 ÷ $20,000 = 1.5x |
Now the profit test. The brand keeps 50% of each sale after costs, so break-even ROAS is 1 ÷ 0.50 = 2.0x.
- Without promo data: 4.0x looks great. The team adds $20k a week to Meta year-round.
- With promo data: 1.5x is below break-even. Every extra $20k brings about $30k of sales, or $15k of margin. That's a $5k loss per week.
Over a year, that's about $260k lost from one missing spreadsheet. The model wasn't wrong. It was answering with the data it had.
This is also why MMM readiness is mostly a data question, not a modeling one.
Where to keep it: spreadsheet, pipeline or warehouse
There are three common ways to gather all this, and each one is fine at a certain size.
Manual exports into a spreadsheet. Cheap and fast to start. It breaks when one person is on vacation or a column header changes. Fine under a few channels and modest spend.
An ETL tool. ETL stands for extract, transform, load. These tools pull data from ad platforms, your store and analytics into one place on a schedule. You pay a subscription and lose the manual work.
A data warehouse. A central database, like BigQuery or Snowflake, where marketing data sits next to orders, finance and product data. GA4 can export raw event data to BigQuery, which also gets around the retention limits in GA4's own interface.
A warehouse earns its keep in three ways. Other teams can reach marketing data through their BI tools. Analysts can run custom analyses without begging for exports. And you can join marketing data with non-marketing data, like margins, returns and subscription churn. That last one is where the real answers live.
You don't need a warehouse to start. You do need one owner, one location and one schedule.
The traps that quietly corrupt a clean-looking foundation
Even teams with a warehouse get these wrong. Each one makes numbers disagree for reasons that have nothing to do with marketing.
Different definitions of the same word. "Revenue" can mean gross, net of discounts, net of refunds, with or without tax and shipping. "Conversion" can mean purchase, lead or sign-up. Write them down once in a metric dictionary and use them everywhere.
Time zones and currencies. Meta might report in Pacific time, your store in Eastern, your finance team in UTC. Daily numbers won't match across tools until you align them.
Late and restated numbers. Platforms keep adding conversions for days after a click as attribution windows close. Yesterday's ROAS will change. Store snapshots with the date you pulled them, or compare only settled periods.
Broken naming. If campaigns are renamed or UTMs are freelanced, you can't group spend into channels later. A strict UTM naming convention prevents most of this.
Account ownership. If an agency owns the ad account, your history leaves with them. Own your accounts. Grant access, don't receive it.
Tracking gaps. A broken pixel or checkout update can drop conversions for days. Log the outage dates so models and tests can exclude them.
Refunds and cancellations. A channel that drives lots of orders that get refunded looks great until finance sees it. Join refunds back to the original order.
What to do Monday
- Name one owner for marketing data. Not a committee.
- Pick one home for it: a shared drive with a fixed structure, an ETL destination, or a warehouse.
- Export and store every platform's daily spend and results, as far back as each platform allows. Do it before more history ages out.
- Start a promo and events calendar today. Dates, discount depth, launches, big emails, PR hits. Backfill what people remember.
- Write down your definitions of revenue, order, new customer and conversion.
- Check that orders carry UTMs or a source field from your store. If not, fix it now. Every day without it is lost forever.
- Reconcile weekly: store orders vs analytics purchases vs platform claims. Log the gaps.
- Add a one-question survey to your thank-you page if you don't have one.
An AI ad agent is only as good as this layer too. Whatever it decides about budgets rests on the spend, orders and promo dates underneath. If those are wrong, it will make confident decisions in the wrong direction, just faster.
The model is only the last step
Go back to the analyst with her half-empty folder. Her model wasn't the problem. Nobody had logged the sale in April, so the model gave Meta the credit, and the brand nearly lost a quarter-million dollars acting on it.
Fancy measurement gets the attention. The data foundation decides whether it's right. Start collecting the boring tables today, because next year's budget depends on what you write down this month.
