How to allow users to manage their push preferences from my website?
You can integrate a custom toggle switch into your website to manage web push notifications easily (opt-in and opt-out).
By default, users can manage their push preferences from their browser settings on desktop and mobile (see more here).
Instead of making your users dive into their browser settings, you can give them the option to disable/enable push notifications directly from your website using a toggle switch.

The following steps will help you set up this button on your website.
Keep in mind that notifications management may happen at two different levels:
At the SDK level
In users' browser settings: on this level, you cannot control notifications with a toggle switch button as described above.
You will find more details in the Batch Web API Reference.
Last updated
Was this helpful?