# Kameleoon

Kameleoon is an A/B test and web personalization tool. Although the vendor is part of the IAB's Transparency and Consent Framework, they also allow you to use their features without the TCF.

### Configure your Didomi notice

In Didomi, you will need to create two Kameleoon vendors and two associated purposes. This will allow Kameloon to get the user consent value directly from the CMP.

#### Create your purposes

To do so, browse to your Didomi console and go to **Settings > Purposes** to create the following purposes:

* AB testing
* Personalization

![Purpose creation in the console](https://1703900661-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDh8ZWDZrXs8sc4QKEQ%2Fuploads%2Fgit-blob-e8b963f065553dec1727769b6f6aa698839fd543%2FCapture%20d%E2%80%99%C3%A9cran%202021-01-26%20%C3%A0%2012.20.45.png?alt=media)

#### Create your vendors

You will also have to create two Kameleoon vendors by going to **Settings > Vendors**. The name and custom ID of these vendors will be :

* Kameleoon experiment (SDK ID: c:kameleoon-experiment)
* Kameleoon personalization (SDK ID: c:kameleoon-personalization)

The custom SDK ID is important as Kameleoon will use these two values to get the user consent from Didomi.

![Vendor creation with Custom SDK ID](https://1703900661-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDh8ZWDZrXs8sc4QKEQ%2Fuploads%2Fgit-blob-f75c5cac23f7035f668f9a9587c92589cf7ee4cc%2FCapture%20d%E2%80%99%C3%A9cran%202021-01-26%20%C3%A0%2015.35.08.png?alt=media)

#### **Configure your notice**

Once these vendors are created you can browse to your notice configuration and go to the **Vendors & Purposes** section.

Select the two vendors you previously created and make sure the SDK ID matches the Kameleeon vendors you created in the previous step.

![](https://1703900661-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDh8ZWDZrXs8sc4QKEQ%2Fuploads%2Fgit-blob-324d66bef69b84bfbe11e8023ae97f77c70ba2f7%2FCapture%20d%E2%80%99%C3%A9cran%202021-01-26%20%C3%A0%2015.53.32.png?alt=media)

### Configure your website

Your notice is now ready to be used with Kameleoon. Get the embed code in the "3. Publish" section of the notice configuration and place it on the top of your \<head> tag.

Thanks to the custom vendor ID you set when you created your vendors, Kameleoon will be able to get the user consent directly from the notice.

### Configure a test

If you need to configure a test notice, you will have to browse through the documentation to create a `window.didomiConfig` which will change the banner format.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.didomi.io/cmp/web-sdk/third-parties/direct-integrations/kameleoon.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
