> 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/uk/faq/questions/gtm.md).

# ...Підключити лічильники аналітики та налаштувати конверсії через GTM

### Створення GTM

Відкрийте цей сайт: <https://tagmanager.google.com/>

Натисніть кнопку «Створити обліковий запис»

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

Заповніть ці поля:

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

Натисніть кнопку «Створити» нижче

Погодьтеся з умовами надання послуг

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

Скопіюйте коди та вставте їх у відповідні міні-лендинги:

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

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

Збережіть міні-лендинг і поверніться до GTM

Перейдіть на вкладку «Адміністратор» і натисніть «Імпортувати контейнер»

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

Завантажте готовий контейнер [тут](https://drive.google.com/drive/folders/1hkN_6lpcHos6kJ30PXXQJqTsZjR8VBph?usp=sharing)

Завантажте його на сайт і виберіть наявний робочий простір

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

Виберіть робочий простір

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

Натисніть кнопку «Підтвердити»

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

### Налаштування контейнера

Відкрийте розділ змінних і відредагуйте значення змінних.

Приклад заповнення змінних:

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

Відкрийте змінну та введіть її значення

![](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/uk/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.
