Skip to main content
Didomi builds technology that lets organizations place customer consent at the core of their strategy by offering a powerful Consent Management Platform (CMP) that organizations can deploy on websites or mobile apps. Kameleoon reads consent policies within the Didomi platform, so you can run A/B tests and personalize the performance of a configuration variant (for example, notice format, content, banner vs. pop-in). Key benefits:
  • Automatically manage user consent through Didomi CMP with no additional setup needed.
  • Deploy different variants of the Didomi tag configuration through Kameleoon and automatically measure the difference in consent rates.

Integration with Didomi CMP

Kameleoon provides custom integration with Didomi CMP. Kameleoon automatically reads the consent policy within the Didomi platform for both Kameleoon’s experimentation and personalization modules. With Kameleoon’s integration, you can also run A/B tests to test a variant’s performance (for example, notice format, content, and banner versus pop-in).

Enable Didomi in Kameleoon

First, you need to add Kameleoon as a vendor in Didomi’s CMP.

Configure your Didomi notice

Follow this documentation provided by Didomi

Configure Didomi in Kameleoon

You need to trigger the Kameleoon snippet independently of Didomi and add it directly to the source code of the page to prevent flickering in your experiments and personalizations.
  1. Log in to your Kameleoon account.
  2. Click Admin > Projects.
  3. Navigate to your project’s card and click Configurations.
  4. Click General.

Global custom script

The Global custom script insert lets you link Kameleoon to Didomi. Kameleoon executes any JavaScript code you add in this insert every time the page loads. This feature is often used to add a complex tracking code or integration to other solutions. To activate the bridge between Kameleoon and Didomi, copy and paste the code below into the Global script section:
With this code, any time a visitor activates or disables Kameleoon’s consent from the Didomi pop-in, Kameleoon receives a notification and activates or deactivates the Experiment or Personalization module (depending on whether the visitor grants consent). Click Validate to apply the changes to your configuration. The last step is setting up your project’s consent management policy to Consent required for both Experiment and Personalization. Read this documentation to find out more.
To set up the consent management policy on your project:
  1. Unfold the Experiment and/or Personalization section of your configuration.
  2. Select Consent required in the dropdown.
  3. Click Validate.
Kameleoon will now collect and store data based on the consent provided by the users from Didomi CMP. With Kameleoon’s integration with Didomi, you can run different versions of your consent notice by creating an experiment through Kameleoon. Follow these guidelines. You’ll have to run a technical experiment. This experiment lets Kameleoon run the experiment before the visitor provides consent (which is necessary if you want to A/B test several versions of Kameleoon’s consent pop-in). Note that you can’t analyze an experiment’s results in Kameleoon’s reporting tool as Kameleoon doesn’t collect any data. However, Kameleoon will still send analytics data to your default analytics platform. Below, you’ll find an example of an experiment that A/B tests two versions of the consent notice: pop-in versus banner.

Pop-in notice version