Sub topic 14
Leading and lagging indicators
This chapter assumes you can already define a metric by population, event, and time window. It also assumes you have seen activation rate and cohort retention, and that you can read the SQL from earlier chapters. Here you will learn to sort metrics by how quickly they move, check whether an early metric predicts a later one, and avoid steering by the wrong kind.
The core distinction
A lagging indicator measures an outcome you care about, after it has happened. Examples are 12-week retention, annual revenue retention, and churn. It is reliable because it reflects real behavior. It is slow because you can only compute it once users have lived through the whole window.
A leading indicator is measured early and is believed to predict a lagging outcome. Examples are 7-day activation rate, the number of teammates invited in the first week, and whether a user returned on day 2. It is fast, but it is only a proxy. It is useful only to the extent that it really does predict the outcome.
Whether a metric is leading or lagging depends on what you compare it with. Week-1 retention is lagging relative to activation, because it is measured later and is partly explained by it. It is leading relative to 6-month renewal. Always name the pair.
| Metric | Earliest you can read it for a signup cohort | Typically used as |
|---|---|---|
| 7-day activation rate | Day 7 | Leading for retention |
| Day-1 return rate | Day 2 | Leading for week-4 retention |
| Week-8 retention | Week 9 | Lagging for onboarding, leading for renewal |
| 12-month revenue retention | Month 13 | Lagging |
Why you need both
Lagging indicators tell you whether the product works. But if you only watch them, you learn about an onboarding change 8 to 12 weeks after you ship it. By then you may have shipped three more changes, and you can no longer tell which one mattered.
Leading indicators shorten the feedback loop. A team can ship an onboarding experiment and read activation within a week. The risk is that a leading indicator can improve while the outcome does not. You get the speed only if the leading metric is a valid predictor, so you must test that.
Testing whether an indicator leads
A leading indicator earns its place by evidence. The basic test compares the outcome across users who did and did not hit the early signal, using cohorts that have fully matured. The query below checks whether 7-day activation predicts week-8 retention for January 2026 signups. It reuses the project_created and core_action events from earlier chapters.
-- Does 7-day activation predict retention in week 8?
-- Assumes: users(user_id, signup_at), events(user_id, event_name, event_time)
WITH base AS (
SELECT
u.user_id,
EXISTS (
SELECT 1 FROM events e
WHERE e.user_id = u.user_id
AND e.event_name = 'project_created'
AND e.event_time >= u.signup_at
AND e.event_time < u.signup_at + INTERVAL '7 days'
) AS activated_7d,
EXISTS (
SELECT 1 FROM events e
WHERE e.user_id = u.user_id
AND e.event_name = 'core_action'
AND e.event_time >= u.signup_at + INTERVAL '56 days'
AND e.event_time < u.signup_at + INTERVAL '63 days'
) AS retained_w8
FROM users u
WHERE u.signup_at >= DATE '2026-01-01'
AND u.signup_at < DATE '2026-02-01'
)
SELECT
activated_7d,
COUNT(*) AS users,
AVG(CASE WHEN retained_w8 THEN 1.0 ELSE 0.0 END) AS week8_retention
FROM base
GROUP BY activated_7d
ORDER BY activated_7d;Suppose the result is 41% week-8 retention for activated users and 6% for the rest. That is a large gap. It supports the claim that activation is a useful signal. It does not yet show that activation causes retention.
Correlation is not enough
Three problems can make a leading indicator look better than it is.
- Selection. Motivated users do everything: they activate quickly and they stay. Activation may be a marker of motivation, not a cause of retention. If so, pushing weakly motivated users through the activation step will raise your leading metric and leave retention almost unchanged.
- Survivorship in the comparison. If you define the early signal as "did X at any point in the first 30 days," users who stayed longer had more time to do X. The signal then looks predictive because it partly contains the outcome. Fix the signal window and measure it from each user's own signup time, as the query above does.
- Unstable relationships. A relationship found in last year's cohorts can break after a pricing change, a new acquisition channel, or a redesign. Re-check it periodically.
The strongest evidence is an experiment. If a change that raises activation in a randomized test also raises week-8 retention in that test, activation is doing causal work. Without that, treat the indicator as a useful hypothesis.
Choosing a good leading indicator
Use these criteria together. A candidate rarely scores well on all of them.
- Predictive. The gap in the lagging outcome between users with and without the signal is large and holds across several cohorts.
- Early. You can read it in days, not months. The faster it arrives, the more experiments you can run per quarter.
- Actionable. The team can change it through product work. "User has a large company" predicts retention but nobody can ship it.
- Specific. It has an explicit population, event, and window, like any other metric in this tutorial.
- Not easy to game. Prefer events that represent real value, such as a report shared, over events that are easy to trigger, such as a page viewed.
Failure modes to watch
Goodhart effects. When a leading indicator becomes a target, teams optimize it directly. If the goal is "invite a teammate in week 1," a pop-up that forces invites will hit the number, while the invited teammates never log in. Pair the leading metric with a guardrail further down the chain, such as the share of invited users who perform the core action.
Moving the window to look better. Changing a 7-day activation window to 14 days raises the rate without any product change. A leading metric whose definition shifts cannot be compared across time. Version your definitions.
Immature cohorts. The newest cohorts have no lagging data yet. A retention dashboard that includes them shows a falling line that is only missing data. Report lagging metrics only for cohorts old enough to have completed the window.
Over-reading small gaps. A leading indicator may move by 2 points in a week from noise alone, especially in small cohorts. Look at sample size before declaring a win.
A working practice
A practical routine for a product team looks like this:
- Pick one lagging outcome tied to the business, such as week-8 retention.
- List two or three candidate leading indicators from your activation and engagement work.
- Compare the outcome for users with and without each signal across several matured cohorts.
- Keep the one or two that predict well and that the team can influence.
- Run experiments against the leading metric, and confirm later that the lagging metric moved too.
- Re-check the relationship each quarter.
This sets up the next chapter. A North Star metric is chosen so that it moves with long-term value, and the input metrics beneath it are your leading indicators.
Exercise
A team finds that users who invite a teammate within 3 days have 45% week-8 retention, against 8% for those who do not. They add a mandatory "invite a teammate" step to onboarding. Invite rate rises from 20% to 70%, but week-8 retention barely changes. Give two likely reasons, and say what the team should have done before shipping.
Show answer
Likely reasons: (1) Selection. Users who invite teammates voluntarily are already motivated or already have a team use case, so the invite was a marker of intent, not the cause of retention. Forcing invites from unmotivated users raised the metric without creating the underlying value. (2) Goodhart effect. Once invites became a target, people sent low-quality invites that were never accepted or used, so the signal stopped meaning what it meant before. Before shipping, the team should have tested the change as a randomized experiment and checked the lagging outcome in the treatment group. They should also have added a guardrail, such as the share of invited teammates who perform the core action.