With Amplitude's behavioral cohorts, you can create groups of users who share a pattern of behavior. The behavior offset feature gives you the power to further segment these users based on behaviors they've displayed in two distinct time periods.
Common use cases for behavior offsets include:
Notice that in each of these use cases, there are two cohorts in play, separated from each other by the passage of time: In the second example, they are:
Behavior offsets make it easy to segment the users who appear in both of these cohorts.
This feature is available to users on Growth and Enterprise plans only.
Before getting started, we suggest you read up on behavioral cohorts—and rolling windows until you're comfortable with both concepts.
In this section, we'll be following along with the first example in the bulleted list above: segmenting for users who made at least one purchase in the current period, but also made two or more purchases in the last 90 days. To add this behavior offset, follow these steps:
Complete Purchase
.![add rolling.png](/docs/output/img/analytics/add rolling.png)
In the rolling over field that appears, enter the number of days you want to allow for the current period event to occur. Keeping with our example scenario, we enter 90.
NOTE: You can change the default durations from per day to weekly, hourly, monthly, or quarterly by changing the setting in the Metrics Module's date picker.
Also, when using a during cohort (as opposed to in each; see this article on in-line cohorts in Amplitude for a more detailed explanation), the offset function will allow you to create daily offsets, regardless of the interval specified in the date picker.
Complete Purchase
.Your in-line cohort— in which you’re segmenting for users who completed one or more purchases in the current period, and completed two or more purchases in the previous period (90 days, in this case)—should now look like this:
![in-line cohort segment.png](/docs/output/img/analytics/in-line cohort segment.png)
By applying the rolling window and offset to the previous period event, we've essentially shifted this cohort to a time in the past. Bear in mind that this process offsets only the in-line cohort, and not the event selected in the Event Module.
NOTE: In-line offset for in each cohorts is available on Event Segmentation charts. In-line offset for during cohorts is available on all chart types except Compass. When using a during cohort, your date range must be defined in days.
Thanks for your feedback!
October 8th, 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.