Enhance user engagement by adding push notifications to your website. Follow these simple steps to embed the push notification code seamlessly into your site using our platform.
Access Your Lists in the Dashboard: Log in and navigate to the "List" icon on the left side of your dashboard. Click on it to access list-related features.
Go to Push Notification Settings: Within the Lists section, find and select "Push Notification." Click on "Add Website" and enter your domain.
Note: Your website must use "https" to enable push notifications.
Show How to Embed: After adding your website, click on "Show How to Embed" to reveal the necessary steps.
Upload File: Follow the instructions to upload the file into your website's root directory. So it is accessible via (https://zago.com/sw.js): sw.js.
Insert Subscribe Button: Implement the Subscribe button into your webpage to prompt users to opt-in for push notifications.
Note: Insert it right before the closing
</head>tag to enable push notification functionality.
Note: Insert the code provided at the end, wherever you want the Subscribe button to appear.
You've successfully embedded push notification code into your website. Now, enjoy the benefits of direct and instant communication with your audience!!