Sub topic 12
Measuring subscriber quality per lead magnet
This chapter assumes you already tag subscribers by lead magnet source, run an email platform that records opens, clicks and purchases, and can read basic Python. If you have not set up source tagging, do that first, because every measurement here depends on it.
Why signup counts mislead
A signup count tells you how many people filled in a form. It does not tell you whether they read your emails, trust you, or ever buy. A giveaway can double your signups in a week and still leave you with a list that ignores everything you send.
Quality measurement compares lead magnets by what subscribers do after signing up. The unit of analysis is the source cohort: all subscribers who joined through one lead magnet. You compute the same rates for every cohort, then compare them.
Consider two magnets:
| Lead magnet | Signups | Engaged in 30 days | Bought |
|---|---|---|---|
| Prize giveaway | 1,000 | 60 (6%) | 5 (0.5%) |
| Onboarding checklist | 300 | 150 (50%) | 24 (8%) |
The giveaway produced more than three times as many signups. The checklist produced almost five times as many buyers, from fewer people. The checklist is the better magnet.
Choosing the metrics
Pick a small set of metrics, define each one precisely, and use the same definitions every time you compare.
Engagement rate
Engagement rate is the share of a cohort that took a meaningful action in a fixed window after signup. The sample code later in this chapter uses "clicked at least one link in the first 30 days".
Prefer clicks to opens. Many mail clients preload images or open messages automatically, which inflates open counts. A click is harder to produce by accident.
Buyer rate
Buyer rate is the share of a cohort that made a purchase. It is the closest measure to the outcome you want. It is also slow and noisy, because purchases are rare and often happen weeks after signup.
Supporting metrics
These help you diagnose problems that the two main rates only hint at.
| Metric | What it tells you | Typical warning sign |
|---|---|---|
| Unsubscribe rate in the first 30 days | Whether the promise matched what you sent | A spike after the welcome email |
| Spam complaint rate | Whether people remember opting in | Anything near 0.1% or higher |
| Reply rate to the welcome email | Whether subscribers feel a connection | Zero replies from a large cohort |
| Revenue per subscriber | Total revenue divided by cohort size | Low value despite a high buyer rate |
Revenue per subscriber matters when a magnet attracts many small purchases while another attracts few large ones. Buyer rate alone would rank them wrongly.
Computing the rates
The function below groups subscribers by source and returns the signup count, engaged rate and buyer rate for each.
def quality_by_source(subscribers):
"""Compute engagement and purchase rates for each lead magnet source."""
stats = {}
for sub in subscribers:
entry = stats.setdefault(sub["source"], {"total": 0, "engaged": 0, "buyers": 0})
entry["total"] += 1
entry["engaged"] += 1 if sub["clicked_in_30_days"] else 0
entry["buyers"] += 1 if sub["purchased"] else 0
return {
source: {
"signups": entry["total"],
"engaged_rate": entry["engaged"] / entry["total"],
"buyer_rate": entry["buyers"] / entry["total"],
}
for source, entry in stats.items()
}
subscribers = [
{"source": "onboarding-checklist", "clicked_in_30_days": True, "purchased": True},
{"source": "onboarding-checklist", "clicked_in_30_days": True, "purchased": False},
{"source": "prize-giveaway", "clicked_in_30_days": False, "purchased": False},
{"source": "prize-giveaway", "clicked_in_30_days": False, "purchased": False},
]
print(quality_by_source(subscribers))Running it prints an engaged rate of 1.0 and a buyer rate of 0.5 for the checklist, and 0.0 for both rates for the giveaway.
The source value comes from the hidden field in your opt-in form. The <input type="hidden" name="source" ...> field is what makes this grouping possible. If the field is missing or inconsistent, subscribers fall into the wrong group or no group.
How the data flows
Edge cases that distort the numbers
Cohorts of different ages
A cohort from last week has had less time to engage and buy than one from three months ago. Comparing them directly favors the older one. Fix this by measuring every subscriber over the same fixed window from their own signup date, and exclude anyone whose window has not yet closed.
The sample function takes a boolean such as clicked_in_30_days, so your data export must already apply this rule. Subscribers who signed up 10 days ago should not appear in a 30-day calculation.
Small samples
A cohort of 4 people with 2 buyers shows a 50% buyer rate. That figure says almost nothing. With small cohorts, one person changes the result by a large amount.
As a rough guide, avoid drawing conclusions from cohorts under about 100 subscribers for engagement, and far more for buyer rate, because buyers are rare. When a cohort is small, report the counts next to the rates and wait for more data.
Division by zero
The function divides by entry["total"]. Because an entry is only created when a subscriber exists, the total is always at least 1. If you change the code to start from a list of known sources, add a check for empty cohorts.
Overlapping sources
One person may sign up for two magnets. Decide in advance which source gets credit. Common choices are the first source or the most recent one. Pick one and apply it consistently, or the same buyer will be counted twice.
Purchases with long delays
If your product has a long sales cycle, a 30-day buyer rate will be near zero for every cohort, which hides real differences. Use a longer window, such as 90 days, or rely more on engagement and replies until purchase data matures.
Attribution is not causation
A magnet may attract buyers because it reaches an audience that was already likely to buy, for example visitors from a high-intent article. Cohort comparisons show which magnet-and-traffic combinations work. They do not prove the magnet alone caused the result. Compare magnets that receive similar traffic when you can.
Reading the results
Rank magnets by buyer rate and revenue per subscriber, and use engagement as an earlier signal while purchases accumulate. Then ask what each gap means.
| Pattern | Likely cause | Next step |
|---|---|---|
| High signups, low engagement | Offer attracts the wrong people, such as prize seekers | Tighten the promise, remove generic incentives |
| High engagement, low buyers | Right topic, weak bridge to your product | Review the welcome sequence and offer |
| Low signups, high buyers | Good filter, narrow reach | Keep it, then test more traffic |
| High unsubscribes after welcome email | Delivered content differs from the promise | Fix the mismatch between page and email |
A magnet with fewer signups and better rates is usually the one to keep and promote. That is the point of measuring quality: it lets you choose the smaller, better list.
A weekly review routine
- Export subscribers with their source, signup date, 30-day click flag and purchase flag.
- Exclude anyone whose 30-day window is still open.
- Run the per-source calculation.
- Record signups, engaged rate, buyer rate and revenue per subscriber in a running table.
- Flag cohorts with fewer than 100 subscribers as "too small to judge".
- Note any magnet whose unsubscribe or complaint rate rose.
Keeping a record over time shows trends that one snapshot hides, and it gives you the baseline you need for the tests in the next chapter.
Exercise
Magnet A has 800 signups, 80 engaged subscribers and 8 buyers. Magnet B has 200 signups, 80 engaged subscribers and 10 buyers. Calculate the engaged rate and buyer rate for each, and say which you would promote and why.
Show answer
Magnet A: engaged rate 80/800 = 10%, buyer rate 8/800 = 1%. Magnet B: engaged rate 80/200 = 40%, buyer rate 10/200 = 5%. Promote Magnet B. It has four times the engaged rate and five times the buyer rate, and it produced more buyers from a quarter of the signups. Both cohorts are large enough to be reasonably informative, though you should confirm both were measured over the same 30-day window.
Exercise
A magnet launched 12 days ago shows a 3% buyer rate, while an older magnet shows 6% over 30 days. Why is this comparison unreliable, and how do you fix it?
Show answer
The new cohort has not completed the 30-day window, so many subscribers have not had time to engage or buy. The fix is to measure each subscriber over the same fixed window from their own signup date and exclude subscribers whose window is still open, then compare once the new cohort's window has closed.