> For the complete documentation index, see [llms.txt](https://docs.mavibot.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mavibot.ai/doc/fr/faq/questions/gtm.md).

# ...Connecter les compteurs d’analyse et configurer les conversions via GTM

### Création du GTM

Ouvrez ce site : <https://tagmanager.google.com/>

Appuyez sur le bouton « Créer un compte »

![](https://lh5.googleusercontent.com/m5pBjuLcJv22GQEXVj8SXdIHDJh7Q18w11FCMu93hxKJJYfVJG09rKIEd4ADyAF7GQoDcCmAx1SU16xeoCIKBUGdbf1uHmixGK_41Ye80Qm4OZcDmQTxRvmjJYzXzx62UvuyAUtbtw1MhkZ8Gg)

Remplissez ces champs :

![](https://lh5.googleusercontent.com/lS4iCjXeddJdy12u0QSXrkorb1FrvgS4UV2CuCRBqTF3NWlik6IfcHRg2zd6jhu1gX6H6IfUGIL32aRw0Jdo9oJg_X53kRj79U40nWgC2aVzgn7OuL7oMmYe-HuPT_0AxbXW7Lmx5_KQvydbfA)

Appuyez sur le bouton Créer ci-dessous

Acceptez les conditions d’utilisation

![](https://lh6.googleusercontent.com/pq69-sBUi-IpVNKHqREy810Qu89xr0uupOtDS1j-wRup_srmoAQajMDg_D15gmW_NXrcoOsqwebY0dAKh8Nh9Ww4dgkW1zpMgrbB_UUOz_32A7PGifLdTQ61D1J4CUcjDf5jbaucrIBlsyiCVw)

Copiez les codes et collez-les dans les mini-pages correspondantes :

![](https://lh4.googleusercontent.com/iZW2Qy1iB7ycakK1X7thf5U4M7lFmJjYa1tTO3UCMpLv47pe-HDeW2zM3CTQG5Tf1M-0YZj4Ifl3xiAMoFSQABkel4lB3oDBOjklXAPyEbf3W3QZg9a4LMPsZrEN6Ch1GXMrdu_oh5WrwyVNIA)

![](https://lh3.googleusercontent.com/IKcuvs3qfjZ5GZtKMM9ZH6gMQgnYH1F4DMMQ616qvazHRticFiARUbjqBwQJ6ENTso8e5jzUCIo-OwAohp1LaCnq-BvojVqo47U8nDoU6rBTaXyjqpbu8EAlE-KzRBvsBJzK62RxuJ-YNccVxA)

Enregistrez la mini-page et revenez à GTM

Allez dans l’onglet admin et cliquez sur Importer le conteneur

![](https://lh5.googleusercontent.com/eBRhzgkOI3lEil3YLqIJb560wV_TXUpWpMKp_n4hugnkP1YF4ywhSXso7PVBnmgEnodVD28MfYHnJG3-eOLGEit7ynkBLSzL1AkWCiJmncfmuW1318uXA7ZQS8Gjlog7gWSos0QOxiq4aShRIg)

Téléchargez le conteneur prêt à l’emploi [ici](https://drive.google.com/drive/folders/1hkN_6lpcHos6kJ30PXXQJqTsZjR8VBph?usp=sharing)

Chargez-le sur le site et choisissez un espace de travail existant

![](https://lh3.googleusercontent.com/FPqo_UAGaX-bpsyx9S59GPNYtg_tW0mEbeZV2ODcdQuFH0fwalPyoUX3JHJao1164Ote1UQBp9kCgRzq1IwI-9DKdFgALI3qDzX--tesfxpibSlgK4pUVmD0UEcmBij2-L_oXa977trLc6YGxQ)

Choisissez l’espace de travail

![](https://lh3.googleusercontent.com/pgXIxcL4EzeVvzwA6U1ej0Aqhr5RxKmtuA7iIS1GGBcn7thRoy28Vbx4nPs1MNEEOx5BiXdzo_ODkHhCwhSgKSjFABDMY8s1J1gagT_ip0dZvDpRJ-V3fxzUiTu2O1ufHNWx-a14KXdpkjnANQ)

Appuyez sur le bouton Confirmer

![](https://lh5.googleusercontent.com/eVuSZ4IcRb0nDPQQex1AkE9P13NGXMtdKJ7j5KhFKwcMKZOoXPf1ygyF6Q2Z1dRDAD8qqxUY15A0li5Ob5ig4flIJuEUm2mGdBxUQew9KxzqwzYaFv-o4hNaVrJDDT79H5zsv5KndBbReJzgDg)

### Configuration du conteneur

Ouvrez la section des variables et modifiez les valeurs des variables.

Voici un exemple de remplissage des variables :

|                 |                      |
| --------------- | -------------------- |
| GA4             | G-PC7MJCCPBK         |
| Pixel\_FB       | 240369497014143      |
| Pixel\_TikTok   | BTNH5G8RQH53JI5RA600 |
| Pixel\_VK       | VK-RTRG-502975-YdQG  |
| TOP\_Mail.ru    | 3192512              |
| Yandex\_Counter | 56644959             |

Ouvrez la variable et saisissez sa valeur

![](https://lh6.googleusercontent.com/SGv88MixKoYHE98s-CQ26Z8CBjHpWfpKuwUI4jWBB0sATGwyxx0vQPhcNs42DHI7X_jfUkyxJwqn9KB4eLw4K6dLMXyZWy1YdIqPLIkRFGRknnYz96zuBY-LNGGaaAjrDEDk2ANNYR7pkrHkgA)


---

# 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 dynamically by asking a question.

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

```
GET https://docs.mavibot.ai/doc/fr/faq/questions/gtm.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
