Sub topic 8
Finding the weakest stage of the funnel
This chapter assumes you can already compute CTR, conversion rate, CPA and ROAS from raw totals. It also assumes you have a baseline or benchmark for each metric and have checked that your tracking is complete. The Python examples use only the standard library.
Why a single conversion rate is not enough
A campaign that converts 0.06% of impressions into purchases looks weak, but that number doesn't say where visitors drop out. The cause might be an ad that attracts the wrong people, a landing page that loads slowly, a form that asks too much, or a checkout that fails on mobile. Each cause calls for a different fix. Diagnosing the funnel means finding the stage where the campaign loses the most value relative to what you should expect, so your next change targets the right place.
A funnel is an ordered list of stages that a person passes through, such as impression, click, landing page view, form start and purchase. The drop between two neighbouring stages is where you look for the problem.
Step 1: Compute stage-to-stage rates
Divide each stage's count by the count of the stage immediately before it. This is the step conversion rate. It differs from the overall rate, which divides everything by impressions.
Step rates matter because they isolate one decision a person makes. "Of the people who saw the landing page, how many started the form?" has one cause pool. "Of the people who saw the ad, how many bought?" mixes every stage together.
| Stage | Count | Step rate |
|---|---|---|
| Impressions | 200,000 | n/a |
| Clicks | 3,000 | 1.5% |
| Landing page views | 2,400 | 80.0% |
| Form starts | 600 | 25.0% |
| Purchases | 120 | 20.0% |
The raw step rates can't be compared with each other. A 1.5% click rate and a 20% purchase rate are different kinds of events, so a low number doesn't mean a weak stage. You need a reference point for each stage.
Step 2: Compare each stage to a reference
Use the baselines and benchmarks from earlier in the tutorial. The best references, in order of trust:
- Your own history for the same funnel stage, channel and audience type.
- A control or previous version of this campaign.
- A published industry benchmark, which is the weakest because definitions and audiences differ.
For each stage, compute the gap ratio: actual step rate divided by reference step rate. A ratio of 1.0 means on par. A ratio of 0.71 means the stage performs at 71% of the reference.
Step 3: Size the opportunity, not just the gap
The lowest ratio isn't always the best place to work. A stage can underperform by a wide margin yet matter little if few people reach it. A stage with a modest gap near the top of the funnel can matter more in absolute terms.
To compare stages on the same scale, estimate how many extra final conversions you would get if that stage alone reached its reference rate while every other stage stayed the same. Because later stages keep their own step rates, the final count scales in proportion:
extra conversions = final conversions × (reference rate ÷ actual rate − 1)
This formula applies only to stages where the actual rate is below the reference. For stages at or above the reference, the extra is zero.
def funnel_report(stages, benchmarks):
"""stages: list of (name, count). benchmarks: step rate per stage name."""
final = stages[-1][1]
rows = []
for (_, prev_n), (name, n) in zip(stages, stages[1:]):
rate = n / prev_n
bench = benchmarks[name]
ratio = rate / bench
extra = final * (bench / rate - 1) if ratio < 1 else 0
rows.append((name, rate, bench, ratio, extra))
return rows
stages = [
("Impressions", 200000),
("Clicks", 3000),
("Landing views", 2400),
("Form starts", 600),
("Purchases", 120),
]
benchmarks = {
"Clicks": 0.010,
"Landing views": 0.85,
"Form starts": 0.35,
"Purchases": 0.20,
}
print(f"{'stage':<14}{'rate':>8}{'bench':>8}{'ratio':>7}{'extra':>8}")
for name, rate, bench, ratio, extra in funnel_report(stages, benchmarks):
print(f"{name:<14}{rate:>8.1%}{bench:>8.1%}{ratio:>7.2f}{extra:>8.1f}")Expected output:
stage rate bench ratio extra
Clicks 1.5% 1.0% 1.50 0.0
Landing views 80.0% 85.0% 0.94 7.5
Form starts 25.0% 35.0% 0.71 48.0
Purchases 20.0% 20.0% 1.00 0.0Form starts is the weakest stage on both measures. It has the lowest ratio, and fixing it alone would add about 48 purchases, a 40% increase. Landing views is slightly below its reference but would add only about 7.5 purchases, so it is a minor concern.
The two measures can disagree. When they do, rank by the extra conversions, since that tracks business value. Use the ratio as a check on how realistic the reference is. A ratio of 0.3 often means the reference doesn't fit your funnel rather than that your stage is broken.
Step 4: Check that the gap is not noise
A low ratio on 40 visitors proves nothing. Before you commit to a stage, ask whether the gap is larger than chance would explain.
- Look at the denominator of the weak stage, not the final count. Form starts is weak out of 2,400 landing views, which is a reasonable sample. If it had been out of 60, the ratio could swing widely from week to week.
- Compare the stage across time. Split the data by week. A stage that is low every week is a stable weakness. A stage that is low in one week and normal in the next is more likely noise, or a one-off event such as an outage.
- Use the two-proportion z-test from the significance chapter when you have a control or an earlier period to compare against. For benchmarks from outside sources, look at the size of the gap and the sample size rather than a p-value, because the benchmark itself is uncertain.
A rough sanity check for a single rate is the standard error, the square root of p × (1 − p) ÷ n. For form starts, that is the square root of 0.25 × 0.75 ÷ 2400, about 0.0088, or under one percentage point. The gap to the 35% reference is 10 points, more than ten standard errors. Sampling noise cannot explain it.
Step 5: Cross-check by segment
A weak stage in the total may be a weak stage in only one segment. Break the weak stage's step rate down by device, channel, audience or new versus returning visitors. Segmentation was covered earlier in this tutorial. Here it answers one specific question: is the weakness everywhere, or concentrated?
| Device | Landing views | Form starts | Step rate |
|---|---|---|---|
| Desktop | 1,200 | 420 | 35.0% |
| Mobile | 1,200 | 180 | 15.0% |
The overall 25% hides a split. Desktop sits exactly at the 35% reference, while mobile is at 15%. The funnel is not weak at form starts in general. The mobile form is weak. That narrows the hypothesis from "the form is too long" to something like "the form is hard to complete on a phone", which is far easier to test.
Edge cases that fake a weak stage
A stage can look weak for reasons that have nothing to do with the experience. Rule these out before you blame the page or the ad.
- Broken or partial tracking. If the form-start event fires only on some browsers, the stage will look weak and the stages after it will look strong. Compare your analytics count with a server-side count, such as database rows for form submissions.
- Stage definitions that changed. If "form start" meant "clicked the signup button" last month and "typed in a field" this month, rates are not comparable. Confirm definitions did not change between the period and its reference.
- Delayed conversions. If purchases often happen days after the click, recent cohorts have not finished converting. A recent cohort's last-stage rate will look low until the lag has passed. Compare cohorts of equal age, or exclude the most recent days.
- Mix shift. If traffic moved toward a lower-intent channel during the period, every downstream rate drops without any page change. Check the channel mix before and after.
- Upstream changes that alter downstream quality. A broader ad that raises CTR often lowers the landing view to form start rate, because the extra clickers are less interested. In that case the weak stage is a symptom, and the cause sits one stage earlier. If a stage got worse right after an upstream stage got better, test the upstream change before touching the downstream page.
- Structural drop-off. Some stages naturally lose most people. A checkout stage that asks for payment loses more than a stage that asks for an email. Judge each stage against its own reference, not against other stages.
From weak stage to next step
At the end of this chapter you should have a short written diagnosis with four parts:
- The weakest stage, with its step rate, reference and gap ratio.
- The sample size behind the number and whether the gap exceeds noise.
- The segment where the gap is concentrated, if any.
- The checks you ran for tracking, definition, lag and mix problems.
That diagnosis is the input to the next chapter, where you turn it into a testable hypothesis. A diagnosis such as "mobile form starts are at 15% against a 35% reference on 1,200 views, stable across four weeks, tracking verified" gives you something specific to write a hypothesis about. "Conversion is low" does not.
Exercise
A campaign had 5,000 clicks, 500 add-to-cart events, 250 checkout starts and 100 purchases. The step references are: add-to-cart 12% of clicks, checkout start 60% of add-to-carts, purchase 50% of checkout starts. Compute each step rate, gap ratio and the extra purchases if that stage alone reached its reference. Which stage should you investigate first?
Show answer
Step rates: add-to-cart 500/5000 = 10%, checkout start 250/500 = 50%, purchase 100/250 = 40%. Gap ratios: 10/12 = 0.83, 50/60 = 0.83, 40/50 = 0.80. Extra purchases: add-to-cart 100 × (0.12/0.10 − 1) = 20, checkout start 100 × (0.60/0.50 − 1) = 20, purchase 100 × (0.50/0.40 − 1) = 25. The final purchase step has both the lowest ratio and the largest opportunity (about 25 extra purchases), so investigate it first. Before acting, check the sample (250 checkout starts is modest), look for payment or tracking errors, and split the step by device and payment method.