Skip to content

Cohort Analysis

Abstract

Cohort analysis groups users by their appearance time and tracks their behavior. This helps understand which group is retained better and why.

What is a Cohort

A cohort is a group of users united by a common feature. Most often, it is the month or week of the first registration.

For example:

  • January cohort — all who registered in January;
  • May 1–7 cohort — users who came in the first week of May.

What Does a Cohort Table Look Like

Cohort 0th Month 1st Month 2nd Month 3rd Month
January 100% 40% 25% 18%
February 100% 45% 30% —
March 100% 50% — —

Here it is visible that the March cohort is retained better than the January one. Perhaps, changes in the product worked.

Why Is It Needed

Regular retention shows the average for all users. Cohort analysis shows dynamics:

  • which cohort leaves faster;
  • after which update retention increased;
  • which channels of attraction give more 'viable' users.

Types of Cohorts

  • Temporal — by date of registration or first purchase.
  • Behavioral — by first action: 'installed the app', 'created a project', 'invited a friend'.

How to Build Cohort Analysis

  1. Choose the event of entering the cohort: registration, first purchase.
  2. Choose the target action: return, purchase, subscription.
  3. Define the period: week, month.
  4. Calculate the percentage of returns in each period.
  5. Compare cohorts with each other.

Tools

  • SQL and Python;
  • Excel / Google Sheets;
  • BI: Power BI, Superset, DataLens;
  • Amplitude, Mixpanel.

See Also