Cross-domain cookie consent

Get compliant today in the European Union, United States, Canada, United Kingdom, Australia, Brazil & South Africa with the only Privacy Suite for WordPress that offers a fully-featured plugin for Worldwide Compliance.

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.

Recent articles

The Privacy Suite for WordPress
Get compliant today with the only Privacy Suite made for WordPress


Popular articles

Join our mailing list - 8 Tips & Tricks in your inbox over the next 8 weeks!