To get Started with running Web Push Notifications following two things are to be done -
- Configure Web Push Notification
- Create a Web Push Message
Configure Web Push Notification
STEP 1 - Head over to Assets > Web. Click on View/Edit of the website, for which WPN will be run.
Click here to get started with Adding Website over in Assets Section.
. If the domain is HTTP, then a two-step opt-in will be required, which is, a subdomain name is to be added since for running Web Push Notifications an https domain is required.
If domain HTTPS, the subdomain input area will not appear.
Whether single opt-in or two-step opt-in, options will be separate for both Chrome and Safari.
(Authorisation Key, API Key, Sender ID, Project ID & App ID) to enable running of Web Push Notifications in Chrome and Mozilla. For Web Push Notification to run in Safari, configure APNS details(Push Certificate and Intermediate Certificate Password).
Click here to Get Started with FCM(Firebase Cloud Messaging) and for FCM details.
For APNS details, contact [email protected].
For APNs, post-safari 12.1 update, double opt-in is mandatory irrespective of whether domain Http or https. User interaction is mandatory for opt-in to be shown. Hence the secondary opt-in in case of two-step opt-in acts as user interaction.
Creating Web Push Message
Configure Overlay color, transparency and help text for the single opt-in
With the help of this option, you will be able to customize the Opt-In message. Customization such as Layout Appearance and Placement on the website.
Configure Opt-In rules if you wish to show the Opt-In message only after the user satisfies the set conditions.
Opt-In rules consists of the following things -
- Page URL
- Scroll Percentage
- Time spent on Page
- Time spent on the website in the current visit
- Repeat Subscription Prompt
Updated over 1 year ago