# 2.5. Hướng dẫn gắn mã Google Tag Manager trên Landing Page

**Google Tag Manager (GTM)** là một công cụ mạnh mẽ giúp bạn nhanh chóng và dễ dàng cập nhật các mã theo dõi và thẻ tiếp thị trên trang web mà không cần phải chỉnh sửa mã nguồn trực tiếp. Với GTM, bạn có thể quản lý các mã theo dõi khác nhau (như Google Analytics, Facebook Pixel, v.v.) tại một nơi, giúp quá trình quản lý trở nên đơn giản và hiệu quả hơn.&#x20;

Gắn mã Google Tag Manager lên trang landing page cho phép bạn theo dõi hành vi người dùng, chuyển đổi và các chỉ số quan trọng, giúp bạn triển khai các thẻ mà không cần phải chỉnh sửa mã nguồn trang web, tiết kiệm thời gian và giảm thiểu rủi ro lỗi.

{% hint style="info" %}
**Lưu ý:** Google Tag Manager là một tính năng nâng cao, không khuyến khích người dùng cơ bản sử dụng nếu chưa có kinh nghiệm với việc quản lý mã theo dõi và thẻ.
{% endhint %}

#### Bước 1: Truy cập vào tài khoản Google Tag Manager để lấy Google Tag ID. <a href="#buoc-1-truy-cap-tai-khoan-google-a-ds-lay-google-a-ds-id-va-nhan-chuyen-doi" id="buoc-1-truy-cap-tai-khoan-google-a-ds-lay-google-a-ds-id-va-nhan-chuyen-doi"></a>

#### Bước 2 Truy cập vào trang Editor (Chỉnh sửa) landing page -> Chọn icon "Cài đặt" -> Tracking Code (Mã chuyển đổi). <a href="#buoc-2-truy-cap-builder-chinh-sua-trang-landingpage-muc-thiet-lap-greater-than-ma-chuyen-doi-greater" id="buoc-2-truy-cap-builder-chinh-sua-trang-landingpage-muc-thiet-lap-greater-than-ma-chuyen-doi-greater"></a>

Dán **Google Tag ID** vào mục **Google Tag Manager ID** và lưu lại.

<figure><img src="/files/zvFgii0W1VMjAJ5PTmHe" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.shopone.io/theo-doi-va-do-luong-landing-page/ma-theo-doi-va-chuyen-doi/huong-dan-gan-ma-google-tag-manager-tren-landing-page.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
