> 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/tiktok/tiktok-offiline-events.md).

# TikTok Offline Events

{% hint style="info" %}
Cette destination fait actuellement l’objet d’un examen final et sera bientôt disponible.
{% endhint %}

[TikTok](https://www.tiktok.com/) est un service d’hébergement de vidéos courtes sur une plateforme sociale.\
Cette destination utilise l’ [Events API](https://ads.tiktok.com/help/article/events-api?redirected=1) pour [transmettre les événements hors ligne](https://business-api.tiktok.com/portal/docs?id=1758428013689857).

## Fonctionnalités clés

La destination TikTok Offline Events offre les fonctionnalités clés suivantes :

* **Structure des événements** : notre [référence des événements](https://community.commandersact.com/platform-x/developers/tracking/events-reference) couvre les [événements hors ligne TikTok](https://ads.tiktok.com/marketing_api/docs?id=1758428013689857), 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.
* **Hachage automatique**: les informations sont automatiquement hachées conformément aux spécifications du partenaire.
* **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 à plusieurs éléments** : les informations incluses dans le tableau [item](https://community.commandersact.com/platform-x/developers/tracking/events-reference#item) sont transmises à TikTok.

## Configuration de la destination

### Configuration

<table><thead><tr><th width="248">Paramètres</th><th>Description</th></tr></thead><tbody><tr><td><code>Event Set Id</code></td><td><em><strong><code>Obligatoire</code></strong></em><br>La valeur de l’identifiant de votre ensemble d’événements. Pour en savoir plus, consultez ce <a href="https://ads.tiktok.com/marketing_api/docs?id=1758428013689857">LIEN</a>. Ce paramètre accepte les valeurs dynamiques <strong>[1].</strong></td></tr><tr><td><code>Mapping</code></td><td><em><strong><code>Obligatoire</code></strong></em><br>Associez les « types d’événements TikTok » à vos « événements Commanders Act » en définissant au moins un <code>TikTok Event Type</code> et un <code>Commanders Act Event Name</code> . Une entrée est obligatoire.</td></tr></tbody></table>

{% hint style="info" %}
**1.** Cette fonctionnalité vous permet de définir une propriété d’événement contenant une valeur dynamique en ajoutant deux accolades ouvrantes (`{{`) devant le nom de votre propriété et deux accolades fermantes (`}}`) à la fin (par exemple, `{{myEventPropertyPathAndName}}`).
{% endhint %}

## Référence rapide

| Événements Commanders Act | Type d’événement TikTok                                              |
| ------------------------- | -------------------------------------------------------------------- |
| `[All events]`            | `CompletePayment` , `Contact` , `Subscribe` et `SubmitForm` **\[1]** |

{% hint style="info" %}
**1.** Consultez la section [Configuration](#configuration) pour en savoir plus.
{% endhint %}

## Mappages des champs

{% hint style="info" %}
Pour en savoir plus sur le format des numéros de téléphone, consultez ce [LIEN](https://ads.tiktok.com/gateway/docs/index?identify_key=c0138ffadd90a955c1f0670a56fe348d1d40680b3c89461e09f78ed26785164b\&language=ENGLISH\&doc_id=1758428013689857#item-link-User%20context%20object%20parameters).
{% endhint %}

<table><thead><tr><th width="330.6685580062746">Propriétés Commanders Act</th><th>Propriétés TikTok</th></tr></thead><tbody><tr><td><code>Event Set Id</code></td><td><code>event_set_id</code></td></tr><tr><td><code>TikTok Event Type</code></td><td><code>event</code> <strong>[1]</strong></td></tr><tr><td><code>id</code></td><td><code>event_id</code></td></tr><tr><td><code>context.event_timestamp</code></td><td><code>timestamp</code><strong>[2]</strong></td></tr><tr><td><code>user.phone</code></td><td><code>context.user.phone_numbers.0</code> <strong>[3]</strong></td></tr><tr><td><code>user.email</code></td><td><code>context.user.emails.0</code> <strong>[3]</strong></td></tr><tr><td><code>id</code></td><td><code>properties.order_id</code></td></tr><tr><td><code>shop_id</code></td><td><code>properties.shop_id</code></td></tr><tr><td><code>items.X.id</code></td><td><code>properties.contents.X.content_id</code></td></tr><tr><td><code>items.X.product.name</code></td><td><code>properties.contents.X.content_name</code></td></tr><tr><td><code>items.X.product.price</code></td><td><code>properties.contents.X.price</code></td></tr><tr><td><code>items.X.quantity</code></td><td><code>properties.contents.X.quantity</code></td></tr><tr><td><code>items.X.type</code></td><td><code>properties.contents.X.content_type</code></td></tr><tr><td><code>items.X.product.category_1</code>><br><code>items.X.product.category_2</code>><br><code>items.X.product.category_3</code>><br><code>items.X.product.category_4</code>><br><code>items.X.product.category_5</code></td><td><code>properties.contents.X.content_category</code></td></tr><tr><td><code>currency</code></td><td><code>properties.currency</code></td></tr><tr><td><code>value</code></td><td><code>properties.value</code></td></tr><tr><td><code>type</code></td><td><code>properties.event_channel</code></td></tr></tbody></table>

{% hint style="info" %}
**1.** Consultez <mark style="color:bleu;">`Mapping`</mark> dans [Configuration](#configuration) pour plus de détails.\
**2.** Horodatage à fournir en millisecondes. Il est converti au format [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) .\
**3.** Champ automatiquement haché avec SHA256 s'il n'est pas transmis en clair.
{% 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/tiktok/tiktok-offiline-events.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.
