Looking for a simple way to add web app push notifications that can help you grow your business?
Setting up push notifications for web apps can be a little bit tricky. 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 web app in many ways. But how do you send web push notifications that actually get delivered from your web app?
Don’t worry! In this article, we’re going to show you step-by-step how you can send web app push notifications with reliable delivery rates in less than 10 minutes.
Plongeons dans le vif du sujet.
How to Install Web App Push Notifications
Adding push notifications to a 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:

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 web apps already have a service worker file that serves a different purpose. And at a time, your web app can only use one service worker.
In simple words, web push services confuse your web app. 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.
Of course, web app 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?
We recommend using PushEngage to send web app push notifications. PushEngage is the #1 push notification software in the world. So, you know that your campaigns are in safe hands.
Commençons.
Étape n°1 : Configurer votre compte PushEngage
Rendez-vous sur la page d'accueil de PushEngage et cliquez sur le bouton Commencer :
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.
Une fois que vous avez créé votre compte PushEngage, rendez-vous sur votre tableau de bord PushEngage et allez dans Paramètres du site » Détails du site :

Vous pouvez y définir votre logo, le nom de votre site et l'URL de votre site. Il est très important de régler ces éléments dès maintenant afin de pouvoir tester toute votre configuration plus tard.
Étape n°2 : Obtenir le code d'installation de PushEngage
Pour installer les notifications push, vous devrez obtenir un code d'installation. Dans votre écran Paramètres du site, faites défiler vers le bas et cliquez sur le bouton Cliquez ici pour les instructions de configuration :

Ensuite, cliquez sur l'onglet N'importe quel site :

Vous pouvez utiliser le code Javascript pour commencer à envoyer des notifications push.
Step #3: Add the Service Worker Code For Web App 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.

IMPORTANT: By default, a web app doesn’t require a service worker file. All you need to turn any site into a web app is a manifest file. So, if your web app doesn’t have a service worker file, then you can simply add the PushEngage service worker to the root directory of your website or web app.
But if your web app already has a service worker in place, then DO NOT directly upload the PushEngage 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 web app 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.
Étape n°4 : Configurer l'opt-in PushEngage
Maintenant, retournez à votre tableau de bord PushEngage. Allez dans Design » Modèles de popup et sélectionnez l'option de votre choix :

L'idée ici est de donner à vos visiteurs une bonne raison de s'abonner. Si vous avez besoin d'aide à ce sujet, consultez notre article sur comment créer un opt-in de notification push personnalisé.
Et si vous souhaitez des modèles pour commencer, vous devriez consulter cet article sur les opt-ins de notification push à haute conversion.
Étape n°5 : Créer votre première campagne
Now that your web app can send push notifications, you should create an actual campaign.
Une campagne de panier abandonné aide à générer des revenus supplémentaires en convertissant les paniers abandonnés. C'est un simple rappel qui vend beaucoup de produits en mode automatique. C'est donc une excellente campagne pour soutenir toute page de destination qui génère des ventes directes.
Just head over to your PushEngage dashboard and go to Campaigns » Triggered Campaigns » Create A New Triggered Campaign:

And then, select the Cart Abandonment campaign template:

Si vous débutez dans la création de campagnes marketing automatisées, vous pouvez simplement suivre notre article sur comment configurer une campagne de notification push de panier abandonné. Suivez chaque étape et vous pourrez configurer des notifications push comme celle-ci :

Et juste au cas où vous vous demanderiez, vous n'avez pas besoin d'être une marque de renommée mondiale pour que vos campagnes de notifications push soient efficaces. En fait, PushEngage a été créé pour aider les petites entreprises à se développer grâce aux notifications push.
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 Web App Push Notifications?
C'est tout pour cette fois, les amis !
You can now send web app 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:
- Comment envoyer automatiquement des notifications push RSS
- Comment configurer les notifications push d'abandon de panier à l'aide de GTM
- Comment programmer les notifications push facilement [Guide de 5 min.]
Et si ce n'est pas déjà fait, commencez avec PushEngage. PushEngage est le logiciel de notification push n°1 au monde. Vos campagnes sont donc entre de bonnes mains.
