Cohort analysis
Когортный анализ
This method groups users by when they reached the same starting point, such as signing up, and compares what they do after the same amount of time.
Why compare cohorts?
Suppose monthly active users are rising. Is the product getting better at bringing people back, or are more people simply signing up? A total can't tell you. Cohort analysis groups users by a shared starting event, such as signing up in the same week, and lets you compare those groups at the same point in their lifecycle.
How to build a cohort table
Start by choosing an event that fits the question. Use signup if you want to understand what happens to new accounts; use first payment if you want to study repeat purchases. These choices give you different populations: a first-payment cohort leaves out people who never buy. Assign each user to a cohort using the timestamp of that event.
Next, define the time buckets. For a daily report based on calendar dates, day 0 is the signup date and day 1 is the next date in the reporting time zone. That differs from elapsed-time buckets, where day 1 might mean 24 to less than 48 hours after signup. Write down which convention you use before calculating the metric.
Finally, define what counts as a return. If saving a document is the activity you care about, day-7 retention is the number of cohort members who saved at least one document on day 7 divided by the original cohort size. Ten saves by one user count as one returning user. Rows in the table represent signup cohorts, and columns represent days since signup, not dates on the calendar.
Example: did the new onboarding help?
| Signup cohort | Users | Day 1 | Day 7 |
|---|---|---|---|
| Before release | 1,000 | 42% | 24% |
| After release | 600 | 49% | 27% |
| Latest group | 200 | 46% | — |
The after-release group has higher day-7 retention: 162 of 600 users came back and saved a document, compared with 240 of 1,000 in the earlier group. That is a gain of 3 percentage points, even though fewer users returned. The latest group hasn't been observed for a full seven days, so its day-7 value is missing, not zero.
What the comparison can and can't show
Cohort analysis works for other metrics too, such as renewal rates or cumulative revenue per customer after 90 days. It can show when groups start to behave differently, but not why. For example, a marketing campaign might have brought in users who were already more likely to return. A randomized A/B test is a better way to isolate the effect of an onboarding change.
In an interview
You may be asked to turn an events table into a retention report. State how you'll find each user's starting event, count each user at most once per period, and preserve the original denominator. Clarify whether day-7 retention means activity on day 7 specifically or activity on day 7 or later. Someone who skips day 7 but returns on day 9 counts only under the second definition.