Sub topic 3
Measuring marketing: awareness, leads, sales, and retention
Prerequisites: you know the funnel stages, can compute ratios, and have spend, customer counts, and churn for a period. This chapter covers unit economics, attribution, cohort tables, testing, reporting, and common pitfalls.
Unit economics: CAC, LTV, and payback period
Customer acquisition cost (CAC) is the sales and marketing spend per new customer. Lifetime value (LTV) is the gross margin one customer generates before churning. Payback period is the number of months of margin needed to recover CAC.
spend = 18000 # sales and marketing spend in the period
new_customers = 90
arpa_monthly = 50 # average revenue per account per month
gross_margin = 0.80
monthly_churn = 0.04 # share of customers lost each month
cac = spend / new_customers # 200.0
monthly_margin = arpa_monthly * gross_margin # 40.0
ltv = monthly_margin / monthly_churn # 1000.0
print(f"CAC {cac:.0f}, LTV {ltv:.0f}, LTV:CAC {ltv / cac:.1f}")
print(f"Payback {cac / monthly_margin:.1f} months")Attribution: giving credit to channels
Attribution assigns credit for a sale to the touchpoints that came before it. First-touch credits the first channel a buyer saw. Last-touch credits the final channel before purchase. Multi-touch splits credit across several touches. First and last touch are simple but ignore the middle of the journey. Multi-touch is fuller but depends on modeling choices. Tag every campaign with UTM parameters such as utm_source, utm_medium, and utm_campaign so each visit keeps its source.
Reading cohort retention tables
A cohort is a group of customers who started in the same period. Each row is a cohort, and each column is months since the start. Read across a row to see how one group retains over time. Read down a column to compare cohorts at the same age. Period retention is (customers at end minus new customers) divided by customers at start.
Testing what works: A/B tests and incrementality
An A/B test randomly splits an audience between a control and a variant, then compares a metric. Run it until each group has enough conversions to separate real differences from noise. Attribution cannot show that a channel caused sales that would have happened anyway. Incrementality testing holds out a random group from an ad and measures the lift. Use it when channels overlap or spend is large.
Building a funnel dashboard and report
Use the funnel stages as the report structure. Show stage counts, stage-to-stage conversion, CAC, and payback on one page, and tie each number to revenue.
Pitfalls: vanity metrics, double counting, and small samples
Vanity metrics such as page views and follower counts can rise without any revenue. Double counting happens when two channels each claim the same sale. Small samples make conversion rates swing widely, so a difference of three customers proves little.
Exercise
A quarter has $30,000 in spend and 60 new customers. ARPA is $100 per month, gross margin is 75%, and monthly churn is 5%. What are CAC and LTV?
Show answer
CAC = 30000 / 60 = 500. Monthly margin = 100 x 0.75 = 75. LTV = 75 / 0.05 = 1500.