Sub topic 10
Judging subscriber quality by source
This chapter assumes you can read basic SQL and Python. It also assumes you know what open rates, confirmed signups, and unsubscribes mean. Earlier chapters showed how to tag each signup with a referrer or a partner. Here you use those tags to decide which sources deserve more effort.
Why signup counts mislead
A source that brings 500 signups a month looks better than one that brings 200. If half of the 500 leave within two weeks and never open an email, the smaller source may be worth more. Raw signup counts reward volume. Quality metrics reward subscribers who stay and read.
Sources differ in predictable ways. Referred readers often arrive with a friend's trust. Readers who join only to earn a reward may leave once they have it. Recommendation partners vary by audience fit. Without source-level measurement, you cannot tell these cases apart.
Choose a small set of quality metrics
Pick a few measures that you can compute for every source:
| Metric | What it tells you | Typical window |
|---|---|---|
| Confirmation rate | Share of signups who confirm their address | 7 days |
| Retention | Share still subscribed after a fixed time | 30 and 90 days |
| Engagement | Share who opened or clicked at least once | First 30 days |
| Cost per retained subscriber | Spend divided by subscribers who stayed | 30 or 90 days |
Use the same window for every source. A fixed window keeps the comparison fair.
Compare cohorts, not totals
A cohort is a group of subscribers who joined in the same period. Compare cohorts by source, and include only subscribers who have had the full window to churn. A subscriber who joined yesterday cannot yet have unsubscribed after 30 days, so including them inflates retention.
The following query assumes a subscribers table with source, confirmed_at, and unsubscribed_at columns, and an opens table with subscriber_id and opened_at. It uses PostgreSQL syntax.
SELECT s.source,
COUNT(*) AS confirmed,
ROUND(AVG(CASE
WHEN s.unsubscribed_at IS NULL
OR s.unsubscribed_at > s.confirmed_at + INTERVAL '30 days'
THEN 1.0 ELSE 0.0 END), 3) AS retained_30d,
ROUND(AVG(CASE
WHEN EXISTS (
SELECT 1 FROM opens AS o
WHERE o.subscriber_id = s.id
AND o.opened_at <= s.confirmed_at + INTERVAL '30 days'
) THEN 1.0 ELSE 0.0 END), 3) AS engaged_30d
FROM subscribers AS s
WHERE s.confirmed_at IS NOT NULL
AND s.confirmed_at <= CURRENT_DATE - INTERVAL '30 days'
GROUP BY s.source
ORDER BY retained_30d DESC;The WHERE clause keeps only confirmed subscribers whose 30 days have passed. That is the cohort rule applied in code.
Fold in cost
Quality only matters relative to what you pay. Referral rewards, partner fees, and paid placements all cost something. Divide spend by the number of subscribers who stayed, not by the number who signed up.
def cost_per_retained(spend, signups, retention):
"""Spend divided by the subscribers still present at the window's end."""
retained = signups * retention
return spend / retained
sources = {
"referral": (500, 400, 0.70),
"recommendation": (900, 600, 0.55),
}
for name, (spend, signups, retention) in sources.items():
print(name, round(cost_per_retained(spend, signups, retention), 2))
# referral 1.79
# recommendation 2.73Here the recommendation source brings more signups, yet each retained subscriber costs about 50% more.
Common errors
- Mixing windows. Comparing 30-day retention for one source with 90-day for another produces a false ranking.
- Losing the tag. If the source is overwritten when a subscriber re-subscribes, you attribute their behavior to the wrong channel. Store the first-touch source and never edit it.
- Treating opens as ground truth. Mail privacy features inflate open counts. Prefer clicks, replies, or retention where you can.
- Ignoring spam complaints. A source with good retention but high complaint rates can still hurt your sender reputation.
What to do with the results
Use the comparison to adjust effort. Raise reward budgets for sources with strong retention. Renegotiate or drop partners whose subscribers vanish. Tighten fraud checks on sources that show high signup volume and near-zero engagement. The next chapter covers testing these changes in a controlled way.
Exercise
Source A has 300 confirmed signups, 240 still subscribed at 30 days, and cost $480. Source B has 500 confirmed signups, 300 still subscribed at 30 days, and cost $600. Which source has the lower cost per retained subscriber?
Show answer
Source A: $480 / 240 = $2.00. Source B: $600 / 300 = $2.00. They are equal, even though B brought more signups and A has higher retention (80% versus 60%). The tie in cost means the choice depends on other factors, such as engagement and complaint rates.
Exercise
Why must a retention comparison include only subscribers whose full window has elapsed?
Show answer
A recent subscriber has not had the full window to unsubscribe, so counting them as retained inflates the rate. Sources that grew recently would look better than older ones for no real reason.