Cross-domain subscription
How-to subscribe users to web push notifications from another domain
What is cross-domain subscription?
Choosing your main notification domain carefully is important and described in our Website Quickstart guide.
WonderPush lets you subscribe users from any domain and gives you complete control over the list of allowed domains. Subscribing users from another domain than your main notification domain is called cross-domain subscription.
For example, your main notification domain might be www.example.com
, but WonderPush lets you subscribe users from shop.example.com
.
Controlling which domains are allowed to subscribe users
You can control which domains are allowed to subscribe users via the allowedSubscriptionDomain
init option of the Website SDK.
What does the cross-domain subscription process look like?
When subscribing users from another domain than your main notification domain, WonderPush will open a popup window that looks like this:
Texts of this popup window can be configured using the cross-domain init options of the Website SDK.
Updated almost 5 years ago