Close this search box.


In this article


Recent articles

Cross-domain cookie consent

From 4.6.7 on, premium and multisite users can enable cross-domain cookie consent* For multisite users. This is done under Complianz settings. For premium users, please read the below instructions.

For the time being, this is only available for subfolders, with subdomains being available in the future.



What is cross-domain cookie consent?

Cross-domain cookie consent will store consent settings from a single user over a range of different domains, or in this case, subfolders. This will mean a user consents for domain A, and these settings will be set for Domain B as well, thus only showing the consent banner once.

For most privacy laws, cross-domain consent is prohibited because the probability Domain A & Domain B actually share the same configuration of functional/non-functional cookies, processors, service providers, and the like is minimal.

We have seen multisite users with identical set-ups over multiple subfolders, which prompted this feature. In the future, we will add subdomains as we have seen these cases pop-up as well.

Enabling cross-domain cookie consent with Premium

To enable cross-domain cookie consent for the premium plugin on Domain A and subfolders, you will need to add a line to your functions.php, child functions.php, or as a mu-plugin to all WordPress installations.

To enable cross-domain consent, you will need to define the policy ID to be shared on different installations.

update_option( 'complianz_active_policy_id', 20 );

This will set the policy ID for your domain and subfolders.

NB. When Complianz recognizes a significant change in your cookie policy, the policy ID will change, and consent will reset for previous users. In the above case, this should be done manually by raising the ID anytime you want to reset consent.

Join 700.000 users and install The Privacy Suite for WordPress locally, automated or fully customized, and access our awesome support if you need any help!

Complianz has received its Google CMP Certification to conform to requirements for publishers using Google advertising products.