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
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.
How to use it
- Agree on the "active" definition first; it changes every result.
- Ignore the newest, incomplete cohorts when comparing long-term retention.
- Test the hypotheses rather than treating correlations as causes.
Tips
- Get help writing the queries with the SQL query from plain English prompt.
- Turn findings into action with the customer churn retention plan prompt.
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.