CoPulse Help

Web Push

Connect Web Push

Web Push sends title/body notifications to browsers that opted in on your site. It is not WhatsApp and not SMS.

Setup

  1. Add Web Push in Setup → Channels.
  2. Host the service worker as instructed (download the stub if your site is not on copulse.app).
  3. Set icon, site URL, and prompt style.
  4. Opt in on a test browser, then send a test from the channel or a campaign.

Settings and what they mean

VAPID keys are platform-managed — you do not paste them. The channel name is a CoPulse label only.

SettingWhat it means
Prompt styleNative — browser permission immediately. Soft ask — CoPulse banner first, then the browser prompt. After first message — wait until they chat. Manual — your site or agent must trigger the prompt.
Notification icon URLSquare HTTPS image in the OS toast. Used for Test and campaign pushes.
Customer site URLLive origin, or a CoPulse demo URL ending in /demo. Test checks that https://that-host/copulse-push-sw.js exists, then sends to the newest subscriber on this project.

How to test Web Push

  1. Download copulse-push-sw.js from the channel and host it at your site root (HTTPS). Demo link on the channel row is enough for a first pass.
  2. Open that origin, Allow notifications when prompted (style = Native or Soft ask).
  3. Set Customer site URL to that origin, save, then tap Test in Settings.
  4. If the test says the service worker is missing, the file is not at /copulse-push-sw.js on that host. If it says no subscribers, Allow the prompt on a browser that can reach that origin, then retry.