This article helps you:
Learn how to quickly define a new cohort to use in your analyses and charts
To define a new cohort, follow these steps:
Click Create > Cohort. This takes you to the a new cohort page, where you can set the parameters of a new cohort, upload a CSV of users into a new behavioral cohort, select and edit a predictive cohort template, or create a prediction for a predictive cohort.
You can click any of the conditions (performed event, had been active, had been new, had property, or had propensity) listed to begin defining your cohort. However, since this is a behavioral cohort, let's start by clicking ...performed event. You can add other conditions to your cohort definition later.
Click Select event... and select the event you're interested in.
Begin setting the parameters that defines your behavioral cohort:
First, tell Amplitude how you want it to count events. You have six options, all of which are accessible from the with dropdown:
See the article on how stickiness analysis works in Amplitude to learn more.
Set the operator (equal to, greater than, less than, etc) and the value (like the count value) of this parameter.
Now you must tell Amplitude when these events should have taken place. Here, too, you have some options, accessible from the any time dropdown:
You can add more events by clicking ...then and repeating the previous steps.
Adding an event using ...then means users must trigger both events in that order to be included in the cohort. If you want to add another event without requiring users trigger them in a specific order, use + Add, as described in the next step.
Next, you can add an ...or clause, or you can add another event, property, propensity, cohort or new user. To see your options for an Or clause, hover the cursor over the cohort definition you've built so far. To see your options for adding to your cohort definition, click + Add just below your current cohort definition.
When you add a condition using an Or clause, Amplitude includes users who meet either of those conditions. When you add to your cohort definition with + Add, Amplitude treats that as an And clause: A user must meet both conditions to be included in the cohort.
When you use + Add to add new components to your cohort, you can specify them for either inclusion or exclusion. Do this by selecting did not for events, user properties, and propensities; not part for cohorts; and had not been for new users.
Items meeting the exclusion condition are excluded from the cohort, even if they meet all the other conditions you've specified.
In this example, the cohort is defined as users who've triggered the Play or Search Song event more than eight times, and also triggered the Favorited a Song or Video event more than four times between April 1 to April 30, and are from the United States.
For the most accurate results, put a date range around any user properties you include.
When you include a user property condition in a cohort, you're looking not at events, but at user properties. You're telling Amplitude that all users who had a specific value for a specific user property at a certain time should appear in your cohort. Properties and events are different things, and for that reason, the available options for the user property condition are different:
For numerical property values, Amplitude interprets a missing value as 0.
If you have instrumented group types, you can create group cohorts from the cohort detail page (where you define or upload a cohort). To do this, when defining your cohort, select the group name on the left side of the definition. In this example, the group name is "Account(s)."
When applying the group cohort to a chart, add the group by clicking + Filter by, and then Cohort. Then select the group name from the list.
Group cohorts are compatible with all Amplitude chart types except Personas and Compass.
Thanks for your feedback!
August 28th, 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.