In case you are testing a new web push integration, you may need to reset your browser preference to trigger again the push opt-in prompt. Here is a simple step-by-step guide on how to do it for Google Chrome, Mozilla Firefox, and Safari on a desktop.
Google Chrome
1/ Clear the website data
Right-click on your webpage, then click "Inspect" to display the inspection. Head to the "Application" tab > "Clear Storage", then click the "Clear site data".
2/ Clear your push preferences
Then, click the lock icon at the left side of the address bar and set the push preference to "Ask".
Finally, click the refresh button. You should be able to trigger again the push opt-in prompt.
Mozilla Firefox
1/ Clear the website data
First, click the lock icon at the left side of the address bar and set the push preference to "Ask".
2/ Clear your push preferences
Then, click the lock icon again and clear your web push preferences:
Click the refresh button. You should be able to trigger again the push opt-in prompt.
Safari
1/ Clear the website data
From the "Safari" tab, click "Preferences". Head to the "Privacy" **tab and click "Manage Website Data...". Then select the website in the list and click "Remove" in the left-hand corner.
2/ Clear your push preferences
From the "Safari" tab, click "Preferences". Head to the "Websites" **tab and click on the "Notifications" button on the left menu. Then select the website in the list and click "Remove" in the left-hand corner.
Finally, click the refresh button. You should be able to trigger again the push opt-in prompt.