Complete step-by-step guide to set up web push notifications for your website using OneSignal. Learn how to integrate the SDK, configure prompts, and start sending push notifications to engage your users.
Web push notifications help you reach users even when they're not on your site
Activate the web platform in your OneSignal settings
Choose your integration type based on your website setup
www
mismatch)256x256px
image shown in notifications (if unset, a default bell icon is used)Web settings in the OneSignal dashboard
Welcome notifications confirm successful subscription and demonstrate value
welcomeNotification
object in the OneSignal.init
function. See Web SDK reference for details.
Why send welcome notifications?
View and manage your subscribers in the Audience section
Web push notification anatomy - customize elements 1-6, while 7-9 are controlled by the browser
50
characters)120
characters)256x256px
PNG or JPG)?_osp=do_not_open