Sub topic 7
Getting traffic that represents your real buyers
A smoke test measures the share of visitors who take a step toward buying. That number only tells you something about your market if the visitors resemble the people who would buy. This chapter covers where to find that traffic, how to keep it clean, and how to check that it matches your target segment.
This chapter assumes you have read the chapters on smoke tests and on setting success thresholds. You should know what a fake-door test is and have a segment and a conversion threshold written down before launch. Comfort with percentages is enough for the arithmetic.
Why the source of traffic decides the result
A conversion rate is a ratio: people who acted divided by people who arrived. The numerator depends on your offer. The denominator depends on who you let in. Change the denominator and the same page gives a very different result.
Suppose your segment is freelance designers who invoice at least five clients a month. You buy broad ads aimed at "small business owners". Most clicks come from people who never send invoices. Your conversion rate falls, and you might wrongly conclude there is no demand. The opposite error also happens. A giveaway headline or a free-tool pitch pulls in curious people who click anything, and the rate looks high for the wrong reason.
Both errors come from traffic that does not match the segment in your hypothesis. The test result then describes the wrong population, and your pre-set build and stop thresholds no longer apply to it.
Qualified visitors
The test plan in this tutorial counts "qualified visitors". A qualified visitor is a person who matches the segment definition you wrote before launch. Two things follow from that.
First, you need a way to tell qualified from unqualified visitors. Second, the sample size in your plan (300 in the example) counts only qualified visitors. If half your clicks are unqualified, you need about 600 clicks, not 300.
There are three common ways to establish qualification:
- Targeting at the source. Choose a channel or ad audience where the segment is concentrated.
- A screening question on the page. Ask one factual question before the offer, such as "How many clients do you invoice per month?", and count only visitors who answer in the qualifying range.
- Post-hoc checks. Ask people who signed up or paid to fill in a short form and verify the segment afterwards.
Screening questions should ask about facts and behavior, not about interest. "Do you send invoices to five or more clients per month?" is better than "Are you interested in invoicing tools?" Interest is easy to claim and says little about fit.
Channels and their trade-offs
No channel is neutral. Each one filters visitors in its own way.
| Channel | Strength | Main risk |
|---|---|---|
| Paid search ads | Visitors are actively looking for a solution | Cost per click can be high for B2B terms, and intent may be for a free tool |
| Paid social ads | Detailed targeting by job title, interests, and location | Low intent: people were not looking, so rates run lower |
| Niche communities and forums | Dense with your segment, cheap | Posting rules, self-promotion bias, and a small, unusual slice of the segment |
| Your own newsletter or social following | Free and fast | Followers are friendlier than strangers and over-represent your network |
| Direct outreach (email, LinkedIn) | Precise segment control | Slow, and replies reflect your personal pitch as much as the offer |
| Referrals from earlier interviewees | High relevance | Selected by an earlier relationship, so rates are inflated |
For a first test, paid search and targeted paid social are the usual choices because you control volume and can stop spending when the test ends. Communities and outreach work well for hard-to-reach segments, but treat their rates as an upper bound.
Matching the message to the segment
The ad and the page are part of the filter. An ad that says "Automated invoice reminders for freelance designers" attracts designers and discourages others. An ad that says "Get paid faster!" attracts anyone.
Keep the ad's promise consistent with the page. If the ad hints at a free tool and the page shows a $19/month price, visitors leave and you lose the sample for a reason that has nothing to do with real demand. Use the same wording for the problem and the segment in both places.
Avoid design choices that inflate clicks without adding information, such as vague urgency ("Only 5 spots left"), unrealistic discounts, or buttons that look like something else. These raise the rate while lowering its meaning.
Planning volume and budget
Before launching, check that you can reach your sample size at a realistic cost. You do this with a rough calculation. If you expect a given conversion rate, the visitors needed to see a target number of buyers is the target divided by the rate.
import math
def visitors_needed(target_buyers, conversion_rate):
"""Visitors required to expect a given number of buyers at a conversion rate."""
if target_buyers <= 0:
raise ValueError("target_buyers must be positive")
if not 0 < conversion_rate <= 1:
raise ValueError("conversion_rate must be in (0, 1]")
return math.ceil(target_buyers / conversion_rate)
# To expect 20 paying preorders at a 2% visit-to-preorder rate:
print(visitors_needed(20, 0.02))This prints 1000. Now add cost. If a qualified click costs $1.50, a thousand visitors cost $1,500. If only 60% of your clicks are qualified, you need roughly 1,667 clicks, which is about $2,500. That is the kind of number you want to see before you spend anything, because it may tell you to narrow the targeting, run the test for longer, or choose a cheaper channel.
Note that this calculation gives an expectation, not a guarantee. With a true rate of 2%, a given run of 1,000 visitors will not always produce exactly 20 buyers. The chapter on small-sample results covers how wide that spread is.
Keeping the data clean
Raw traffic contains noise that you can remove or at least measure.
- Bots and invalid clicks. Ad platforms filter some of them, but not all. Look for sessions with zero seconds on the page, many visits from one network, or clicks with no scrolling.
- Your own visits. Exclude your team, friends, and anyone you asked to "take a look". Their behavior is not independent evidence.
- Duplicates. Count one person once. A visitor who returns three times is still one visitor, and one person who tries to pay twice is one buyer.
- Mixed sources. Tag every visitor with their channel using URL parameters, for example
?utm_source=search&utm_campaign=designers_v1. You will want to report conversion per channel.
Report conversion per source, not only in total. A pooled rate can hide that one channel converted at 4% and another at 0.3%. That difference is itself a finding: it tells you where your buyers are.
from collections import defaultdict
visits = [
{"source": "search", "qualified": True, "converted": True},
{"source": "search", "qualified": True, "converted": False},
{"source": "social", "qualified": True, "converted": False},
{"source": "social", "qualified": False, "converted": False},
{"source": "search", "qualified": False, "converted": False},
]
totals = defaultdict(lambda: [0, 0]) # source -> [qualified visitors, conversions]
for visit in visits:
if not visit["qualified"]:
continue
totals[visit["source"]][0] += 1
totals[visit["source"]][1] += int(visit["converted"])
for source, (n, k) in totals.items():
print(f"{source}: {k}/{n} = {k / n:.0%}")The loop skips unqualified visitors, so the rates match the sample definition in your plan.
Common errors
- Testing on your network. Friends and followers like you. Their rate predicts little about strangers.
- Choosing the channel after seeing results. If you try five channels and report the best one, you have selected on noise. Decide in advance which channel counts, or report all of them.
- Stopping when the number looks good. Ending the test early because the rate crossed your threshold inflates false positives. Fix the sample size first, as in the test plan.
- Ignoring drop-off before the offer. If most visitors leave within seconds, the problem may be the ad-to-page match, not the product.
- Treating traffic cost as demand. A cheap, large audience of the wrong people produces a low rate at a low price. Cost per qualified buyer is the number to track.
A diagram of the traffic funnel
Checklist before you launch
- Write the segment definition and the screening rule in the test plan.
- Pick one or two channels and say which ones count toward the decision.
- Estimate qualified clicks needed, cost per click, and total budget.
- Align the ad wording with the page wording.
- Set up source tags and exclude internal traffic.
- Fix the sample size and stop date before you look at results.
Exercise
Your plan needs 300 qualified visitors. Your ads cost $2 per click, and a screening question shows that 40% of clicks are in the target segment. About how many clicks and how much budget do you need, and what does it tell you if the budget is too high?
Show answer
You need 300 / 0.40 = 750 clicks, which costs 750 × $2 = $1,500. If that is too high, narrow the targeting or ad wording so a larger share of clicks qualifies, choose a channel where the segment is denser, or lengthen the test period. Do not lower the qualified sample size just to fit the budget, because the thresholds in your plan assume it.
Exercise
A test run on your newsletter converts 6% and a paid search test converts 1.5%, both with qualified visitors. Which rate should count toward a build decision, and why?
Show answer
The paid search rate, unless your real buyers will mostly come from people who already follow you. Newsletter subscribers already know and like you, so their rate overstates what strangers will do. Report both, but compare the one that reflects your planned acquisition channel with the thresholds you set before the test.