Sub topic 2
The funnel: from awareness to retention
This chapter assumes you know basic marketing vocabulary (channel, campaign, audience), can work with percentages and ratios, and can read short Python snippets. Experience with a web analytics tool or CRM (customer relationship management system) helps but is not required. The previous chapter covered how to set goals and separate KPIs from metrics. Here you build the model those KPIs sit on.
What the funnel is
A marketing funnel is a model of the path from a stranger to a loyal customer. It is drawn as a funnel because each stage has fewer people than the one before. Not everyone who sees an ad visits the site. Not everyone who visits becomes a lead, and so on.
The funnel is a measurement tool first. Once you split the path into stages, you can count the people at each stage, divide one count by the previous count, and see where people drop out. Every later chapter in this tutorial attaches metrics to one of these stages.
This tutorial uses four stages:
- Awareness. People learn that you exist. They see an ad, find a blog post, or hear your name from a friend.
- Leads. People show interest and give you a way to contact them. They sign up for a newsletter, request a demo, or download a guide.
- Sales. Leads become paying customers.
- Retention. Customers stay, buy again, or expand what they pay for.
The dotted arrow matters. Retained customers often generate new awareness through reviews and referrals, so the funnel is partly a loop. Most dashboards still draw it as a straight line, because a line is easier to count.
What each stage measures
Each stage answers a different question, so each needs different metrics. A common error is judging every stage by the same number, such as revenue.
| Stage | Question it answers | Typical unit counted | Example metrics |
|---|---|---|---|
| Awareness | Are the right people noticing us? | Impressions, visitors | Reach, impressions, branded search volume |
| Leads | Are interested people raising their hands? | Contacts | Conversion rate, cost per lead, lead quality |
| Sales | Do leads turn into revenue? | Deals, customers | Revenue, win rate, sales cycle length |
| Retention | Do customers stay and grow? | Active customers | Churn, repeat purchase rate, revenue retention |
Later chapters cover these metrics one stage at a time. For now, note two things. The unit changes from stage to stage (impressions, then people, then deals, then accounts). And the earlier stages measure attention and intent, while the later stages measure money.
Stage-to-stage conversion rates
The core calculation of the funnel is the stage-to-stage conversion rate: the count at one stage divided by the count at the previous stage.
Suppose a month of data looks like this:
- 50,000 visitors
- 1,500 leads
- 450 sales-qualified leads (leads that sales has judged worth pursuing)
- 90 customers
This code divides each stage by the one before it:
stages = [
("visitors", 50000),
("leads", 1500),
("sales_qualified", 450),
("customers", 90),
]
for (name_a, count_a), (name_b, count_b) in zip(stages, stages[1:]):
print(f"{name_a} -> {name_b}: {count_b / count_a:.1%}")
# Output:
# visitors -> leads: 3.0%
# leads -> sales_qualified: 30.0%
# sales_qualified -> customers: 20.0%The zip(stages, stages[1:]) pairing walks the list in overlapping pairs, so each stage is compared with its neighbor.
The overall conversion rate is the last count divided by the first: 90 / 50,000 = 0.18%. It also equals the product of the stage rates: 0.03 × 0.30 × 0.20 = 0.0018.
Reading the numbers
The lowest rate is not automatically the problem. A 3% visitor-to-lead rate looks small next to 30%, but the stages are not comparable. Most visitors to a website have no intent to buy, so 3% may be healthy. The 20% rate at the last stage involves people who already asked to talk to sales, and many teams would consider it weak.
Use three comparisons instead of eyeballing the lowest number:
- Against your own history. A rate that fell from 4% to 3% needs explaining. A rate that has always been 3% may not.
- Against a benchmark for your model. Industry figures vary widely, so treat them as a rough range and not a target.
- Against the cost of improving it. The next section shows why.
Why the rates multiply
Because the overall rate is a product, a given relative improvement at any stage produces the same relative improvement in customers. This code tests a 20% relative lift at each stage in turn:
visitors = 50000
rates = [0.03, 0.30, 0.20]
for i in range(len(rates)):
lifted = rates.copy()
lifted[i] *= 1.2
customers = visitors
for r in lifted:
customers *= r
print(f"lift stage {i + 1}: {round(customers, 1)} customers")
# Output:
# lift stage 1: 108.0 customers
# lift stage 2: 108.0 customers
# lift stage 3: 108.0 customersEach lift takes 90 customers to 108. So the question is not "which stage has the lowest rate?" It is "where can we get a 20% relative improvement most cheaply?" Sometimes that is a stage with a high rate and an easy fix, such as a broken form field. A stage with a low rate may need a product change that takes a year.
There is a limit to this reasoning. Rates cannot rise past 100%, so a stage already near its ceiling has little headroom. A rate of 90% can gain at most about 11% in relative terms. A rate of 3% has far more room.
Defining the stage boundaries
The funnel only works if everyone agrees on what counts as a lead or a customer. Disagreement here is the most common cause of reports that do not match.
- Marketing-qualified lead (MQL). A lead that marketing judges ready for sales, often based on a score from behavior and fit.
- Sales-qualified lead (SQL). A lead that a salesperson has accepted as worth pursuing.
If marketing counts every newsletter sign-up as a lead while sales counts only demo requests, the conversion rates from the two teams will never agree. Write down the definition, the system that records it, and the event that moves someone to the next stage. Put it in a shared document.
A related decision is the unit of counting. B2B (business to business) funnels often count accounts, meaning companies, because several people from one company may take part in a single purchase. B2C (business to consumer) funnels usually count individual people. Mixing the two, such as dividing accounts by sessions, produces rates that look precise but mean nothing.
Timing and cohorts
The earlier example divides customers from one month by visitors from the same month. That is a simplification. A visitor in January may become a customer in March, particularly when the sales cycle is long. January's customers then include people who visited in November.
This produces two kinds of error:
- When traffic is growing, dividing this month's customers by this month's visitors understates the true conversion rate, because the visitors have not had time to convert yet.
- When traffic is shrinking, the same calculation overstates it.
There are two fixes. The first is to measure by cohort: group people by when they entered the funnel, then track what share of that group reaches each later stage. The second is to use a long enough window that the lag matters less, such as a quarter for a sales cycle of a few weeks. Cohort tables appear again in the chapter on retention cohorts.
When the funnel is not linear
Real journeys do not follow four tidy steps. Know these cases before you present a funnel to others:
- Skipped stages. A customer may buy on the first visit and never become a lead in your CRM. Those customers appear in the sales count but not the lead count, so the lead-to-sale rate can exceed what actually happened. Decide whether such customers count as leads at the moment of purchase.
- Repeat entry. The same person can be counted as a visitor many times. Count unique people, not sessions, when you compare stages, and say which you used.
- Backward movement. A customer who cancels and returns later re-enters the funnel. Record them as reactivated, not as a new acquisition, or you will overstate how well acquisition works.
- Offline and untracked touchpoints. Word of mouth, events, and phone calls often fall outside your tracking. Your awareness count is then a lower bound.
- Different funnels for different products. A free-trial product and an enterprise contract have very different shapes. One blended funnel hides both.
Linking funnel stages to goals
The funnel gives your goals a place to land. Each business goal translates into a target on one or more stages:
- "Grow revenue 20% without raising spend" points at conversion in the lead and sales stages.
- "Reduce reliance on paid ads" points at awareness through organic and referral channels.
- "Improve profitability" points at retention, since keeping a customer usually costs less than acquiring one.
Give each stage one primary KPI and a small number of supporting metrics. That keeps reports readable and prevents arguments over which number matters.
Common mistakes with the funnel
- Treating stage definitions as obvious and never writing them down.
- Comparing rates across stages as if all stages should have similar numbers.
- Ignoring time lag, so growth or decline masquerades as a change in conversion.
- Counting different units in adjacent stages without saying so.
- Stopping the funnel at the sale, which leaves retention, and therefore profitability, unmeasured.
Exercise
A team reports 20,000 visitors, 800 leads, 200 sales-qualified leads, and 40 customers for one month. (a) Compute the three stage-to-stage conversion rates and the overall rate. (b) The team says it should fix the visitor-to-lead stage because it has the lowest rate. Give two reasons that conclusion may be wrong. (c) The sales cycle is about 60 days. Why might the lead-to-customer rate for this one month be misleading?
Show answer
(a) Visitors to leads: 800 / 20,000 = 4.0%. Leads to sales-qualified: 200 / 800 = 25.0%. Sales-qualified to customers: 40 / 200 = 20.0%. Overall: 40 / 20,000 = 0.2%, which equals 0.04 × 0.25 × 0.20. (b) First, stages are not comparable: most visitors have no buying intent, so a low rate at the top is normal. Second, because the rates multiply, a given relative lift at any stage gives the same relative gain in customers, so the right target is the stage where a lift is cheapest or has the most headroom, not the lowest rate. (c) With a 60-day cycle, this month's 40 customers mostly came from leads created in earlier months. Dividing them by this month's leads mixes different groups, and it misstates the rate if lead volume is rising or falling. Use a cohort of leads created in one period and follow them for at least 60 days.