# Kameleoon Events

[Kameleoon ](https://www.kameleoon.com)is an AI personalization and A/B testing SaaS platform for product managers and marketing teams who want to personalize the customer journey to maximize engagement, conversion and online revenue. Using this destination you can implement Kameleoon [TrackConversion API](https://customers.kameleoon.com/apisdk/doc/#/TrackConversion/get_apisdk_trackConversion) which can be used, after triggering an experiment, to measure performance characteristics according to the goals that make sense for your business.

## Key features

The "Kameleoon Events" destination provides the following key features:

* **Events structure**: our [Events reference](https://community.commandersact.com/platform-x/developers/tracking/events-reference) fits [Kameleoon's Goal ID configuration](https://help.kameleoon.com/manage-goals/), meaning that your data is properly bridged to the expected fields in an optimized way.
* **Prebuilt mappings**: data mapping for event-based destinations happens automatically, which simplifies user inputs.

## Destination setup

### Configuration

| Settings                   | Description                                                                                                                                                                                                                                                                                      |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Site Code`                | <p><em><strong><code>Required</code></strong></em></p><p>Your <mark style="color:blue;">Site Code</mark> as provided by Kameleoon.</p>                                                                                                                                                           |
| `Visitor Cookie Name`      | <p><em><strong><code>Required</code></strong></em></p><p>Cookie name holding the visitor code. This can be set using the <mark style="color:blue;">Kameleoon (Builder)</mark> template which is available in our library following these steps: INTEGRATION ➜ Sources➜ Web Containers.</p>       |
| `Commanders Act EventName` | <p><em><strong><code>Required</code></strong></em></p><p>Map your Commanders Act events by adding their <a href="https://community.commandersact.com/platform-x/developers/tracking/events-reference">related names</a>. They need to match valid Kameleoon Goal Ids. <strong>\[\*]</strong></p> |
| `Kameleoon GoalId`         | <p><em><strong><code>Required</code></strong></em><br>Map your Kameleoon Goal Ids by adding their <a href="https://help.kameleoon.com/manage-goals/">related identifiers</a>. They need to match valid Commanders Act events.</p>                                                                |

{% hint style="info" %}
**\*** Only these events will be bridged to Kameleoon.
{% endhint %}

## Field mappings

| Commanders Act Properties | Kameleoon Properties |
| ------------------------- | -------------------- |
| `Site Code`               | `siteCode`           |
| `Visitor Cookie Name`     | `userID` **\[1]**    |
| `Kameleoon GoalId`        | `goalID`             |
| `revenue`                 | `revenue` **\[2]**   |

{% hint style="info" %}
**1.** The cookie content is set as value for the parameter`userID`.\
**2.** This is set for Commanders Act<mark style="color:blue;">`purchase`</mark>and<mark style="color:blue;">`refund`</mark>events only.
{% endhint %}


---

# 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://doc.commandersact.com/features/destinations/destinations-catalog/kameleoon/kameleoon-events.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.
