OneSignal websites

Step-by-step instructions to migrate your website from OneSignal to WonderPush


Migrating to WonderPush is easy: all you have to do is add WonderPush to your website.

Users that visit your site will be reachable with WonderPush and the others with OneSignal so you can push on both services until enough users have migrated to WonderPush.

This guide will help you remove OneSignal from your website and add WonderPush.


WonderPush and OneSignal SDKs expect different push notification formats, so importing your push tokens into WonderPush is not recommended. Instead, just let users visit the new version of your website and automatically migrate to WonderPush.

Shipping WonderPush in a new version of your website

Step 1. Removing OneSignal SDK code

Remove the OneSignal SDK initialization code that you added when you followed OneSignal's setup guide.


Remove any Javascript code that calls the OneSignal SDK (it usually starts with OneSignal.push) or replace it with its WonderPush equivalent (see our Website SDK reference).

Step 2. Add WonderPush

Follow our Website Quickstart guide to add WonderPush to your website.


That's it!

Once you've got WonderPush on your website, users that visit your site and have already granted the push notification permission will automatically appear in your WonderPush dashboard.