Push Notifications

You can send push notifications with Chrome and all modern browsers using the CrowdPower Service Worker and JavaScript Tag.

Installation

To get started with web push notifications, follow these steps:

  1. Install the service worker in the root of your website; typically the /public directory.

  2. Execute the push command to request for permission to send push notifications. This only needs to be called once per customer. For example, upon sign up.

Usage

To send a push notification to a customer, simply add the Push Notification action to an automation. If the customer has granted access to send them push notifications, they will receive it. Push notifications may have a title, body, and URL, and may include dynamic information about the customer, using variables.

Last updated