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.
web-notifications
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?
At the moment Safari on iOS doesn’t support web push notifications.
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.