> For the complete documentation index, see [llms.txt](https://doc.commandersact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.commandersact.com/fr/fonctionnalites/destinations/destinations-catalog/data-activation-legacy.md).

# Data Activation Legacy

Réservé aux utilisateurs avancés

{% hint style="info" %}
Cette destination est temporaire. Il s’agit de la première étape de la migration visant à prendre en charge le format des événements dans le module Data Activation.
{% endhint %}

Associez les événements collectés au format Data Activation (anciennement appelé format Data Commander). L’objectif est de collecter les événements et de les associer au format Data Activation afin de pouvoir utiliser la segmentation, les connecteurs d’audience, les attributs utilisateur enrichis...

Sélectionnez Data Activation Legacy dans le catalogue des destinations.

Sur la page des paramètres, vous trouverez le mapping :

## **Étape 1 : mapping des variables Data Activation vers les propriétés des événements**

<figure><img src="https://3282103337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-412c2d2a660647adb495d14410a1980a69e2a347%2FCapture%20d%E2%80%99e%CC%81cran%202023-04-20%20a%CC%80%2011.31.01.png?alt=media" alt=""><figcaption></figcaption></figure>

Sélectionnez à gauche une variable Data Activation (user\_email ; user\_id...) et associez-la à la propriété correspondante de l’événement (user.email ; value...).

Vous pouvez utiliser une valeur statique. Saisissez-la entre guillemets « » .

## Étape 2 : **Type de page Data Activation (variable env\_template) ← mapping du nom de l’événement**

<figure><img src="https://3282103337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-e7a223452602de13cad60f64e17a37312700490f%2FCapture%20d%E2%80%99e%CC%81cran%202023-04-20%20a%CC%80%2011.31.19.png?alt=media" alt=""><figcaption></figcaption></figure>

Ce mapping est réservé à la variable env\_template.

À gauche, saisissez la variable env\_template correspondant au type de page et associez-la au nom de l’événement (ex. : funnel\_confirmation ⇒ purchase).

## Étape 3 : mapping supplémentaire, UNIQUEMENT pour l’événement page\_view

<figure><img src="https://3282103337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-65234bae1fc1b6345a6f9e12189a50f406ca32c9%2FCapture%20d%E2%80%99e%CC%81cran%202023-04-20%20a%CC%80%2011.31.29.png?alt=media" alt=""><figcaption></figcaption></figure>

Uniquement pour l’événement page\_view, associez la variable env\_template correspondant au type de page au type de page de l’événement page\_view (ex. : productpage ⇒ product).

## Étape 4 : options avancées

<figure><img src="https://3282103337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-d3162be556fbad7d9720d833afcf4d9bdcadf3bb%2FCapture%20d%E2%80%99e%CC%81cran%202023-05-11%20a%CC%80%2015.23.17.png?alt=media" alt=""><figcaption></figcaption></figure>

### Conversion de l’événement purchase vers l’univers de conversion Data Activation

Si vous cochez la case, les événements purchase seront stockés dans le stockage des conversions Data Activation.

### Mapping des éléments

Si vous cochez la case, vous pouvez définir le mapping entre les variables produit et les propriétés des éléments de l’événement.

<figure><img src="https://3282103337-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mk6XpTQ2LaRLcr2tA-d%2Fuploads%2Fgit-blob-0aa7111755be77adf11d3d6b1f27206ee51745f1%2FCapture%20d%E2%80%99e%CC%81cran%202023-04-20%20a%CC%80%2016.22.41.png?alt=media" alt=""><figcaption></figcaption></figure>

Commencez par sélectionner la variable correspondant à la liste de produits. Associez ensuite la variable produit à la propriété de l’élément dans l’événement.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.commandersact.com/fr/fonctionnalites/destinations/destinations-catalog/data-activation-legacy.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
