> 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/affilae.md).

# Affilae

[Affilae ](https://affilae.com)propose des solutions complètes de marketing d’affiliation pour gérer vos stratégies de partenariat. Cette destination vous permet d’activer le [tracking server-side](https://affilae.com/en/documentations/server-to-server-tracking-s2s-2/).

## Fonctionnalités clés

La destination Affilae offre les principales fonctionnalités suivantes :

* **Structure des événements** : notre [référence des événements](https://doc.commandersact.com/developers/tracking/events-reference) correspond au [suivi des conversions Affilae](https://affilae.com/en/documentations/server-to-server-tracking-s2s-2/), ce qui garantit que vos données sont correctement associées aux champs attendus, de manière optimisée.
* **Mappages prédéfinis**: le mappage des données pour les destinations basées sur les événements s’effectue automatiquement, ce qui simplifie la saisie.
* **Mappage intelligent**: le mappage des données peut être ajusté à l’aide des champs définis dans votre datalayer.
* **Prise en charge des données multi-articles** : les informations contenues dans le [article](https://doc.commandersact.com/developers/tracking/events-reference#item) tableau sont envoyées à Affilae.

## Configuration de la destination

### Configuration

<table data-header-hidden="false" data-header-sticky><thead><tr><th width="300">Paramètres</th><th>Description</th></tr></thead><tbody><tr><td><code>Key</code></td><td><em><strong><code>Required</code></strong></em><br>Votre clé, fournie par Affilae sur la page « code de conversion » dans le tableau de bord de configuration de votre programme d’affiliation.</td></tr><tr><td><code>Click Id</code></td><td><em><strong><code>Required</code></strong></em><br>L’identifiant de clic est généré automatiquement par Affilae lorsque les utilisateurs cliquent sur des liens d’affiliation : il est défini dans l’URL de destination via le paramètre <code>aecid</code> .</td></tr><tr><td><code>Revenue Share Id</code></td><td>L’identifiant de votre client si l’option <code>Revenue Share</code> est activée. Veuillez utiliser un identifiant qui ne changera pas au fil du temps, idéalement le numéro d’identifiant utilisé dans votre base de données. Laissez ce champ vide si vous n’utilisez pas l’option <code>Revenue Share</code> .</td></tr></tbody></table>

## Référence rapide

| Événements Commanders Act | Suivi Affilae      |
| ------------------------- | ------------------ |
| `[Any Event]` **\[1]**    | `[Any Conversion]` |

{% hint style="info" %}
**\[1]** Utilisez les [**filtres de destination**](https://doc.commandersact.com/features/destinations/destination-filters) pour spécifier les événements à associer.
{% endhint %}

## Correspondances des champs

{% hint style="info" %}
Les propriétés peuvent être remappées à l’aide de notre fonctionnalité [Smart Mapping](https://doc.commandersact.com/features/destinations/advanced-mapping#smart-mapping) .
{% endhint %}

<table data-header-hidden="false" data-header-sticky><thead><tr><th>Champs Smart Mapping</th><th>Propriétés par défaut de Commanders Act</th><th>Propriétés Affilae</th></tr></thead><tbody><tr><td><code>-</code></td><td><code>Key</code></td><td><code>key</code> <strong>[*]</strong></td></tr><tr><td><code>-</code></td><td><code>Click Id</code></td><td><code>cids</code> <strong>[*]</strong></td></tr><tr><td><code>ID de transaction</code></td><td><code>id</code></td><td><code>id</code> <strong>[*]</strong></td></tr><tr><td><code>Devise</code></td><td><code>currency</code></td><td><code>currency</code> <strong>[*]</strong></td></tr><tr><td><code>Chiffre d’affaires de la transaction</code></td><td><code>revenue</code></td><td><code>amount</code></td></tr><tr><td><p><code>Payment Method</code></p><p><code>Conversion Type</code></p></td><td><p><code>payment_method</code> <strong>[1]</strong></p><p><code>type</code> <strong>[2]</strong></p></td><td><code>payment</code></td></tr><tr><td><code>-</code></td><td><code>Revenue Share Id</code></td><td><code>customer</code></td></tr><tr><td><code>Custom Variable</code></td><td><code>partners.affilae.cv</code></td><td><code>cv</code></td></tr><tr><td><code>Coupon Code</code></td><td><code>coupon</code></td><td><code>voucher</code></td></tr><tr><td><code>ID de l’article</code></td><td><code>items.X.id</code></td><td><code>product</code> <strong>[3]</strong></td></tr></tbody></table>

{% hint style="info" %}
**\*** Propriété obligatoire.\
**1.** Valeurs prises en charge : <mark style="color:bleu;">`by_bank_transfer_in_advance`</mark> et <mark style="color:bleu;">`online_payment_system`</mark> .\
**2.** Valeurs prises en charge : <mark style="color:bleu;">`online`</mark> , <mark style="color:bleu;">`offline`</mark> et <mark style="color:bleu;">`call`</mark> .\
**3.** les identifiants des produits sont séparés par des points-virgules (;).
{% endhint %}


---

# 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/affilae.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.
