Intermediate
How to track user retention on Mixpanel
Quick Answer
Track user retention in Mixpanel by navigating to the Retention report, selecting your initial and return events, and configuring the time window. This allows you to measure what percentage of users come back to perform key actions over specific time periods.
Prerequisites
- Active Mixpanel account with data collection setup
- User identification events implemented
- Basic understanding of event tracking
- Access to Mixpanel project with admin or analyst permissions
1
Access the Retention Report
Log into your Mixpanel dashboard and click on Reports in the left sidebar. Select Retention from the reports menu to open the retention analysis interface.
Tip
Make sure you have sufficient data history (at least 30 days) for meaningful retention insights.
2
Define Your Initial Event
In the retention report, click on First Time to set your initial event. This represents the action users take that starts the retention measurement (e.g.,
Sign Up, First Purchase, or App Install). Select the appropriate event from your tracked events list.Tip
Choose an event that represents meaningful user activation rather than just registration.
3
Set Your Return Event
Click on Came Back and Did to define the return event. This is the action you want users to repeat (e.g.,
Login, Page View, or Purchase). You can select the same event as the initial event or choose a different engagement action.Tip
For overall retention, use a broad event like 'Any Event' or specific engagement actions for feature-specific retention.
4
Configure Time Window and Cohort Settings
Set your time window by clicking the dropdown next to within each and selecting your preferred interval (Day, Week, or Month). Choose your date range using the calendar picker to analyze specific time periods. Configure cohort size by adjusting the born in the last setting.
Tip
Weekly retention is often more stable than daily retention and provides clearer trends for most products.
5
Apply Filters and Segments
Click Filter by to add user property filters (e.g., country, device type, user tier). Use Breakdown by to segment your retention analysis by user properties. This helps identify which user groups have better or worse retention rates.
Tip
Start with broad segments like device type or acquisition channel before diving into more granular properties.
6
Analyze Retention Curves and Data
Review the retention curve chart showing percentage of users returning over time. Examine the retention table below showing specific cohort performance. Look for patterns in the Day 1, Day 7, and Day 30 retention rates to identify drop-off points.
Tip
Focus on Day 1 and Week 1 retention as strong early indicators of long-term user engagement.
7
Create Custom Retention Metrics
Click Save to bookmark your retention report configuration. Use Add to Board to include retention charts in your dashboard. Set up Alerts by clicking the bell icon to get notified when retention drops below specified thresholds.
Tip
Create separate retention reports for different user journey stages (onboarding, feature adoption, long-term engagement).
8
Export and Share Results
Use the Export button to download retention data as CSV for further analysis. Click Share to generate public links or schedule automated reports via email. Configure Slack or email notifications to keep stakeholders informed of retention trends.
Tip
Schedule weekly retention reports to track trends consistently and catch issues early.
Troubleshooting
No data showing in retention report
Verify that your selected events have sufficient data volume and check that user identification is properly implemented. Ensure your date range includes periods with active user events.
Retention rates seem artificially high or low
Check your event definitions and ensure the initial event properly represents user activation. Verify that return events aren't too broad (inflating rates) or too narrow (deflating rates).
Cohort sizes are too small for reliable analysis
Extend your date range to include more cohorts or reduce segmentation filters. Consider switching from daily to weekly cohorts to increase sample sizes.
Unable to track retention for specific user segments
Ensure user properties are being sent with events and verify that property values are consistent. Check that segmentation filters match the exact property names and values in your data.
Ready to get started with Mixpanel?
Put this tutorial into practice. Visit Mixpanel and follow the steps above.
Visit Mixpanel →