Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Improved consent sharing between subdomains

If you're using Usercentrics Cross Domain Consent Sharing (CDCS) your Modern browsers are causing that website visitors might still see the CMP again when switching to another subdomain , for example mywebshop.com to checkout.mywebshop.com. Modern browsers are causing this behavior as they block the shared iframe provided by Usercentrics (s. Browser related restrictions). The following linked section in the documentation describes the needed steps to prevent this from happening.

Info

This solution will improve user experience for most browsers, however currently not for Safari users. We're actively working on this case to offer you a solution for Safari users too.

  1. Download the file cross-domain-bridge.html (right click → save as ...)

  2. Upload this file to your webserver. It should be reachable from your main domain that is included in all of your subdomains. For example: https://mywebshop.com/cross-domain-bridge.html

  3. Before the Usercentrics CMP script tag, set the new location of the Cross Domain Bridge via the window.UC_UI_DOMAINS.crossDomainConsentSharingIFrame property.

A complete example might look like this:

...

: Improved consent sharing between subdomains.

...

Restrictions

Usercentrics related restrictions

...