# Every budget against its plan, every morning

> Budgets were approved in one place, booked in another and spent in a third. We built a spend tracker that follows every budget from plan to invoice, forecasts where it will land and says so while there is still time to act.

Project on Variable Frog. Page: https://variablefrog.com/work/spend-tracker

- Client: A travel brand in 14 markets
- Industry: Travel
- Service: Signal
- Stack: Python, BigQuery, React, MCP
- What we built: A spend tracker with a forecast
- Outcome: 79% fewer budgets off plan
- Headline number: -79% budgets off plan

## In short

- The problem: Budgets lived in the plan, the purchase order and the platforms, and were only compared after the money was gone.
- What we built: A spend tracker with daily pacing, an end of flight forecast, alerts and approvals, fed by every platform's API.
- The result: 79% fewer budgets ending the month off plan than markets on spreadsheets, and invoices that arrive already matched.

Chart: Share of budgets ending the month more than 5% off plan: markets on the tracker against markets on spreadsheets.

Share of budgets ending more than 5% off plan over 8 months: markets on the tracker fall from 29% to 6% while markets on spreadsheets stay near 29%.

### At a glance

- Challenge: **3** Places a budget lived: the media plan, the purchase order and the platforms. They were compared once a month, after the money was gone.
- Approach: **640** Budget lines followed every day, each with a forecast of where it will end and a range around it.
- Result: **-79%** Budgets ending the month more than 5% off plan, against markets still on spreadsheets.

A travel brand planned media in 14 markets with a budget for each market, channel and campaign. Whether the money was being spent as planned was a question the team could only answer at month end.

## The problem

Overspend was found on the invoice. Underspend was worse, because it was quiet: a campaign that started late or a platform that could not deliver left money unused in the weeks when demand was highest (In the year before, 11% of the peak season budget was still unspent when the season ended.).

The spreadsheet that tracked it all took one person most of a week each month, and it was out of date the day it was finished.

## What we built

A tracker that holds the plan, the commitment and the spend in one place. Planned budgets come from the media plan, purchase orders from finance and actual spend from every platform's API each morning. A forecast projects each line to the end of its flight from its pace, its seasonality and its history, so the tracker can say on day nine that a budget will end 12% short, and suggest where the money would work harder.

### From plan to invoice

Media plans, purchase orders and platform spend feed a tracker with daily pacing, an end of flight forecast and alerts, used for reallocation, finance reconciliation and plain language questions.

- Money in: The plan (Budgets by market, channel, campaign and flight, read from the planning tool.); Commitments (Purchase orders and insertion orders from finance, matched to their budget line.); Actual spend (Every platform's spend through its API each morning, in one currency.)
- The tracker: Pacing (Each line against its plan today: ahead, behind or on track, with the amount.); Forecast (Where each line will end, with a range, from its pace and its seasonality.); Alerts (A message to the line's owner when the forecast leaves the plan, with the reason.)
- In use: Reallocation (Move budget between lines with an approval and a record of who decided what.); Reconciliation (Invoices matched to spend line by line, so month end is a review.); Ask it (An MCP server lets the team's AI assistant answer what is off pace and why.)

Seven markets moved to the tracker first, chosen at random, and seven kept their spreadsheets for eight months. Both groups had the same budgets process and the same approval rules.

## The result

In the markets on the tracker, the share of budgets ending the month more than 5% off plan fell from 29% to 6%. The other markets did not move. Most of the gain was underspend caught early and put back to work.

Month end changed too. Invoices arrive already matched to their lines, and the person who used to build the spreadsheet now reviews exceptions.

## What they own now

### Theirs to keep

The tracker runs in their cloud, on their data, with the forecast's code and its tests in their repository.

- **The tracker**: Plan, commitment and spend for every budget line.
- **The forecast**: End of flight projections, with back tests.
- **The connectors**: Planning, finance and every ad platform.
- **The MCP server**: Pacing and forecast as tools an assistant can call.
- **The handbook**: How budgets, alerts and approvals are set up.

### How it was measured

A budget is off plan when it ends the month more than 5% above or below its approved amount. Seven markets moved to the tracker first, chosen at random, and seven stayed on spreadsheets for eight months.

- Markets: 7 moved first, 7 stayed
- Period: 8 months
- Measure: Share of budgets more than 5% off plan
- Forecast error: Within 4% of the final spend by mid flight

