Search
Close this search box.

Documentation

In this article

Category: ,

Categories

Recent articles

Set your own Cookie based on a (custom) Consent Category

In this example, we will set a cookie for a partner website that is looking for a cookie on the root domain to enable or disable their marketing scripts. We will use the real-life use case for websites that embed content from the watchmaker Rolex.

Some vendors or partners supply you with a code snippet whereby they can handle their own consent management, but they need input from Complianz. We will do the following for this purpose;

Create a category on the Cookie Banner for this specific partner, Rolex and its subsidiaries.
Based on this category, we will set a cookie named “rlx-consent” with values “true” or “false” based on consent for this specific partner.

You can find the mu-plugin here: https://github.com/Really-Simple-Plugins/complianz-integrations/tree/master/rolex-mu-plugin

 

 

Join 900.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.