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.