Cohort retention analysis from your user data

An AI prompt for cohort retention analysis — build the cohort table, read retention curves, compare cohorts and find what drives users to stay.

Published
Works with
ChatGPT, Claude and Gemini
Level
Advanced
By
GoodAIPromt editorial team

Average retention hides the story; a cohort retention analysis shows whether users who joined in March stay longer than those who joined in January, and whether a product change or campaign made a difference. This prompt helps you structure the data, build the cohort table, read the curves and turn patterns into questions worth testing.

The prompt

Act as a product data analyst. Help me run a cohort retention analysis.

Product and what "active" means: 
Data available (columns, e.g. user_id, signup_date, activity_date, plan, channel): 
Sample rows or summary numbers: 
Tool I use (Excel, Google Sheets, SQL, Python): 
Events to compare (launches, pricing changes, campaigns) with dates: 

Deliver:
1. How to define cohorts (signup week or month) and retention periods for my product.
2. Step-by-step instructions or code in my tool to build the cohort retention table.
3. If I gave numbers: the cohort table, retention curves described in words, and where curves flatten.
4. Comparisons by segment (channel, plan, country) and around my listed events.
5. 5 insights with the evidence for each, and 3 hypotheses about what drives retention.
6. Suggested experiments or follow-up analyses.
7. Common mistakes (incomplete recent cohorts, survivorship) to avoid.
Do not invent numbers; if data is missing, say what is needed.

0 of 5 blanks filled

How to use it

  1. Agree on the "active" definition first; it changes every result.
  2. Ignore the newest, incomplete cohorts when comparing long-term retention.
  3. Test the hypotheses rather than treating correlations as causes.

Tips

Frequently asked questions

What does this prompt do?

An AI prompt for cohort retention analysis — build the cohort table, read retention curves, compare cohorts and find what drives users to stay.

Which AI tools does it work with?

It is written for ChatGPT, Claude and Gemini. It also works in other AI tools that accept text prompts, with small changes.

What do I need to fill in?

5 blanks: product and active definition; data description; data sample; tool; events. Click each blue blank on the page, type your details and press Copy prompt.

Is this prompt free to use?

Yes. You can copy and use it for personal and commercial work.

cohort analysisretentionproduct analyticsdata analysis

More prompts for ChatGPT, Claude, Gemini.