Please note:
To unlock this capability, you will need to have added Web Push Notifications to your Optimove package. If you can’t see this feature in your Optimove instance, contact your CSM to find out more.
Overview
You can design and save templates that can be re-used when you and your team are sending web push notifications via Optimove.
Web push notifications work with any supported browser, whether that's on a computer or laptop, PC or Mac. Web push notifications can also be sent to some mobile devices, with Android support web push from browsers like Chrome, Opera, and Firefox, as well as from Progressive Web Apps (PWAs).
Please note:
While the Optimove Web SDK does support web push notifications to iOS devices, this is an experimental release from iOS, only supported in the iOS and iPadOS 16.4 Beta. To implement the web push notifications on iOS mobile devices, the website needs to be added to the home screen. This process is straightforward and can be accomplished right from the share screen. To be recognized as a Home Screen web app, your website should be equipped with a web application manifest file. Otherwise, it will be saved as a Home Screen bookmark and open in the browser. In the case that your site is already a Progressive Web App (PWA), you won't need to make any additional updates.
Configure Push Prompts
If you haven't already configured web push prompts, you can learn how to in this article.
How to Create a Web Push Template
To access your existing web push notification templates, and create new ones, navigate to the Templates area and select Web Push Notification.
Working with Templates
Add a new template by clicking the blue + symbol, or by clicking on Create New Template.
Name and Identifier
You must give each template a name to identify the template when sending a web push notification. From the name, a unique identifier will also be generated.
Web Push Template Content
As you add content to the notification you can preview how this will look on a user's desktop.
Personalization
In your text, you can also add user attributes to personalize the message. You can learn more about adding Personalization Tags to your templates here, and find out about adding Conditional Language here.
Image
If you want to add a picture to your notification, click "Choose Image"' to open your Media Library. Here, you can upload a new image, select an image you have previously uploaded, or search the Unsplash stock image library.Advanced Options
To open a URL or add a data payload, expand "Advanced".
Open a URL
To open a URL when the push notification is tapped by the user, toggle the "Open URL" switch and enter the URL you want to open.
Data
To add an arbitrary meta-data object to the push notification, toggle the "Data" switch and enter a valid JSON object into the editor. Additional data can be consumed by the SDK, please refer to the integration guide for further information.
Icon
You can override the default icon for this notification by clicking CHOOSE IMAGE to open your media library. Here, you can upload a new icon or select an icon previously uploaded.