Cross-domain cookie consent sharing

Can I use cross-domain cookie consent tracking?

Nelson
Written by NelsonLast update 19 days ago

Cross-domain cookie consent allows website owners to store cookie consent settings from a single user across multiple domains. If a website uses cross-domain cookie consent sharing and users do not block this option by their browser settings, users could be tracked across domains and subdomains.

CookieScript CMP allows cross-domain cookie consent sharing for top-level domains and subdomain cookie consent sharing.

You can share cross-domain cookie consent across multiple top-level domains. This functionality allows you to select which domains should share cookie consent.

If you don't want to show the cookie banner on all of your websites, add the websites to one group and activate cross-domain cookie consent sharing.

A specific use case: Let’s say you have many hotel websites (Hotel A, Hotel B, Hotel C, etc.) and a common reservation website (Reservations), and you want to share hotel websites’ cookie consent with the reservation’s website. When a user visits Hotel A’s website, he is presented with a cookie banner and accepts or rejects cookies. If the user then visits the Reservations website, cookie consent should be shared between these sites, so the user does not see the banner again. However, if the user visits the website Hotel A and then visits the website Hotel B, he should see the cookie banner and accept or reject cookies.

This feature should be used only if you want to share cross-domain cookie consent as described in the above user case with hotels.

To activate cross-domain cookie consent sharing across multiple top-level domains, perform the following steps:

  1. Go to the CookieScript dashboard and press Cross-domain consent.

  2. Create one cross-domain group. Press Add group, add all websites (Hotel A, Hotel B, Hotel C, etc., and Reservations) to the group, and press Save.

  3. Press the Refresh All button to renew the cashed code.

  4. Add the attribute data-cs-ignore-read-crossdomain="true" to the CookieScript code for all sites that should share cookie consent (Hotel A, Hotel B, Hotel C, but not Reservations).

Done, cross-domain cookie consent sharing across multiple domains is enabled. When the user visits the site Hotel A, he is presented with the cookie banner. If the user then visits the site Reservations, the cookie banner will not be shown. But if the user then visits the site Hotel B, he will see the cookie banner and will have to make his choice again.

This functionality is available only for paid pricing plans.

See also the guide on how to activate consent sharing for subdomains.

Did this answer your question?