CrowdPower
  • 👋Introduction
  • ✅Getting Started
    • The Basics
    • JavaScript Tag
      • Identify Customer
      • Create Customer Event
      • Create Customer Charge
      • Create Customer Tag
      • Create Page View
      • Prompt for Push
    • Beacon API
      • Identify Customer
      • Create Customer Event
      • Create Customer Charge
      • Create Customer Tag
      • Track
    • Importing Customers
    • Basic Email Setup
    • Advanced Email Setup
  • 📚Resources
    • Smart Sending
    • Working with Sessions
    • Working with Traits
    • Working with Phone Numbers
    • Personalizing Messages
    • Push Notifications
    • Unsubscribe Groups
  • 🔌Integrations
    • Discord
    • Slack
    • Stripe
    • Zapier
  • REST API
  • Console
Powered by GitBook
On this page
  • Installation
  • Usage

Was this helpful?

  1. Resources

Push Notifications

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

PreviousPersonalizing MessagesNextUnsubscribe Groups

Last updated 2 years ago

Was this helpful?

Installation

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

  1. Download the .

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

  3. Install the .

  4. 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.

📚
CrowdPower Service Worker
CrowdPower JavaScript Tag