While email is far from dead, other types of notifications offer a lot of advantages in some cases. During my missions as a developer I came across a few benefits that my client wanted to achieved with web pushes:
- Aim at alternative targets: for example to reach a younger audience or engage with people who don’t want to give their email address.
- Escape from the need to develop a mobile app just to send notifications (not all services require an app, and not all the people want to install your app).
- Web pushes are free and have no problem of deliverability.
Here are some of the tools and resources I found useful to start sending web pushes:
1. Checking browser support
Not all browsers support web pushes for the moment:
- On desktop: Safari, Chrome, Firefox, and Opera
- On mobile: Chrome, Firefox and Opera
To know the complete list of supported browser, you can go to http://caniuse.com/#feat=push-api
2. Previewing notifications
[Disclaimer: I developed this tool] A web push previewer for Chrome and Firefox desktop which propose to play and see the real result on your device: https://www.notif.me/preview/webpush
In the same vein, a notification generator: https://tests.peter.sh/notification-generator/
A very comprehensive documentation to learn everything that is to know about web pushes: https://web-push-book.gauntface.com/
Good to know: many services propose SDKs to ease the integration.