Segments

Create audience segments in Firepanel to target specific groups of users with push notifications.

Segments let you define targeted groups of users based on properties stored in your Firestore database. Use segments to send campaigns to specific subsets of your audience.

Segments List

Navigate to MessagingSegments to view all configured segments.

Segments list

Creating a Segment

1

Click New Segment

On the Segments page, click + New Segment.

2

Name the segment

Give the segment a descriptive name (e.g., Premium Users, Android Users).

3

Define filter criteria

Set filter conditions based on user document fields in Firestore. Conditions are combined with AND/OR logic.

For example:

  • plan == 'premium'
  • platform == 'android'
  • country == 'US'
4

Save

Click Save. The segment is created and available as a target in Campaigns.

Using a Segment

When creating a campaign, select Segment as the target audience and choose the segment. Firepanel will query matching users and send the notification to their registered device tokens.

Note:

For segments to work, your users must have FCM registration tokens stored in their Firestore user documents.