Sub topic 8
Defining Cohorts: Behavior, Properties, Dynamic and Static
Assume you understand events, users, and basic filters in product analytics. You should also be comfortable with simple AND and OR logic. The examples use terms found in Amplitude and Mixpanel, but labels can differ between product versions.
A cohort is a named group of users who match a rule. You can use the group to filter a funnel, compare conversion rates, or inspect retention. For example, a cohort might contain users who completed onboarding, users on a Pro plan, or users who came from a pricing page.
A cohort rule has three important parts:
- The subject being evaluated, such as a user or account.
- The condition, such as performing an event or having a property.
- The time rule, such as “within 14 days of signing up.”
Behavioral cohorts
A behavioral cohort is based on what users did. The condition usually refers to one or more events.
Examples include:
- Users who completed
Project Createdat least once. - Users who viewed
Report Openedthree or more times. - Users who performed
File Uploadedbut never performedInvite Sent. - Users who started a trial and then returned during the next seven days.
Behavioral conditions can include event properties. For example, you might include users who performed Checkout Completed where plan = pro.
The event sequence matters when the rule describes a journey. “Performed A and then B” is different from “performed A and B at any time.” Add a time limit when the behavior has a meaningful deadline. Otherwise, a user who performs the second event months later may qualify even though that was not the behavior you intended to study.
Property-based cohorts
A property-based cohort is based on information attached to a user, account, or event. Common properties include plan, country, company size, acquisition source, and device type.
For example, this rule selects users whose current plan is pro:
- User property:
plan - Operator: equals
- Value:
pro
A property can describe a changing state. If a user upgrades from free to pro, a dynamic cohort based on the current plan may add that user or remove them from another cohort. An event property describes the value at the time of an action, such as the plan selected during signup. These are not interchangeable.
Use a user or account property when you want to ask, “Who is this user now?” Use an event property when you want to ask, “What was true when this action happened?”
Dynamic and static cohorts
A dynamic cohort recalculates membership as new data arrives or as properties change. It is useful for ongoing monitoring. A cohort named “users who have not returned in 14 days” can change every day.
A static cohort is a snapshot of membership at a particular time. It does not change unless you refresh it or add and remove users manually. Static groups are useful when the population must stay fixed, such as an experiment assignment, a customer interview list, or a historical campaign audience.
| Cohort type | Membership rule | Membership changes automatically? | Good use |
|---|---|---|---|
| Behavioral dynamic | Users currently matching event conditions | Usually yes | Monitor activated users |
| Property-based dynamic | Users currently matching properties | Usually yes | Compare current plans |
| Behavioral static | Users captured after an observed behavior | No | Analyze a fixed launch group |
| Property-based static | Users captured from a property filter | No | Preserve an audience snapshot |
The exact controls differ between Amplitude and Mixpanel. Both support reusable groups based on behavior and properties, while the interface may use terms such as cohort, saved cohort, list, or audience. Check whether the report evaluates membership at query time or uses a stored snapshot.
Build a cohort without ambiguity
Write the rule in plain language before configuring it:
“Users who completed signup between January 1 and January 31, created at least one project within seven days, and were on a Pro plan at signup.”
This statement separates several decisions:
- The population is users who completed signup.
- The qualification period is January 1 through January 31.
- The behavior must occur within seven days.
- The plan value is historical, so it should come from the signup event or a dated property.
- The cohort may be static if you want the January population to remain unchanged.
Exercise
You want a fixed group of users who upgraded during a product launch. Should you use a dynamic or static cohort, and what event data should define membership?
Show answer
Use a static cohort captured from the upgrade event during the launch dates. Use the event timestamp and the plan value at upgrade time, rather than the user's current plan.