Complianz Privacy Suite

Cross-domain cookie consent

Aert Hulsebos

Aert Hulsebos

Categories

Popular articles

Creating the Legal Hub

Have you seen our new Legal Hub? If not, have a look before reading this instruction article. We created the legal hub to centralize our

Read More

Placeholders for iFrames

From 4.6.11 onwards, you can also use consent shortcode wrappers. An instruction can be found here. You’re able to block iFrames with Complianz with the

Read More
Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn

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.

Subfolder: domain.com/subfolder

Subdomain: subdomain.domain.com

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

Subscribe