Setting Up Web Push: Complete Guide
This comprehensive guide covers everything you need to set up Web Push notifications, from basic configuration to advanced customization.
Overview
Web Push notifications allow you to reach users even when they're not on your website. This guide covers:
- Basic channel configuration
- Permission prompt optimization
- SDK installation options
- Testing and verification
Time required: 20-45 minutes depending on customization
Prerequisites
- An OCM Pulse app created
- Site domain configured on your app
- Access to your website's code
- HTTPS enabled on your website
Part 1: Basic Configuration
Access Configuration
- Navigate to your app
- Click Channels in the menu
- Click Configure (or Settings) on Web Push
Essential Settings
Configure these minimum settings:
Auto Prompt
| Setting | Starter | Optimized |
|---|---|---|
| Enabled | Yes | Yes |
| Delay | 5 seconds | 10 seconds |
| Page Views | 3 | 2-3 |
Why delay? Users who engage with your content first are more likely to subscribe.
Welcome Notification
| Setting | Recommendation |
|---|---|
| Enable | Yes |
| Title | Short welcome message |
| Body | Set expectations |
| URL | Optional - relevant page |
Example:
- Title: "Welcome to [Site Name]!"
- Body: "You'll receive updates about [content type]"