Create and manage dynamic user segments in OneSignal to target personalized messaging based on activity, location, tags, and more.
New Segment creation interface
Filter | Description |
---|---|
First session | Date/time of user creation. |
Last session | Last time Subscription opened the app or site. |
Session count | Number of times Subscription opened the app or visited the site. |
Usage duration | Total seconds the Subscription had your app/site open. |
Language | Userβs preferred language (based on device/browser). See multi-language support. |
App version | Pulled from Android versionCode or iOS CFBundleShortVersionString . - Combine with Device type to filter by different app versions for each platform. - See Target outdated app versions tutorial for more details. |
Device type | iOS, Android, Web Push (browser), Email, etc. |
User tag | Custom tags you set via the SDK or API. See Add User Tags. |
Location | Filter by radius from coordinates (lat/long). Requires location permission. |
Country | Based on last IP geolocation (ISO 3166-2 code). |
Test users | Users marked as Test Users. |
Rooted | Android only β whether device is rooted. |
Message Event | Filter by message event (e.g., βclickedβ, βdeliveredβ, βfailedβ). See Message event filters. |
Segment filters configuration screen
Message event filters
Channel | Trackable Interactions |
---|---|
Push | Sent, Received, Clicked, Failed |
SMS | Sent, Delivered, Failed |
Sent, Delivered, Opened, Clicked, Bounced, Failed, Suppressed, Reported as spam | |
In-App | Received, Clicked |
Scenario | Allowed? | Explanation |
---|---|---|
Send to one message event segment | β Yes | Message is user-based, and no conflicting segments are involved |
Send to message event segment + subscription segment | β No | Segment types are incompatible (user-based vs subscription-based) |
Send to two message event segments | β No | Only one message event segment can be used per message |
Send to message event segment with inclusion/exclusion | β No | Inclusion/exclusion is a multi-segment operation and not allowed with event segments |
Inactive segment filter setup
7 Days Inactive Or Over 3 Days New
.
OR clause segment configuration
Segment options menu