Web Push Notifications
This guide will help you through the process of setting up your website so that Growlytics can send web push notifications to your website users.
Step 1: Generate WebPush Credentials
Step 2: Configure Browser Sdk
// Initialize Growlytics
let growlyticsSettings = {
//.... Other Growlytics Settings
// Configure push notifications, For more details, visit https://docs.growlytics.in/channels/web-push-notifications
webPushEnabled: true, // Enable/disable web push module, disabled if not provided
// Fully qualified URL of service worker file
serviceWorkerFile: 'service worker file location'
};Step 3: Requesting User Permissions
Additional Notes
Last updated
Was this helpful?
