Using push notifications in campaigns
Push notifications in Orbit campaigns are flexible and can include personalisation, images, and scheduling.
To set up push notifications in a campaign:
-
From the Orbit home screen, click Campaigns.
-
Either select an existing campaign, or create a new one.
-
Choose a target audience. See Adding audiences.
Ensure the audience includes users with valid device tokens.
-
Click the plus icon to add a journey step where you want your push notification.
-
Select Push Notifications under Channels.
-
Click the option menu on your push notification step, then click Edit.
-
7. Give your step a meaningful name, then click Create.
This opens the side panel.
Setting up your push notification message step
You can now create your push notification message.
To set up your push notification message step:
-
Select the Push Notification Channel you created.
-
Enter a Title and Message.
Tip: Keep the text concise and engaging.
-
Add content fields to map any personalisation variables (e.g., ‘Actual ForeName’) to use in your message.
-
Specify any personalisation content fields (e.g.,
{{ForeName}}
). -
Use a variable named
image
to add an image to the notification. This is the thumbnail which appears to the left of the notification.-
Ensure the variable points to a valid image URL or file path
-
Verify that the image format is compatible with the app receiving the notification
Note: If your app supports these settings, you can also add Badge and Sound variables.
- Badge is the symbol which appears on your device front screen to tell you there is a new notification from the app
- Sound is the tone that plays on your device when the notification arrives
-
-
Preview the notification with a test campaign run to ensure personalisation and images appear as expected.
-
Save, publish, and set a schedule for your campaign.
See Saving, editing, or publishing changes and Setting a schedule.
You have successfully used push notifications in your Orbit campaign.

Even with a well-configured setup, issues can arise. This section outlines common problems and how to resolve them.
Issue 1: Notifications not being sent
Check firebase configuration
-
Verify the Firebase JSON file is correctly referenced in the Push Notification Database.
-
Ensure the Server Key and Sender ID are valid.
Validate device tokens
-
Confirm that device tokens are stored correctly in FastStats.
-
Ensure the audience includes users with non-empty tokens.
Issue 2: Personalisation not working
Check placeholder mapping
-
Ensure that placeholders in your notification message match the variable names or content fields exactly.
-
Confirm that the personalisation fields are mapped correctly in Orbit.
Issue 3: Images not displaying
Verify the variable name
-
Ensure the variable used for the image is named "image" (case-sensitive).
Check compatibility
-
Verify that the app receiving the notification supports image rendering.
-
Test the image URL or file path to confirm it is accessible.
Additional troubleshooting tips
-
Double-check fields like Firebase project names and app names for case mismatches.
-
Use small, internal test audiences to identify and resolve issues before launching campaigns.
-
Review Orbit and Firebase logs to identify potential errors.