The recommended best practice for asking users to subscribe to web push notifications is a two-step subscription process. This approach provides a better user experience and typically results in higher opt-in rates.
The Two-Step Process
- Custom Prompt (Soft Ask): First, display a custom-designed prompt on your website. This element, often called a "pre-prompt," should explain the value and benefits of subscribing to your notifications. For example: "Allow notifications to receive important price alerts."
- Native Browser Prompt: If the user agrees to your custom prompt (e.g., by clicking an "Allow" button), you should then trigger the official browser permission prompt. The user must also grant permission in this native dialog to complete the subscription.
Why use this method?
- Provides Context: It allows you to explain why a user should subscribe before they see the generic and intrusive browser prompt.
- Prevents Quick Blocks: If a user dismisses your custom prompt, you can ask them again later. However, if a user blocks the native browser prompt, it becomes very difficult to request their permission again.
For implementation details, please see our documentation on creating a custom subscription popup.
Comments
0 comments
Please sign in to leave a comment.