Step-by-step instructions to migrate your website from Batch 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 Batch so you can push on both services until enough users have migrated to WonderPush.
This guide will help you remove Batch from your website and add WonderPush.
WonderPush and Batch 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 Batch SDK code
Remove the Batch SDK initialization code that you added when you followed Batch setup guide.
batchSDK) 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.
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.
Updated almost 2 years ago