Sub topic 5
Activation: finding and measuring the aha moment
This chapter assumes you can write basic SQL (SELECT, JOIN, GROUP BY). It also assumes you know what an event and a metric definition are: a named population, an event, and a time window. Here you will apply those ideas to the first lifecycle milestone, activation.
What activation is
Activation is the point where a new user first experiences the core value of the product. The moment itself is often called the aha moment. Activation is a milestone, not a feeling, so you measure it as a specific event (or a short set of events) performed by a specific population within a specific window.
Signup is not activation. A signup shows interest, but the user has not yet received anything. Activation is also not the same as engagement, which describes ongoing use. A user activates once. They stay engaged repeatedly.
| Product | Plausible activation event |
|---|---|
| Project management tool | Creates a project and invites one teammate |
| Music app | Plays 5 songs in the first session |
| Expense app | Submits the first expense report |
| Analytics tool | Sees data from a connected source |
Finding the aha moment
You rarely know the activation event in advance. You infer it from data and then check it against what you know about the product. A workable process has four steps.
- List candidate events that happen early in a user's life and represent value, not setup.
- For each candidate, compare long-term retention of users who did it within a fixed window against users who did not.
- Look for an event that is common enough to matter and strongly associated with retention.
- Test whether the relationship is causal, for example by changing onboarding to push more users toward the event.
The query below does step 2. It assumes the users and events tables from earlier chapters. For January 2026 signups, it finds which events occurred in the first 7 days. It then checks whether each user performed core_action between day 28 and day 35.
-- Candidate activation events vs. week-5 retention (PostgreSQL)
-- Assumes: users(user_id, signup_at), events(user_id, event_name, event_time)
WITH cohort AS (
SELECT user_id, signup_at
FROM users
WHERE signup_at >= DATE '2026-01-01'
AND signup_at < DATE '2026-02-01'
),
candidates AS (
SELECT DISTINCT c.user_id, e.event_name
FROM cohort c
JOIN events e
ON e.user_id = c.user_id
AND e.event_time >= c.signup_at
AND e.event_time < c.signup_at + INTERVAL '7 days'
WHERE e.event_name <> 'core_action'
),
retained AS (
SELECT DISTINCT c.user_id
FROM cohort c
JOIN events e
ON e.user_id = c.user_id
AND e.event_name = 'core_action'
AND e.event_time >= c.signup_at + INTERVAL '28 days'
AND e.event_time < c.signup_at + INTERVAL '35 days'
)
SELECT
cand.event_name,
COUNT(*) AS users_with_event,
COUNT(r.user_id) * 1.0 / COUNT(*) AS retained_rate
FROM candidates cand
LEFT JOIN retained r ON r.user_id = cand.user_id
GROUP BY cand.event_name
ORDER BY retained_rate DESC;Compare each retained_rate with the retention of the whole cohort. An event that lifts retention from 20% to 45% is interesting. An event that only 1% of users reach is not useful as a company-wide definition, however good its retention.
Correlation is not the aha moment
Users who do many things early are often just more motivated. Their retention would be high whatever the product did. Treat the query result as a shortlist, then:
- Check that the event delivers the value users came for, not only that it is a marker of effort.
- Try a threshold, such as "3 or more projects", and look for a point where retention stops improving.
- Run an experiment that nudges users toward the event and watch whether retention moves.
Measuring activation rate
Once you have chosen an event, state the metric in full. The activation rate for a signup cohort is the share of users who performed the activation event within N days of their own signup. The three parts are the population, the event, and the window.
-- 7-day activation rate for users who signed up in January 2026
-- Assumes: users(user_id, signup_at), events(user_id, event_name, event_time)
SELECT
COUNT(DISTINCT a.user_id) * 1.0 / COUNT(DISTINCT u.user_id) AS activation_rate_7d
FROM users u
LEFT JOIN events a
ON a.user_id = u.user_id
AND a.event_name = 'project_created'
AND a.event_time >= u.signup_at
AND a.event_time < u.signup_at + INTERVAL '7 days'
WHERE u.signup_at >= DATE '2026-01-01'
AND u.signup_at < DATE '2026-02-01';The denominator is every user who signed up in the month. The LEFT JOIN keeps users with no activation event, so they count in the denominator but not the numerator. An INNER JOIN would drop them and return 100%.
Edge cases that change the number
- Immature cohorts. A user who signed up yesterday has not had 7 days. Only compute the 7-day rate for cohorts whose last signup is at least 7 days old, or report a partial figure clearly marked as such.
- Per-user windows. The window starts at each user's own
signup_at, not at the start of the month. Using a calendar month for the event inflates the rate for early signups. - Pre-signup events. The
event_time >= u.signup_atcondition excludes anonymous events that were later merged onto the user. If identity stitching moves earlier events onto the user, decide whether they count and keep that rule fixed. - Time zones. Store timestamps in UTC and apply the same boundaries for every cohort.
- Multiple definitions. If activation is "event A and event B", compute both per user first, then count users who have both. Counting rows will double-count.
- Bots and internal accounts. Exclude test and staff users in the population filter.
Where activation sits in the funnel
Activation is usually the last step of an onboarding funnel. The funnel shows where users stop before reaching it.
If activation is 30%, the funnel tells you which step loses the most users. A large drop at email verification is a different problem from a large drop between setup and first value, and the fixes are different.
Common mistakes
- Defining activation as signup completion. This measures the signup form, not value.
- An activation event that is too hard. If only 3% of users reach it, you will have little data and little ability to improve it. Pick the first event that is both valuable and reasonably common.
- An event that is too easy. "Opened the app" is nearly universal and does not separate users who got value from those who did not.
- Changing the definition silently. If you move from
project_createdtoproject_createdplus an invite, the rate falls even though nothing about the product changed. Version the definition and annotate the chart. - Mixing channels. Paid and organic users often activate at different rates. A rise in total activation may come only from a shift in the mix. Segmenting, covered in a later chapter, reveals this.
Summary of the working model
Choose a candidate event from data, check that it is early and valuable, and test whether it affects retention. Then define the metric with a population, an event, and a window. Compute it only for cohorts old enough to have completed the window, and keep the definition stable so the trend means something.
Exercise
A team defines activation as "created a project in the first 7 days". They compute the January rate on 5 February using an INNER JOIN between users and events, and get 100%. Name two things wrong with the calculation and how to fix each.
Show answer
First, the INNER JOIN removes users who never created a project, so the denominator only contains activated users. Use a LEFT JOIN from users to events, with the event conditions in the ON clause. Second, users who signed up on 31 January have only had 5 days by 5 February, so the 7-day window is incomplete for part of the cohort. Either wait until 7 February or exclude users whose window is not finished.
Exercise
An analysis shows that users who upgrade to a paid plan in their first month have 80% week-5 retention, against 20% overall. Should "upgraded to paid" be the activation event? Why or why not?
Show answer
No. Upgrading is a late, monetization event, and many users who upgrade already intend to stay, so the link to retention may run the other way or come from a shared cause. Activation should be an early, influenceable event that delivers value, such as completing the first core task. Use the upgrade as an outcome metric, not as the aha moment.