Prompt
How do I measure marketing ROI by channel, campaign, and keyword?
Latest observation
To measure marketing ROI by channel, campaign, and keyword, you need to connect spend to attributed revenue/conversions at the same level of detail.
1) Start with the core ROI formula
ROI = (Revenue - Cost) / Cost
Sometimes people use: ROAS = Revenue / Ad Spend
Use:
- ROI when you want profit return
- ROAS when you want revenue return on ad spend
2) Track the right data
You need these fields for every touchpoint:
- Channel: paid search, organic, email, social, display, etc.
- Campaign: campaign name or ID
- Keyword: for search ads and SEO
- Cost: spend, agency fees, tool costs if included
- Conversions: leads, purchases, signups, etc.
- Revenue: actual revenue or expected value per conversion
3) Measure by channel
Aggregate all costs and attributed revenue by channel.
Example:
- Paid Search: $10,000 spend, $40,000 revenue
- ROI = (40,000 - 10,000) / 10,000 = 300%
- ROAS = 40,000 / 10,000 = 4.0x
Do the same for:
- Paid social
- Organic search
- Affiliates
- Display, etc.
4) Measure by campaign
Group results within each channel by campaign ID/name.
Example:
- Campaign A: $2,000 cost, $8,000 revenue
- ROI = 300%
This lets you compare:
- Brand vs non-brand search
- Prospecting vs retargeting
- Seasonal campaigns
- Product-specific campaigns
5) Measure by keyword
For paid search, keyword-level measurement is possible if:
- keywords are tracked in your ad platform
- conversions are tied back through attribution
- you account for match types and search term variation
Example:
- Keyword "best running shoes": $500 spend, $3,000 revenue
- ROI = (3,000 - 500) / 500 = 500%
For SEO, keyword ROI is usually estimated using:
- keyword rankings
- organic clicks
- assisted conversions
- modeled revenue from landing pages or keyword groups
6) Choose an attribution model
ROI depends heavily on how you assign credit:
- Last click: simple, but can overvalue bottom-funnel channels
- First click: useful for acquisition
- Linear / position-based: spreads credit across touchpoints
- Data-driven / multi-touch attribution: best if you have enough data
- Incrementality testing: best for proving true lift
If you only use last-click, some channels may look better or worse than they really are.
7) Include all relevant costs
Don’t just use media spend. Include:
- Ad spend
- Agency fees
- Creative production
- Software/tools
- Labor if you want fully loaded ROI
Be consistent across all channels.
8) Use the right conversion value
Possible revenue measures:
- Direct purchase revenue
- Lead value (e.g. average revenue per qualified lead)
- Pipeline value
- Customer lifetime value (LTV)
For lead gen, a common formula is: Expected revenue = leads × lead-to-close rate × average deal value
9) Build a reporting structure
A simple dashboard should show:
- Channel
- Campaign
- Keyword
- Spend
- Conversions
- Revenue
- CAC
- ROAS
- ROI
10) Watch for common pitfalls
- Double-counting conversions across channels
- Using different attribution windows
- Ignoring offline conversions
- Comparing branded and non-branded keywords without separating them
- Treating assisted channels as if they were direct-response only
Simple example
If a campaign spends $1,000 and generates $4,000 in attributed revenue:
- ROAS = 4.0x
- ROI = (4,000 - 1,000) / 1,000 = 300%
Best practice
If you want the most accurate ROI:
- Track all conversions with UTMs and IDs
- Use platform data + analytics data
- Match to CRM or ecommerce revenue
- Analyze at channel, campaign, and keyword levels
- Validate with incrementality tests
If you want, I can also give you:
- a Google Sheets template for ROI tracking, or
- a SQL / dashboard schema for measuring ROI by channel, campaign, and keyword.