PWA Push Notifications

How to Send PWA Push Notifications (The Easy, No-Code Way)

Looking for a simple way to add PWA push notifications?

Progressive Web Apps (PWAs) are apps that work on any device. But there’s always some conflict with sending web push notifications. Usually, the biggest problem is the delivery rates. You can add web push to your PWA in many ways. But how do you send web push notifications that actually get delivered from your PWA?

Don’t worry! In this article, we’re going to show you step-by-step how you can send PWA push notifications with reliable delivery rates in less than 10 minutes.

Let’s dive in.

How to Install PWA Push Notifications

Adding push notifications to a Progressive Web App is quite simple. Just follow the steps in this article. If you follow every step, by the end of this article, you should be able to send push notifications like this one:

PWA push notifications

The main challenge is that all web push notification software uses a Javascript file called service_worker.js. The service worker helps you collect push notification subscribers through popup modals. But all PWAs already have a service worker file that serves a different purpose. And at a time, your PWA can only use one service worker.

In simple words, web push services confuse your PWA. So, sometimes it will collect push notification subscribers and sometimes, it won’t. Sometimes you can send notifications and sometimes you can’t. You might even end up sending push messages to your entire subscriber list and have it delivered only to a few subscribers.

We recommend using PushEngage to send PWA push notifications. PushEngage is the #1 push notification software in the world. So, you know that your campaigns are in safe hands.

Of course, PWA builders like Mendix come with their own push notification system. But what if you want to migrate to some other push notification service? What if you want more flexibility and control over your push notification campaigns? What’s more is that these services typically give you an API to create push campaigns. But with PushEngage, you get an easy to use dashboard from which you can create, schedule, send, and manage push campaigns.

And yes, you can use Firebase Cloud Messaging (FCM) to send Android app push notifications. But with PushEngage, you can send Android app and web push notifications, iOS and iPadOS web and app push notifications, and browser push notifications.

The best part? You can even send powerful eCommerce push notifications with a few clicks.

Let’s get started.

Step #1: Set Up Your PushEngage Account

Head over to the PushEngage home page and click the Get Started button:


You can try out PushEngage for free. If you’re running a small blog that needs repeat traffic and engagement, that’s probably good enough. But if you’re serious about sales, you should get the Enterprise package and unlock the automated campaigns.

Once you’ve signed up for your PushEngage account, head over to your PushEngage dashboard and go to Site Settings » Site Details:

PushEngage Site Settings

You can set your logo, site name, and site URL here. It’s really important to sort this stuff out right now so that you can test your entire setup later.

Step #2: Get the Installation Code from PushEngage

To install push notifications, you’ll need to get an installation code. In your Site Settings screen, scroll down and click on the Click Here For Setup Instruction button:

PushEngage Installation Settings

Then, click on the Any Site tab:

PushEngage Any Site Installation Code

You can use the Javascript code to start sending push notifications.

Step #3: Add the Service Worker Code For PWA Push Notifications

The most tricky part of the process is finally here. In the PushEngage dashboard under Setup Instructions, you’ll also see an option to download the service worker file.

Download Service Worker

But if your PWA already has a service worker in place, then DO NOT directly upload the PushEngage push notification service worker file as is. Open the PushEngage service worker in a text editor like Notepad and copy the code in the PushEngage service worker file. Then, find the service worker file for your PWA and simply add the PushEngage service worker code to the file.

If you neglect this step, you won’t be able to collect push notification subscribers.

Step #4: Configure the PushEngage Opt-In

Now, head back to your PushEngage dashboard. Go to Design » Popup Modals and select the optin of your choice:

Popup Modals

The idea here is to give your visitors a solid reason to subscribe. If you need some help with that check out our article on how to create a custom push notification opt-in.

And if you’d like some templates to get started, you should check out this article on high-converting push notification opt-ins

Step #5: Create Your First Campaign

Now that your PWA can send push notifications, you should create an actual campaign.

An abandoned cart campaign helps generate extra revenue by converting abandoned carts. It’s a simple reminder that sells a lot of products on autopilot. So, it’s a great campaign to support any landing page that brings in direct sales.

Just head over to your PushEngage dashboard and go to  Campaigns » Triggered Campaigns » Create A New Triggered Campaign:

Create New Triggered Campaign

And then, select the Cart Abandonment campaign template:

Triggered Campaign Types

If you’re new to creating automated marketing campaigns, you can simply follow along with our article on how to set up an abandoned cart push notification campaign. Follow every step, and you can set up push notifications like this one:

1ere Abandoned Cart example

And just in case you’re wondering, you don’t need to be a household name brand for your push notification campaigns to be effective. In fact, PushEngage was built to help small businesses grow using push notifications.

But before you start marketing your site, you should fix any issues with your push notification subscription process. Check out this article on testing your push notifications. If everything’s working perfectly, you’re done!

What To Do After Adding PWA Push Notifications?

That’s all for this one, folks!

You can now send PWA push notifications. By now, you’ve also created a powerful web push notification campaign to boost your growth. All that, in less than 10 minutes!

Check out how to create other automated push notification campaigns as well. Most push campaigns are simple and effective. So, we recommend setting up multiple campaigns for your site. Here are a few great ones to start with:

And if you haven’t already, get started with PushEngage. PushEngage is the #1 push notification software in the world. So, your campaigns are in safe hands.

Get started with PushEngage today!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Engage and Retain Visitors AfterThey’ve Left Your Website

Increase the value of every web visit with Push Notifications that are hard to miss.

  • Forever Free Plan
  • Easy Setup
  • 5 Star Support