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.
web-notifications
Display the prompt for web push notifications multiple times
Usually the prompt for web push notifications is displayed only once, the first time that the user visits a website. What if the user blocks the notifications? Is there a way to show the notifications prompt when the user visits the website again?
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:
Force the user to subscribe to web push notifications
Forcing the user to subscribe to push notifications is probably not a good choice for most websites. However there are some specific situations where it makes sense to do that.
Turn website notifications on or off
You can change your notification preferences for a website at any time. You can allow or block the notifications using the browser preferences:
Can I use the (Web) Push API with hybrid mobile apps?
Many developers have asked if they can use Pushpad for sending push notifications to their hybrid mobile apps. Basically they want to use the W3C Push API inside a WebView. That would make sense, because a WebView is a sort of browser embedded inside an application.
Does Safari on iOS support web push notifications?
Safari on iOS supports web push notifications starting from iOS v16.4 (released in 2023). Previous versions did not support web push notifications.
How to send a web notification at a specific time
You can use the Push API to send timely notifications from your website (the notifications are delivered even when the user is not on your website). If you use Pushpad, a service for web push notifications, it is very simple to set the time when the notification must be delivered.
Reset browser permission for web push notifications
Many issues related to web push notifications can be solved by simply resetting the browser permission. That removes the old browser subscription and creates a new subscription.
Can I use SVG images inside Web Push Notifications?
A customer has recently asked if they could use SVG images as the notification icon. Unfortunately the answer is no at the moment because of browser support.