Segments
Save a filter of users as a segment, like "iOS users on a version below 2.4", see its count, and use it as the audience for push campaigns and in-app messages.
AAgent44Updated 2 min read
On this page
A segment is a saved filter of users, such as "Platform is iOS or Android, and App version is lower than 2.4". Segments show in the Users sidebar with their counts and stay up to date as users change. In Engagement, they're the audiences for push campaigns and in-app messages.
Create a segment#
Go to Users and click New segment in the sidebar.
Give the segment a name.
Add rules with the rule builder. Pick a field, a comparison and a value.
Click Save. It stays greyed out, with the reason, until there's at least one rule and every rule has a value.
The new segment opens straight away.
You can also start from the table: filter the users with Filter users, then click Save as segment. The segment card opens with your rules already in it.
How rules combine#
Rules sit in groups:
Inside a group, a user matches if any rule matches (or).
Between groups, a user must match every group (and).
For example, to find iOS or Android users on an old version:
Group 1: Platform is iOS, or Platform is Android.
and Group 2: App version is lower than 2.4.
Click + after a rule to add an "or" rule to its group, and Add filter for a new "and" group.
What you can filter on#
Built-in fields, such as email, name, user ID, and when the user was first and last seen.
Your app's attributes, such as plan, platform or app version. Type a key that nobody recent has and it's offered as an attribute too.
SDK segments, the labels your app gives users (such as
vip), with include, don't include, are set and are empty. The value box suggests the ones in use.
Change a segment#
On a saved segment, change the filters in the bar above the table. When they differ from the saved ones you get Discard, Save segment (to update it) and Save as new.
Or open the segment's … menu in the sidebar and choose Edit segment to change its name and rules.
Delete a segment#
Open its … menu and choose Delete, or use Delete in the segment card.
A segment that's the audience of an in-app message, or of a push campaign that hasn't been sent, can't be deleted. You'll see which one uses it: change that message's audience first.
Use segments in Engagement#
When you create a push campaign or an in-app message (What's New, a recommended update, an announcement, a banner or a chat), choose a saved segment as its Audience. Only users in the segment receive it.
Force updates can't have a segment: they block the app, so they follow only the device's app and system version.
Who can do what#
Members and admins create, change and delete segments. Viewers can see and use the filters, but not save them.
Tips#
Name segments for what they mean, such as "Paying users" or "On iOS 1.x", so teammates picking an audience know what they're getting.
Ask your developers for the attributes you need. If you want a segment by plan or region, the app has to send that attribute first.