This guide provide instructions on how to clear your environment to test web push and opt-in from scratch.
Our web SDK saves a local storage item and there is also a push subscription sitting separately in the browser settings. These must both be cleared.
If you delete data but keep the push subscription, the next time the user opens the website they will be automatically subscribed to push notifications with the same token. To make a clean environment you need to delete both data and the push subscription in settings.
Details on removing your push subscription for the different browsers and platforms can be found below:
Open Chrome and click on the padlock that appears on the URL bar > Site Settings > Clear Data and Reset permissions, then return to your page and click on Reload to apply the changes.
Alternatively go to Chrome, click on the the options menu > Settings.
Then click on Site Settings > Notifications and delete the entry for your website by clicking on the options menu > Remove.
Alternatively, click Settings from a notification in the notification center and then delete the entry for your website from the list (again by clicking on the options menu > Remove).
From your Android smartphone open your website from the Chrome app. Click on the options menu > Settings.
Navigate to Site Settings > Notifications and remove your website from the list by clicking on it > Remove.
Alternatively click on Site Settings from a push notification and then click Clear & Reset on the individual site settings screen
Open Firefox and click on the three line menu > Preferences > Privacy and security > Notifications.
Click on Settings and remove your website from the list by clicking on Remove website > Save changes.
From your Android smartphone open your website from the Firefox app. Click on the options menu > Settings.
Then navigate to Site Permissions > Exceptions > click on the name of your website > Clear permissions.
Open Safari and click on the Safari menu > Preferences.
Then go to Notifications and remove your website from the list by clicking on it > Remove.
Updated 8 months ago