Directly importing web push tokens from another provider into Pushwoosh is not possible. This is due to technical limitations and differences in how various push services configure their platforms and data payloads.
However, you can migrate your existing subscribers who have already granted push notification permission on your website. They will be automatically resubscribed to Pushwoosh on their next visit without needing to see another permission prompt.
Follow these steps to migrate your subscribers:
- Remove the old provider's code: First, completely remove the SDK and any related code from your previous push notification service from your website's source code.
- Integrate the Pushwoosh SDK: Add the Pushwoosh Web SDK to your website by following our integration guide.
- Enable Automatic Subscription: During the SDK initialization, ensure you either set the
autoSubscribe: true
parameter or call thePushwoosh.subscribe()
method in your code. This will automatically register your existing opted-in users with Pushwoosh when they visit your site.
Once these steps are complete, your users will be gradually migrated to Pushwoosh as they return to your website.
Important Note: It is not possible to run two different web push SDKs (your old provider's and Pushwoosh's) on the same website simultaneously. Web browser technology does not support multiple push notification services for a single domain. You must fully replace the old SDK with the Pushwoosh SDK.
Comments
0 comments
Please sign in to leave a comment.