User Segmentation
User Segmentation lets you create reusable groups of users based on their properties. Once created, segments can be used as targeting rules across all Produktly features.
Prerequisites
To use user segmentation, you first need to identify users and send metadata properties to Produktly.
Creating a Segment
Navigate to produktly.com/app/user-segmentation and click "Create Segment".
Segment Rules
Each segment is defined by one or more rules based on the custom properties you send via identifyUser. For example:
- Users where
planequalsenterprise - Users where
signupDateis greater than2025-01-01 - Users where
roleis one ofadmin, owner
Rules can be combined with AND (all rules must match) or OR (any rule must match) logic.
Available Operators
Depending on the property type, you can use operators like:
- Equals / Not equal
- Contains / Doesn't contain
- Starts with / Ends with
- Is one of / Is not one of - Match against multiple values at once
- Greater than / Greater than or equal
- Less than / Less than or equal
Using Segments
Once created, segments appear as an option in the targeting rules for all features. You can select one or multiple segments to target. When targeting multiple segments, a user needs to match at least one segment to see the feature.
Viewing Users
The User Segmentation page also shows all identified users and their metadata properties. You can browse and search your user base and see their properties and activity.