The WonderPush Developer Hub

Welcome to the WonderPush developer hub. You'll find comprehensive guides and documentation to help you start working with WonderPush as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

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 10 months ago


What's Next

Website SDK

Cross-domain subscription


How-to subscribe users to web push notifications from another domain

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.