Sub topic 14
Retention, Expansion, and Viral Loops
This chapter assumes you know the signup-to-paid funnel, what an activation metric is, and how plan limits work. It covers what happens after a user activates: keeping them, growing the account, and getting new users from existing ones.
Why retention comes first
Retention is the share of users or accounts that are still active after a given period. A leaky product wastes every other effort. If users activate but leave in week three, better onboarding and bigger free tiers only fill a bucket with a hole in it.
Measure retention by cohort. Group users by signup week, then track the share who perform the core action in each later week. A healthy curve drops early and then flattens. A curve that keeps falling toward zero means the product has not become a habit.
Define "active" with the same core action as your activation event, or a close relative of it. Counting logins as activity is a common mistake, because a user can log in and get no value.
Expansion: growing revenue inside an account
Expansion is extra revenue from an existing customer. In PLG it usually comes from three sources:
- More seats, as more teammates join.
- A higher plan, when the account needs features such as SSO or longer history.
- More usage, when pricing depends on volume.
Net revenue retention (NRR) summarizes this. It is the revenue today from customers you had a year ago, divided by what they paid a year ago. Above 100% means expansion outweighs churn and downgrades.
def net_revenue_retention(start: float, expansion: float,
contraction: float, churn: float) -> float:
"""Revenue kept from a starting group of customers, as a ratio."""
if start == 0:
return 0.0
return (start + expansion - contraction - churn) / start
# Example: $100,000 of monthly recurring revenue a year ago.
print(f"NRR: {net_revenue_retention(100_000, 22_000, 4_000, 8_000):.0%}")This prints NRR: 110%. Packaging from the earlier chapter drives expansion: limits the free tier hits and paid features a larger team needs create natural reasons to upgrade.
Viral and collaborative loops
A loop is a path where output from one user becomes input for the next. Growth loops compound, while a one-time campaign stops when you stop spending.
Two kinds matter most in PLG:
- Collaboration loops. The product needs more than one person. A user invites teammates to share a report, and each invitee becomes a new user.
- Content loops. Users create things that others see, such as shared links or public pages, and viewers sign up.
The activation query's report_shared event is a loop trigger. Each share exposes the product to a new person.
Judge a loop by two numbers: how many invites each user sends, and what share of invitees sign up and activate. Their product is the viral coefficient. A value above 1 means self-sustaining growth. Most products land well below 1, and that is still useful, because each loop turn lowers the cost of acquiring users.
Common errors
- Measuring retention of signups instead of activated users, which hides whether the product works for people who got value.
- Forcing invites with dark patterns. Spam damages trust and the sender's reputation.
- Putting the sharing feature behind a paywall. Gating the loop's core action slows the growth it should feed.
Exercise
A product has 1,000 customers paying $100,000 per month in total a year ago. Those same customers now pay $118,000, after $20,000 of expansion and $2,000 of churn and contraction. What is NRR, and what does it tell you?
Show answer
NRR is 118,000 / 100,000 = 118%. Expansion more than covers the lost revenue, so the existing customer base grows even with no new signups.