About push notifications
Though we mainly experience push notifications as banner alerts, push notifications may contain many other kinds of data such as images, sounds, badge updates, buttons, and more.
- Alert users when they are not in the app
- Pass extra data to users for marketing/segmentation use
- Keep users engaged with your app
- Breaking news
- Score updates
- Transaction confirmation
- Social interactions
- New content available
You can combine a push notification with an In-App MessageA message that appears inside of your app. You can send in-app messages to your entire app audience, not just users who have opted-in to push notifications. and/or Message CenterA place in your app where you can display persistent rich messages, including HTML, video, etc. Similar to email, Message Center represents both the medium (the in-app inbox) and the message type (the messages you send to the inbox). message.
Appearance and behavior
Push notifications are in banner format and can appear on any screen on a device. They are displayed upon receipt and are not PersistentMessage content that remains available even if the alerts for the message are dismissed. For example, Message Center, email, and SMS content can be viewed in the app’s Message Center, email inbox, or the device’s native SMS client until the message is deleted by its recipient. Non-persistent message types become unavailable when users dismiss them. A message’s linked content, e.g., a web link, deep link, an Apple News story, remains available as determined by the source host. .
Every push notification requires text, and you can also add optional features:
Buttons — You can add one or two buttons. Learn more below.
Title — A heading that appears above the notification text in:
- iOS Notification Center
- Apple Watch Looks
- Android and Amazon Notification Area/Drawer
Media — Android/Amazon supports static images. iOS supports audio, video, and images, including animated GIFs.
Summary — Supplemental text displayed with the notification. Position varies per platform.
You can add buttons to App notifications to direct users to take specific actions. App notifications support one or two buttons, e.g., a single
Watch Now button, or a
No pair, and you associate each button with an ActionA configurable behavior that occurs when a user interacts with your message, e.g., opening a web page.
. You can also add or remove a tag when the user taps a button.
Airship records button clicks to help you track how your audience engages with your messages. Airship records them as Custom EventsEvents that indicate that a user performed a predefined action, such as adding an item to a shopping cart, viewing a screen, or clicking an Unsubscribe button. Custom events can trigger automation and journeys. You can code them into your app or website, or send them to Airship from an external source using the custom event API. Custom events contain
properties that you can use to personalize messages. with the name
button--<BUTTON_ID>, where BUTTON_ID is either the button’s label or ID (when using the API). These events are included in Message Reports, Event Tracking, and Real-Time Data StreamingA service that delivers engagement events in real time via the Data Streaming API or an Airship partner integration.
Airship provides 30+ predefined buttons, which have preset labels and actions. Some buttons support changing their associated actions.
You can also create custom buttons, which must be configured in your project before you can add them to a message. Custom buttons can be associated with Airship actions, or they can be associated with custom actions.See Interactive Notifications for more information about buttons. See Custom Notification Buttons to add buttons to your project.
You configure the appearance of the message in the Content step of a composer; in the Delivery step you can configure content-related features that do not affect the appearance of the message.
In the Content step, click Push Notification then Add content:
Now you can configure the body of the message:
Enter the message text.
- Message Center
- Landing Page
- Deep Link
- Adaptive Link
- Web Page
(Optional) Set and/or remove tags when the user interacts with your message.
- Click Set a tag.
- Select Add or Remove, then search for tags that exist in the system, or create a new tag.
- (Optional) Click Set another tag and repeat the previous step.
Setting one or more tags when a user interacts with a message can help you track user interactions for follow-on retargeting campaigns. For example, if you set a tag
responded-campaign1, you can target users bearing the
responded-campaign1tag with another message at a later date, knowing that they are active users. Alternatively, you can re-engage users with this tag using an automated message if they are inactive for a period of time.
Configure optional features:
Now you are ready to complete the remaining steps in the composer.