Integration with OneTrust CMP
Kameleoon provides a custom integration with OneTrust CMP. Kameleoon automatically reads the consent policy within the OneTrust platform for both its experimentation and personalization modules.Enable OneTrust integration on Kameleoon
First, you must add Kameleoon in OneTrust’s CMP.Configure OneTrust in Kameleoon
- Log in to your Kameleoon account.
- Click Admin > Projects.
- Click Edit on your project’s row.
- Click the Scripts tab.
Global custom script

C0003 in this example code) depending on the category where you added Kameleoon in OneTrust. For example, you may have a group called “Performance Cookies,” which has a category id of C0002.
With this code, Kameleoon automatically activates or deactivates the Experiment or Personalization module any time a visitor grants or revokes consent from the OneTrust pop-in.
Click Save changes to apply the changes to your configuration.
Consent policy
The last step is setting your project’s consent management policy to Consent required in both the For A/B tests and feature experiments and For personalizations sections. Read this documentation to learn more.
- Click Admin > Projects, click Edit on your project’s row, then click the Consent tab.
- In each of the For A/B tests and feature experiments and For personalizations sections, click Edit, select Consent required in Consent policy, then click Save changes.