Skip to main content

Install Web Push module

Written by Lisa Fockens
Updated over a week ago

Step 1: Set up the service worker

Shopify

It’s built into our existing plugin (go to step 2).

Others

  1. Install the Service Worker

    • Create a new file on your website's server. This file should be publicly accessible.

    • You can name this file anything, but a common convention is serviceWorker.js.

    • Add the following code to the file:

      importScripts("https://wisepops.net/serviceWorker.js");

  2. File Placement

Step 2: Enable Web Push on Wisepops

Go to the Web Push notifications dashboard and check "Allow Web push on my website"

Did this answer your question?