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:
The Optimove Web SDK supports web push notifications on iOS and iPadOS 16.4 and later. 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, go to Plan > Templates and select Web Push.
Name and Identifier
You must give each template a name to identify the template when sending a web push notification. Enter the name in the template name box at the top of the editor.
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 "Add Image" to open your Media Library. Here, you can upload a new image, select an image you have previously uploaded, search the Unsplash stock image library, or add an image from a URL (URL tab).Advanced Options
To open a URL or add a data payload, use the Template Settings toggles.
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 "Include JSON" 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.
Gateway TTL
To control how long push gateways hold the notification for delivery when the receiving device is not online, toggle "Set gateway TTL" and enter a value in seconds, hours or days (up to 28 days).
Icon
You can override the default icon for this notification by toggling "Override the default web push icon" and choosing an image from your media library. Here, you can upload a new icon or select an icon previously uploaded.