Pushpad

Articles about web push notifications

Web push notifications: user log in and log out

How can you associate a push subscription to a specific user? How can you implement log-in and log-out for web push notifications?

  • # javascript-sdk
  • # push-api
  • # targeting
  • # web-notifications

Web Push: send a notification to all users

Sometimes you just need to send the same notification to all users that have subscribed to your website notifications. Let's see how to achieve that.

  • # push-api
  • # targeting

Geolocation with Pushpad

Would you like to send web push notifications only to people located in a given place? If you use Pushpad you can implement that in different ways.

  • # javascript-sdk
  • # targeting
  • # web-notifications

How to send a notification only to a random subset of users

What if you want to send a web push notification only to 10% of your users? This can be useful for example for testing and for measuring CTR for that notification before sending it to all your users. There are many ways to achieve that, but in this tutorial we will show a simple method with tags.

  • # targeting

Targeting only recently active users can increase delivery rate of web push notifications

There are various reasons that can prevent a web push notification from being delivered. One of them is the presence of subscriptions that are no longer in use: if a device / browser is no longer used, then its subscription to web push notifications is still valid, but the notification won't be delivered. That legacy subscription will eventually expire and will be removed automatically (by Pushpad), but this can take several months, depending on the browser push service (e.g. Google FCM, Mozilla autopush, etc.).

  • # deliverability
  • # targeting
  • # web-notifications

How to send single-user targeted notification with Web Push API

I would like to reply to an interesting [question](https://stackoverflow.com/questions/44714507/how-to-send-single-user-targeted-notification-with-web-push-api) that has been posted on StackOverflow. I reply here because the original question has been deleted.

  • # targeting
  • # transactional