Web notifications

Web Notifications can be an extremely powerful tool for the marketer. Mautic integrated with OneSignal which allows you to push information to a Contact as they browse through web resources (Mautic Landing Pages, or with some configuration (see OneSignal web push documentation), on your own website), giving you one more Channel that you can use to build a relationship with them.

Web notifications in Mautic use OneSignal by default. Using your own OneSignal account, you can now push a notification to your Contact’s browser - with their permission. Enable the OneSignal Plugin in Mautic’s Configuration to see Web Notifications listed under Channels in the menu.

For more information see the OneSignal OneSignal web push quickstart documentation.

Setup web notifications

Configuration

  1. Create a OneSignal account and once logged in, create an App

  2. Setup App Website Push Platforms in your OneSignal App

Screenshot showing creating push platforms on OneSignal.
  1. Select Typical Site and fill out the required fields.

  1. Download the SDK files from the next screen, and upload them to the root of your Mautic installation - this must be accessible at https://mautic.example.com/OneSignalSDKWorker.js.

  1. Get the keys from OneSignal under the Settings > Keys & IDs tab.

  2. Enable the features you wish to use - for example, whether to enable notifications on mobile apps, Landing Pages, tracked resources on your website, and whether to show a welcome notification after they subscribe. You can also specify a subdomain name, and if you’re using iOS and Android notifications you can also enable these options - see Mobile push notifications.

Sending notifications

There are two ways to send website notifications to the Contact:

  1. Send with a Campaign Action

  2. Send via a Marketing Messages