Sub topic 8
Defining and Measuring an Activation Metric
This chapter assumes you know what an aha moment and activation are in concept, and that you are comfortable with SQL joins, percentages, and the signup-to-paid funnel. Here you turn "activation" into a number your team can compute, track, and trust.
What a good activation metric looks like
An activation metric is a precise, countable definition of "this new user reached value." It has three parts:
- An event. A specific action the product records, such as
report_shared. - A time window. How long after signup the event must happen, such as 7 days.
- A population. Who is counted, such as all new signups since a given date.
"Users who found the product useful" is not a metric. "Users who shared a report within 7 days of signup" is.
A useful activation metric meets four tests:
- It reflects value, not effort. Clicking through a tour is effort. Sharing a report with a teammate is value.
- It predicts a business outcome. Activated users should convert to paid or stay active at a clearly higher rate than non-activated users.
- It is early. It should happen within days, so you can act on the result within a sprint rather than a quarter.
- The team can influence it. Onboarding, defaults, and prompts should be able to move it.
Choosing the candidate event
Start from the aha moment and list the in-product events near it. Then test each candidate against data.
A simple method:
- Pull a cohort of users who signed up at least one outcome-window ago (for example, 90 days, if you measure paid conversion within 90 days).
- For each candidate event, split users into "did it within N days" and "did not."
- Compare the outcome (paid conversion or 90-day retention) between the two groups.
- Prefer events with a large gap in outcome and a reasonable share of users who reach them.
The second point in step 4 matters. An event that only 1% of users reach may have a huge conversion gap but cannot serve as your main metric, because it is too rare to monitor or experiment on. An event that 95% of users reach does not separate anyone.
Often a single event is not enough. Many teams use a threshold, such as "created 3 projects" or "invited 2 teammates," or a combination, such as "connected a data source and viewed a dashboard." Pick the simplest definition that still predicts the outcome.
Choosing the time window
The window answers: "how long do we give a user to activate?" Two forces pull in opposite directions.
- A short window (1 to 3 days) gives fast feedback and rewards fast time to value. It may undercount products with slow setup.
- A long window (14 to 30 days) captures slow adopters. It delays your readout and can blur the effect of onboarding changes.
A practical way to choose: plot, for users who eventually activate, the share who did so by day 1, 2, 3, 7, 14. Choose the day where the curve flattens. If 80% of eventual activators do so within 7 days, a 7-day window loses little and keeps your feedback loop short.
For a free trial, align the window with the trial length or a fraction of it. If the trial is 14 days, activation within 7 days leaves the user a week to evaluate the value before paying.
Measuring activation in SQL
The first code example computes weekly activation rate for each signup cohort in PostgreSQL. A cohort here is the group of users who signed up in the same week.
WITH signups AS (
SELECT user_id, created_at AS signup_at
FROM users
WHERE created_at >= DATE '2026-01-01'
),
activated AS (
SELECT s.user_id, MIN(e.occurred_at) AS activated_at
FROM signups s
JOIN events e ON e.user_id = s.user_id
WHERE e.event_name = 'report_shared'
AND e.occurred_at < s.signup_at + INTERVAL '7 days'
GROUP BY s.user_id
)
SELECT
date_trunc('week', s.signup_at) AS signup_week,
COUNT(*) AS signups,
COUNT(a.user_id) AS activated,
ROUND(100.0 * COUNT(a.user_id) / COUNT(*), 1) AS activation_pct
FROM signups s
LEFT JOIN activated a ON a.user_id = s.user_id
GROUP BY 1
ORDER BY 1;Read the query in three steps:
signupsdefines the population and records each user's signup time.activatedfinds users who performed the chosen event beforesignup_at + 7 days.MIN(e.occurred_at)keeps only the first occurrence, which also gives you time to activate if you want it.- The final
SELECTuses aLEFT JOINso users who never activated stay in the denominator.COUNT(a.user_id)counts only non-null matches, so it counts activated users.
Edge cases in the query
- Immature cohorts. The most recent signup week has not had 7 full days yet, so its activation rate looks artificially low. Exclude cohorts younger than the window, or mark them as incomplete. A condition like
s.signup_at < now() - INTERVAL '7 days'in thesignupsCTE (a CTE is a named subquery) handles this. - Events before signup. If events can be backfilled or imported, add
e.occurred_at >= s.signup_atto avoid counting them. - Duplicate or test users. Filter out internal accounts and obvious spam, or your denominator and numerator both drift.
- Time zones.
date_trunc('week', ...)uses the session time zone fortimestamptzcolumns. Set it explicitly so weeks do not shift between dashboards. - User versus account. In a team product, the unit may be the workspace, not the person. Decide which one you count, and use it consistently. A workspace is often activated when any member reaches the event, or when several do.
Measuring conversion by stage
Once activation is defined, overall signup-to-paid conversion splits into two stage rates. The second code example uses made-up numbers.
def conversion_rate(converted: int, started: int) -> float:
"""Share of started trials (or free accounts) that became paid."""
if started == 0:
return 0.0
return converted / started
cohort = {"signups": 2000, "activated": 640, "paid": 96}
activation_rate = conversion_rate(cohort["activated"], cohort["signups"])
activated_to_paid = conversion_rate(cohort["paid"], cohort["activated"])
overall = conversion_rate(cohort["paid"], cohort["signups"])
print(f"activation: {activation_rate:.1%}")
print(f"activated -> paid: {activated_to_paid:.1%}")
print(f"signup -> paid: {overall:.1%}")This prints:
activation: 32.0%
activated -> paid: 15.0%
signup -> paid: 4.8%The key identity is that overall conversion equals activation rate times activated-to-paid rate: 0.32 × 0.15 = 0.048. This lets you diagnose a drop in the right place.
If overall conversion falls from 4.8% to 3.6%, the cause could be either factor:
- If activation fell to 24% while activated-to-paid stayed at 15%, look at onboarding and signup quality.
- If activation stayed at 32% while activated-to-paid fell to 11.25%, look at pricing, packaging, or the trial-end experience.
Note that the 96 paid users in this example are not all drawn from the 640 activated users in practice. Some non-activated users also pay. For a clean split, count only paid users who were also activated in the second stage, and report non-activated payers separately. A large group of non-activated payers suggests your activation definition misses a path to value.
Validating the metric
After you define the metric, check it regularly.
| Check | What to look for | If it fails |
|---|---|---|
| Outcome gap | Activated users convert or retain at a clearly higher rate | Pick a different event or threshold |
| Coverage | A meaningful share of users activate (not near 0% or 100%) | Adjust the threshold |
| Stability | Rates are steady across cohorts when nothing changed | Check tracking and instrumentation |
| Leakage | Non-activated users who pay are a small share | Add a second path to the definition |
| Gaming | Activation rises while conversion stays flat | Your event measures effort, not value |
The last row is the vanity activation failure mentioned in the pitfalls chapter. If the product team adds a prompt that pushes users to click a low-value button counted as activation, the number rises and revenue does not. Always track activation next to a downstream outcome.
Instrumentation requirements
The metric is only as good as the event data behind it.
- Name events by user intent, such as
report_shared, not by interface detail, such asbutton_click_17. - Record one timestamp in UTC for every event, plus a stable user ID and workspace ID.
- Deduplicate and test in staging. Fire the event in a test account and confirm it appears exactly once.
- Version your definition. When you change the event or window, record the date. Otherwise a trend line mixes two different metrics.
Summary of decisions
- Pick a candidate event near the aha moment.
- Test it against a downstream outcome on mature cohorts.
- Choose a window where the activation curve flattens.
- Decide the unit: user or workspace.
- Compute the rate per signup cohort, excluding immature cohorts.
- Track the stage rates separately and monitor the guardrails.
Exercise
A 14-day trial cohort has 1,500 signups, 450 users who completed the activation event within 7 days, and 90 paying customers who were all among the activated users. (a) Compute the activation rate, the activated-to-paid rate, and the overall signup-to-paid rate. (b) The next cohort's overall rate falls from your result to 4.0%, and activation stays the same. Which stage changed, and what is its new rate?
Show answer
(a) Activation = 450 / 1,500 = 30.0%. Activated-to-paid = 90 / 450 = 20.0%. Overall = 90 / 1,500 = 6.0%, which equals 0.30 × 0.20. (b) Activation stayed at 30%, so the activated-to-paid stage changed. The new rate is 4.0% / 30% ≈ 13.3%. Investigate pricing, packaging, or the trial-end experience rather than onboarding.
Exercise
Your weekly activation query shows the latest signup week at 9%, while earlier weeks are near 31%. The window is 7 days and you ran the query on the third day of that week. What is the likely cause, and how do you fix the query?
Show answer
The latest cohort is immature: its users have not had the full 7 days to activate, so the rate is artificially low. Fix it by excluding cohorts whose signup time is later than now() minus 7 days, for example with s.signup_at < now() - INTERVAL '7 days' in the signups CTE, or by labeling that week as incomplete.