Sub topic 1
Why Product Metrics and the User Lifecycle
Prerequisites
This chapter assumes you know percentages and simple ratios, and that you can read basic SQL (SELECT, JOIN, WHERE, GROUP BY). You should also understand how customers use your product.
Why product metrics matter
A product metric is a number that shows whether people get value from a product. Revenue and signup counts show results after the fact. Activation, engagement, and retention show earlier whether the product works.
Users move through a lifecycle. They sign up, reach their first value (activation), use the product regularly (engagement), and keep coming back (retention).
Events and user identity
An event is a record that a user did something, such as project_created. Each event needs a stable user_id and a timestamp. Metrics are built from events. Without a stable identity, one person can look like several users.
Defining a metric precisely
Every metric needs three parts: a population (who is counted), an event (what counts), and a time window (when it counts). "Activation rate" alone is ambiguous. "Share of users who signed up in January 2026 and created a project within 7 days of signup" is precise.
Funnels and conversion steps
A funnel is a sequence of steps. The conversion at each step is the share of users who reach it. The query below counts signups and the users who created a project within 7 days.
SELECT
COUNT(DISTINCT u.user_id) AS signups,
COUNT(DISTINCT p.user_id) AS activated,
COUNT(DISTINCT p.user_id) * 1.0 / COUNT(DISTINCT u.user_id) AS conversion
FROM users u
LEFT JOIN events p
ON p.user_id = u.user_id
AND p.event_name = 'project_created'
AND p.event_time >= u.signup_at
AND p.event_time < u.signup_at + INTERVAL '7 days'
WHERE u.signup_at >= DATE '2026-01-01'
AND u.signup_at < DATE '2026-02-01';Activation: finding the aha moment
Activation is the event that best predicts continued use, often called the aha moment. Find it by comparing users who performed a candidate event with users who did not. Activation rate is the share of a signup cohort that reaches the event within a fixed window.
Time to value
Time to value is the time from signup to the aha moment. Shorter is usually better. Track the median rather than only the average, because a few very slow users can distort the mean.
Exercise
A cohort has 400 signups in March. 120 of them created a project within 7 days of signing up. What is the 7-day activation rate?
Show answer
120 / 400 = 0.30, so the activation rate is 30%.