This article helps you:
Understand the different ways time can affect your Retention Analysis chart
Choose the most appropriate time calculation for your analysis
In a Retention Analysis chart, there are two ways to define a day: a rolling 24-hour window or a strict calendar date. The method you choose can affect your results.
Amplitude treats a day as a rolling 24-hour window by default, which is different for each user. Each day will be exactly the same length, no matter when the user triggered the starting event. For example:
When using strict calendar dates, a day starts when the calendar day starts, and ends when the calendar day ends. Daily retention is then determined by:
The way Amplitude calculates retention depends on whether you're looking for daily, weekly, or monthly retention rates. When using a 24-hour window to measure a day, Amplitude will calculate the retention rates as the following:
When a user triggers the initial event multiple times, Amplitude will start multiple 24-hour buckets for them. This means it’s possible for one return event to define a user as both Day 1 and Day 2 retained.
For instance, let's assume we have three users that triggered the following events. User 1 will be measured for daily retention, User 2 for weekly retention, and User 3 for monthly retention.
Amplitude would count User 1 as Day 1 retained (next-day retained), because their second event's timestamp (5:00 PM) was during the 24th-incremented hour after the timestamp on the original event (5:59 PM).
User 2 would be considered Week Zero retained because they triggered their second event (December 1st) within seven days from the first event (December 6th). They would have been considered Week 1 retained if they had triggered an event on any day between December 8th and December 14th (days 8-14).
When considering User 3 for monthly retention, Amplitude would count them as Month Zero retained because they triggered the return event within the 30 days from the original event (event one on December 6th and event two on December 12th).
Any retention computations that include dates of August 17, 2015 or earlier will be computed by calendar time instead.
Amplitude can also measure retention by strict calendar dates, where day X is measured from the calendar date the event was triggered. As mentioned in the previous section, the way retention is calculated depends on if you're looking at retention on a daily, weekly, or monthly basis.
When a day is measured by strict calendar dates, Amplitude will measure retention by the following:
Using the user activity example from the previous section, we'll find the following retention rates:
Users who trigger the starting event multiple times are still restricted to the calendar day they first triggered the starting event. The exception to this is when a user triggers the starting events on multiple calendar days; in this case, that user will be included in multiple interval cohorts.
For new user retention, filter conditions applied in the Segmentation module are only satisfied if they are true during the same time frame the new user
event was triggered. For charts using strict calendar dates, this is the same as the chart interval. For charts using unaligned ranges, the time frame is more granular: e.g., the first day for seven-day windows and the first hour for 24-hour windows.
This table further delineates the differences between 24-hour windows and strict calendar dates by retention types Return on or After and Return On.
Retention type | A single cohort entry date retention | Explanation (strict calendar days) | Explanation(by 24-hour windows) |
---|---|---|---|
Return On or After | 168 / 254 = 66.1% | 168 users triggered the return event on June 10 or after /254 users who triggered the start event on June 7. | 168 users triggered the return event 72 hours or after /254 users who triggered the start event on June 7. |
Return On | 72 / 254 = 28.3% | 72 users triggered the return event on June 10 /254 users who triggered the start event on June 7. | 72 users triggered the return event 72-96 hours later /254 users who triggered the start event on June 7. |
Thanks for your feedback!
May 30th, 2024
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2024 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.