Sub topic 4
Reading the core funnel metrics
This chapter assumes you can read an analytics dashboard, work with percentages and ratios, and have a campaign goal and primary KPI already chosen. The Python is optional but short.
The four metrics and what each one divides
A funnel is the path from seeing an ad to buying. Each core metric measures one step or the whole path. Most mistakes come from using the wrong denominator, so read each formula for what it divides by.
| Metric | Formula | Question it answers |
|---|---|---|
| CTR (click-through rate) | clicks / impressions | Does the ad earn attention? |
| CVR (conversion rate) | conversions / clicks | Does the landing experience persuade? |
| CPA (cost per acquisition) | spend / conversions | What does one result cost? |
| ROAS (return on ad spend) | revenue / spend | How much revenue does each unit of spend return? |
Computing them
This function takes raw campaign totals and returns all four metrics.
def summarize(spend, impressions, clicks, conversions, revenue):
return {
"ctr": clicks / impressions,
"cvr": conversions / clicks,
"cpa": spend / conversions,
"roas": revenue / spend,
}
print(summarize(spend=1000, impressions=200000, clicks=3000, conversions=120, revenue=6000))
# {'ctr': 0.015, 'cvr': 0.04, 'cpa': 8.333333333333334, 'roas': 6.0}Read the result in order:
- CTR 1.5%: 3,000 of 200,000 impressions became clicks.
- CVR 4%: 120 of those 3,000 clicks converted.
- CPA about 8.33: each conversion cost roughly 8.33 in spend.
- ROAS 6.0: each unit spent returned 6 units of revenue.
A number only means something against a threshold
A ROAS of 6.0 looks strong, but revenue is not profit. Break-even ROAS is 1 divided by your margin. At a 20% margin the break-even is 5.0, so 6.0 is profitable but thin. At a 10% margin the break-even is 10.0, and the same campaign loses money.
CPA works the same way. Compare it to the most you can afford to pay for a conversion, such as the margin on one sale. Then compare both numbers to the baseline you chose earlier in the review.
Common errors
- Wrong denominator for CVR. Conversions divided by impressions is not CVR. Some platforms report conversions per session or per user instead of per click. Confirm which one your dashboard uses.
- Averaging rates. Do not average daily CTRs. Sum the clicks and impressions first, then divide. Otherwise a day with 100 impressions counts as much as a day with 100,000.
- Division by zero. A new ad set may have zero clicks or zero conversions. The function above would raise
ZeroDivisionError. In a report, show "n/a" for these cases. Do not show 0, which falsely suggests the cost was free. - Mixed date ranges. Spend and revenue must cover the same period. Conversions often arrive days after the click, so very recent data understates CVR and ROAS.
- Judging one metric alone. A high CTR with a low CVR often means the ad promises something the page does not deliver. The metrics are most useful read together, which is the next step toward finding the weakest funnel stage.
A reading routine
- Confirm the period and the definitions of clicks and conversions.
- Compute all four metrics from summed totals.
- Compare each to its baseline and to the break-even level for your margin.
- Note which step is furthest from its baseline, and carry that into segmentation and funnel diagnosis.
Exercise
A campaign spent 500 and got 100,000 impressions, 1,000 clicks, 20 conversions, and 1,500 in revenue. Compute CTR, CVR, CPA, and ROAS. If the product margin is 40%, is the campaign profitable on revenue minus ad cost?
Show answer
CTR = 1,000 / 100,000 = 1%. CVR = 20 / 1,000 = 2%. CPA = 500 / 20 = 25. ROAS = 1,500 / 500 = 3.0. Break-even ROAS at a 40% margin is 1 / 0.40 = 2.5. Since 3.0 is above 2.5, the campaign is profitable. Check: gross profit is 1,500 x 0.40 = 600, which exceeds the 500 spend.