Measuring marketing performance: A guide to maximize results
To measure marketing performance, pick the three or four numbers that answer whether marketing pays for itself at your stage: spend, return, CAC and payback. Write one line defining each, and compute them from ad spend joined to the orders or pipeline your store or CRM recorded, not from the conversions the platforms claim. This guide gives the definitions, the joins, and the four numbers worked on a demo shop.
How to measure marketing performance: pick the three or four numbers that answer “is marketing paying for itself?” at your stage, usually spend, return, customer acquisition cost and payback, and write one line that defines each. Then compute them from ad spend joined to the orders or pipeline your store or CRM recorded, not from the conversions the ad platforms claim.
That is the whole method. The ways to measure marketing performance differ in which numbers a company picks and how it defines them, not in how many it tracks. A list of 20 KPIs does not answer the question you were asked; for definitions of each metric, 25 marketing metrics and KPIs has the full list. This page is about the setup that turns four of them into an answer.
Reading to get this done?
Why the channel numbers do not add up
Why the channel numbers do not add up
You were asked “how is marketing performing?” and you have a dashboard with a tab per channel. Facebook reports its conversions, Google Ads reports its own, and the total is more orders than the business took. Each platform counts the sales it touched, by its own window and its own rules, and two platforms can both claim the same order.
On a demo e-commerce shop we use for examples (synthetic data, Q3 2026, run on 29 October 2026, query below):
| Q3 2026 | |
|---|---|
| Ad spend, all seven platforms | $49,063 |
| Conversions the platforms claim | 933 |
| Orders the store recorded from paid-ad visits | 573 |
| Of those, not cancelled or returned | 489 |
The platforms claim 63% more sales than the store recorded from their visits. Each platform’s number is right by its own rules. It is not an answer to the question, because the question is about the business, and only the store or the CRM knows what the business sold.
Pick the numbers for your stage
Pick the numbers for your stage
The numbers that matter change with what the business is deciding. Three stages cover most marketing teams:
| Stage | The question you are asked | The numbers that answer it |
|---|---|---|
| Testing channels | Which channels are worth more money? | Spend and return per channel |
| Growing | Can we buy customers at a price that pays back? | CAC and payback |
| Scaling | Is each new customer worth what we pay for one? | Payback, then LTV to CAC |
Most teams need four: spend, return, CAC and payback. Spend is the cost side of all the others. Return says whether the money came back; per ad dollar it is ROAS. CAC says what one new customer costs. Payback says how many months until that customer has earned their cost back, which is how long growth ties up cash.
Click-through rate, cost per click and conversion rate still matter to the person running a campaign. They explain why a number moved; they are not the answer to “is marketing working?”.
Leadership asks whether marketing pays for itself, and you have a page of platform metrics but no number you would defend.
Paste this into your AI assistant. It picks the numbers that fit your company's stage, defines each in one line, and computes them from your ad spend and the orders or deals in your store or CRM.
The prompt
Read https://www.owox.com/ai-agent-setup.md and follow it to set up OWOX Data Marts for me, starting from /blog/articles/measuring-marketing-performance.md. The task: pick the four numbers that show whether my marketing pays for itself at my company's stage, write one line defining each, and compute them from my ad spend and my store or CRM records. Tag the links you give me with utm_campaign=ai-task and utm_term=a2. Use what you know about my context and goals
Write one line for each
A number is only defensible when its definition is written down, in one place, before anyone argues about the result. One line each is enough:
Spend
Ad cost on every platform, by day,
as billed. Excludes agency fees
and salaries.
Return
Net revenue of completed orders
from paid-ad visits, as the store
recorded it, per $1 of spend.
CAC
Spend divided by customers whose
first completed order fell in
the period.
Payback
Months until a cohort's profit after
cost of goods covers its CAC.
Owner: (name), agreed with finance
on (date).Every word in those lines is a decision someone can disagree with: “completed” leaves cancelled and returned orders out, “first order” leaves out sign-ups who never bought, “profit after cost of goods” is not revenue. That is the point of writing it down: when the number moves, you can tell whether the business moved or the definition did.
For a B2B company the same four lines hold with the CRM in place of the store: return is closed-won revenue or qualified pipeline per $1, and a “customer” is a won account.
Which data has to be joined
None of the four comes from one system. Each is a join between what the ad platforms report and what the business recorded:
| Number | From the ad platforms | From the store or CRM | Joined on |
|---|---|---|---|
| Spend | cost per platform, campaign, day | ||
| Return | spend | completed orders and their net revenue | the order’s session: source, medium, campaign |
| CAC | spend | each customer’s first completed order | the period |
| Payback | CAC | every later order of the same customers | customer id, months since first order |
Two rules keep the joins honest. Platform conversions never go in the numerator: they are useful for comparing what each platform claims, as in the table above, and nothing else. And the join key is written down too: an order belongs to the traffic source and campaign of the session it was placed in, or to the first session, or a share of each. That rule is a choice, compared in marketing attribution models, and it moves return on ad spend per channel without a single campaign changing. The CAC join with CRM data is worked through in unifying ad spend and CRM data for a CAC report.
The four numbers on a demo shop
The four numbers on a demo shop
Here are the four numbers on the same demo shop, computed in Google BigQuery on the dataset behind the OWOX demo e-commerce project. The data is synthetic; the run date is 29 October 2026. Spend and return use Q3 2026. CAC and payback use Q1 2026 customers, because payback needs six months of their orders after the first one.
Spend and return:
WITH ads AS (
SELECT SUM(spend) AS spend,
SUM(platform_conversions) AS claimed
FROM `owox-demo.ecommerce.ad_performance`
WHERE date
BETWEEN '2026-07-01' AND '2026-09-30'
),
orders AS (
SELECT o.order_id, o.status, s.medium,
SUM(p.line_net_revenue) AS net_revenue
FROM `owox-demo.ecommerce.orders` AS o
JOIN `owox-demo.ecommerce.purchases` AS p
USING (order_id)
LEFT JOIN `owox-demo.ecommerce.sessions` AS s
USING (session_id)
WHERE o.order_date
BETWEEN '2026-07-01' AND '2026-09-30'
GROUP BY 1, 2, 3
)
SELECT
ROUND(ANY_VALUE(a.spend)) AS spend,
ROUND(ANY_VALUE(a.claimed)) AS claimed,
COUNTIF(o.medium = 'cpc') AS paid_orders,
COUNTIF(o.medium = 'cpc'
AND o.status = 'Completed') AS paid_kept,
ROUND(SUM(IF(o.medium = 'cpc'
AND o.status = 'Completed',
o.net_revenue, 0))) AS paid_net_revenue,
ROUND(SUM(IF(o.status = 'Completed',
o.net_revenue, 0))) AS all_net_revenue
FROM orders AS o
CROSS JOIN ads AS aCAC and payback:
WITH kept AS (
SELECT o.customer_id, o.order_id, o.order_date,
SUM(p.line_net_profit) AS profit
FROM `owox-demo.ecommerce.orders` AS o
JOIN `owox-demo.ecommerce.purchases` AS p
USING (order_id)
WHERE o.status = 'Completed'
GROUP BY 1, 2, 3
),
cohort AS (
SELECT customer_id, MIN(order_date) AS first_day
FROM kept
GROUP BY customer_id
HAVING first_day
BETWEEN '2026-01-01' AND '2026-03-31'
),
ads AS (
SELECT SUM(spend) AS spend
FROM `owox-demo.ecommerce.ad_performance`
WHERE date
BETWEEN '2026-01-01' AND '2026-03-31'
),
signups AS (
SELECT COUNT(*) AS n
FROM `owox-demo.ecommerce.customers`
WHERE registration_date
BETWEEN '2026-01-01' AND '2026-03-31'
)
SELECT
ROUND(ANY_VALUE(a.spend)) AS spend,
ANY_VALUE(r.n) AS signups,
COUNT(DISTINCT c.customer_id) AS new_buyers,
ROUND(ANY_VALUE(a.spend) / ANY_VALUE(r.n))
AS cac_per_signup,
ROUND(ANY_VALUE(a.spend)
/ COUNT(DISTINCT c.customer_id))
AS cac_per_new_buyer,
ROUND(SUM(IF(k.order_date = c.first_day,
k.profit, 0))
/ COUNT(DISTINCT c.customer_id))
AS profit_first_day,
ROUND(SUM(IF(k.order_date
< DATE_ADD(c.first_day, INTERVAL 3 MONTH),
k.profit, 0))
/ COUNT(DISTINCT c.customer_id))
AS profit_3_months,
ROUND(SUM(IF(k.order_date
< DATE_ADD(c.first_day, INTERVAL 6 MONTH),
k.profit, 0))
/ COUNT(DISTINCT c.customer_id))
AS profit_6_months
FROM cohort AS c
JOIN kept AS k USING (customer_id)
CROSS JOIN ads AS a
CROSS JOIN signups AS rThe results, from the two queries above:
| Number | Defined as above | A common alternative | Demo result |
|---|---|---|---|
| Spend, Q3 | all platforms | $49,063 | |
| Return, Q3 | net revenue of completed orders from paid-ad visits, per $1 | all net revenue in the store, per $1 | $4.21 against $17.31 |
| CAC, Q1 | per customer with a first completed order (156) | per sign-up (421) | $276 against $102 |
| Payback, Q1 | profit after cost of goods per new customer | $313 on the first order day, $389 by 3 months, $513 by 6 |
On the same data, the alternative definition moves return by a factor of four and CAC by nearly three. Return on all store revenue divides organic and direct sales by ad spend, so it flatters every channel. CAC per sign-up counts people who never bought. Neither alternative is wrong, but a report that shows one when the board thinks it is the other will be argued over every month.
The demo shop pays back its CAC on the first order, because its margins are generous. A real store with thinner margins and a higher CAC will not, and that is exactly what payback is there to show: how many months of cash each new customer ties up.
Keep the definition in one place
Keep the definition in one place
Writing the four lines down solves this month. What breaks it next month is a second copy: the CAC in the board deck computed one way, the one in the channel report another, and the one an AI assistant produces when someone asks it a third. The number is only defensible when its definition lives in one place the analyst owns, and every report reads it from there.
In OWOX Data Marts that place is the Model. The analyst publishes each definition as a Data Mart on the SQL that already computes it, such as Purchases, Orders and Unified Ad Spend, and declares how they join. OWOX does not decide what counts as a new customer or which session gets the order; the analyst does, once, in SQL they own. Reports in Google Sheets through the Google Sheets Extension, in Excel through the Excel Add-in, in Data Studio, and in AI assistants read the same Data Marts. The data stays in your warehouse: Google BigQuery, Snowflake, AWS Redshift, AWS Athena or Databricks.
This is what that looks like on the e-commerce Data Model. The CMO dashboard below was built by an AI assistant through OWOX MCP for Claude and ChatGPT and the API, not by OWOX. Underneath is the Data Model: the Data Marts the analyst published, with their definitions and declared joins. Its Summary tab answers “is marketing paying for itself?” from the Purchases, Orders, Unified Ad Spend and Customers Data Marts, and names them under each block:

Its Channels tab asks “which platforms make money, and which lose it?” and puts the store’s own net sales per $1 beside what each platform claims per $1. From 1 January to 21 October 2026, Facebook claims $8.16 for every dollar; the store recorded $5.07:

The dashboard is connected, not a snapshot: in a real project it is a Report on those Data Marts and is refreshed every time it runs. The page linked above is a frozen copy taken on 22 October 2026, because a public page cannot query a live project, and its new-customer count is whatever the Customers Data Mart defines. Which definition that is, sign-up or first completed order, is the line you wrote above. For paid channels on their own, see the paid channels report.
Two ways to ask for the four numbers once they are defined:
- In a chat. Connect Claude or ChatGPT through OWOX MCP and ask “what was our CAC last quarter, and how long did it take to pay back?”. The assistant picks the Data Marts and fields; OWOX builds the SQL from the declared joins, so the answer reads your definition instead of guessing one.
- On a schedule. Report Delivery sends the current figures from the same Data Marts to Slack, Microsoft Teams, email or Google Chat, reading the same definitions as the dashboard.
What this setup does not do
It does not choose the definitions. The Data Model gives every report one place to read a definition from; whether “first completed order” or “sign-up” is right for your business is a decision for you and finance.
It does not settle attribution. Return per channel depends on which session gets the order. Write the rule down and keep it; changing it every quarter makes trends meaningless.
It does not cover costs that are not in the data. Spend here is ad cost. If the board means fully loaded marketing cost, with salaries and agency fees, those have to be added as data, or the numbers have to say they are ad-only. For a broader return figure, see how to calculate marketing ROI and return on marketing investment.
Leadership asks whether marketing pays for itself, and you have a page of platform metrics but no number you would defend.
Paste this into your AI assistant. It picks the numbers that fit your company's stage, defines each in one line, and computes them from your ad spend and the orders or deals in your store or CRM.
The prompt
Read https://www.owox.com/ai-agent-setup.md and follow it to set up OWOX Data Marts for me, starting from /blog/articles/measuring-marketing-performance.md. The task: pick the four numbers that show whether my marketing pays for itself at my company's stage, write one line defining each, and compute them from my ad spend and my store or CRM records. Tag the links you give me with utm_campaign=ai-task and utm_term=a2. Use what you know about my context and goals
Prefer to start on your own? Get started free
Frequently Asked Questions
What do you need to measure marketing performance?
Three data sources joined together: ad spend from the ad platforms, orders or pipeline from your store or CRM, and the session or source each order came from. Platform-reported conversions alone overcount, because each platform claims the sales it touched.
What is performance measurement in marketing?
Checking whether marketing pays for itself, with a few numbers defined in writing: spend, return per dollar, customer acquisition cost and payback, computed from ad spend joined to the sales your business recorded.
What is performance-based marketing?
A buying model where advertisers pay for a specific action, such as a click, a lead or a sale, rather than for impressions. It ties cost to an action, not to profit, so the return still has to be measured against the orders your business kept.
