Retention analysis: do your users come back?
The Engagement page in datacub shows, for the users who started on a given day or week, how many were active again after 1, 7 and 30 days.
Why retention matters more than sign-ups
Sign-ups tell you that people were curious. Retention tells you that they found something worth coming back for. A product that adds 1,000 new users a month but keeps almost none of them has a leak, and more marketing only makes the leak more expensive.
Retention is also the honest way to judge a change. If a new onboarding flow raises sign-ups but the people who join through it stop coming after a week, the change did not help. Looking at retention by start date shows that clearly.
How retention works in datacub
The Engagement page answers one question: do people come back?
- datacub groups users by when they started, by day or by week. Each group is a cohort.
- For each cohort it shows how many were active again after 1 day, 7 days and 30 days.
- Activity means a page view, an app screen or a custom event. Leaving a page or sending an app to the background does not count as coming back.
Days and weeks are cut in the project's time zone, so everyone on the team sees the same numbers, whether they are in Riyadh or travelling. Anyone who prefers their own time zone can choose Mine in account settings.
Because page views are captured automatically, retention works from the day you add the script tag. You do not need to define anything first.
Reading a retention table
A few patterns come up again and again:
- A steep drop after day 1, then flat. Many people tried the product once. Those who stayed past the first week tend to stay. Work on the first visit: what should a new user achieve in their first session?
- A slow decline that never flattens. People find some value but not enough to form a habit. Look at what your most active users do that others do not.
- Newer cohorts better than older ones. Your recent changes are working. This is the trend you want to see over months.
- One cohort much worse than its neighbours. Check what happened that week: a campaign that brought the wrong audience, a bug, or a holiday.
Make retention count the right people
- Identify signed-in users. Call
datacub.identifyat login. Otherwise a person who comes back on a different device looks like a new user, and your retention looks worse than it is. - Track the moments of value. A page view counts as activity, but a custom event like
report_exportedorinvoice_paidtells you people came back to do real work. Name events inobject_actionform so they stay readable. - Pick weekly cohorts for products used weekly. A payroll tool or a monthly report will never show strong day-1 retention, and that is fine.
Retention with the rest of datacub
Retention tells you whether people come back. Other pages tell you why:
- Funnel analysis shows where new users drop off before they reach the moment of value.
- User profiles and journeys let you open someone who stopped coming and see their last visits in order.
- Feedback questions let you ask users directly, for example a 0 to 10 score after an event, and the answers appear on each user's timeline.
If you are comparing tools, see product analytics for the full picture, or datacub as a Mixpanel alternative if you already know cohort analysis from there.
The product guide in the developer docs explains the Engagement page in detail, and the public demo shows retention for fictional businesses.
Frequently asked questions
What counts as a user coming back?
A page view, an app screen or a custom event after the day or week they started. Leaving a page or backgrounding an app does not count.
Which retention periods does datacub show?
For each group of users who started on a day or week, datacub shows how many were active again after 1, 7 and 30 days.
Which time zone are retention days based on?
The project's time zone, so the whole team sees the same numbers. You can switch to your own time zone with Mine in account settings.
Do I need to set anything up for retention?
No. It works from the page views the script tag sends on its own. Calling datacub.identify at login makes it more accurate across devices.