Sub topic 9
How much traffic is enough, and how to read a conversion rate
Assume you know basic product vocabulary and can read simple web analytics. You should also be comfortable with the idea of a fake door test: a page presents a proposed feature, records interest, and then explains that the feature is not available yet.
A conversion rate is the proportion of eligible visitors who complete a defined action. For a fake door test:
conversion rate = unique visitors who click the fake door / unique visitors who see itUse unique visitors rather than total clicks when one person can click repeatedly. Define the denominator before launch. A rate based on all page visitors answers a different question from a rate based only on visitors who saw the button.
Start with the decision, not the traffic count
There is no universal answer to “How much traffic is enough?” The required sample depends on:
- The baseline rate you expect.
- The smallest improvement that would change your decision.
- The success and failure thresholds.
- The confidence you need.
- Whether you are measuring one audience or comparing groups.
For example, suppose your team will build a prototype if at least 4% of eligible visitors click. A test with 20 visitors cannot provide useful evidence. A test with 400 visitors gives a more stable estimate, but even that may not separate a true 4% rate from a nearby rate.
Set a minimum sample size and a stopping date before launch. Otherwise, it is easy to stop after a promising day or continue until the result looks favorable.
| Planning factor | Example | Why it matters |
|---|---|---|
| Expected rate | 3% | Low rates need more visitors |
| Meaningful difference | 2 percentage points | Smaller differences need more visitors |
| Minimum sample | 400 visitors | Prevents decisions from tiny samples |
| Test duration | 14 days | Captures weekday and weekend behavior |
Read the observed rate
If 18 of 400 unique visitors click, the observed conversion rate is:
18 / 400 = 0.045 = 4.5%This is an estimate, not the exact demand from all potential users. The people in the test are a sample. Their behavior will differ from the behavior of future users because of chance, audience mix, timing, and traffic source.
A confidence interval describes a range of plausible values for the underlying rate. For small or moderate samples, use a Wilson interval rather than the simplest “rate plus or minus” calculation. The Wilson method behaves better when the rate is close to 0% or 100%.
import math
def wilson_interval(successes, n, z=1.96):
"""Return an approximate 95% confidence interval."""
if n == 0:
return (0.0, 1.0)
p = successes / n
denominator = 1 + z**2 / n
centre = (p + z**2 / (2 * n)) / denominator
margin = z * math.sqrt(
p * (1 - p) / n + z**2 / (4 * n**2)
) / denominator
return centre - margin, centre + margin
low, high = wilson_interval(18, 400)
print(f"Observed: {18 / 400:.1%}")
print(f"95% interval: {low:.1%} to {high:.1%}")This prints an observed rate of 4.5% and an interval of about 2.9% to 7.0%. The result is compatible with a true rate below the 4% build threshold and with one well above it. Treating 4.5% as a precise fact would overstate the evidence.
Use uncertainty in the decision
Compare the interval with your thresholds instead of looking only at the point estimate.
- If the interval is entirely above the success threshold, evidence for proceeding is strong.
- If the interval is entirely below the failure threshold, stopping is reasonable.
- If the interval crosses a threshold, the result is inconclusive. Collect more traffic, interview participants, or change the experiment.
- If the interval is wide, improve the test before making a precise claim.
A confidence interval does not correct biased traffic. If a campaign reaches only existing customers, its rate may not generalize to new users. Record traffic source, device, geography, and audience segment. Check whether the mix changed during the test.
Exercise
A fake door receives 12 clicks from 300 eligible visitors. The success threshold is 4%, and the failure threshold is 2%. What should you conclude from the observed rate alone, and what additional check is needed?
Show answer
The observed rate is 4%. It is exactly at the success threshold, so it does not justify an automatic build decision. Calculate a confidence interval and check event quality, audience mix, and duplicate counting before deciding.