> For the complete documentation index, see [llms.txt](https://docs.shopone.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shopone.io/theo-doi-va-do-luong-landing-page/ma-theo-doi-va-chuyen-doi/huong-dan-cai-dat-google-analytics-tren-landing-page.md).

# 2.3. Hướng dẫn cài đặt Google Analytics trên Landing Page

Cài đặt Google Analytics (GA) trên Landing Page sẽ giúp bạn thống kê và đo lường được các chỉ số cần thiết như lượng người truy cập, nguồn truy cập, số lượng chuyển đổi, hành vi người dùng trên trang.\
Trước tiên bạn cần có tài khoản Google Analytics, cách khởi tạo vui lòng xem hướng dẫn của Google [tại đây.](https://support.google.com/analytics/answer/9304153?hl=vi#zippy=%2Cweb) Sau đó chúng ta sẽ bắt đầu gắn mã trên Landing Page.

#### Bước 1: Lấy mã ID theo dõi toàn trang landing page.

Lấy mã ID theo dõi trong phần **Quản trị -> Luồng dữ liệu.**

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

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

Chọn **Luồng dữ liệu** có sẵn và sao chép **Mã đo lường**.

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

<figure><img src="/files/03lWLWeH3HofnMkaSixM" alt=""><figcaption></figcaption></figure>

#### Bước 2: Gán mã ID vào trang landing page.

Để gắn đoạn mã trên vào landing page, thực hiện: 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)** -> Dán mã ID vào mục **Google Analytic ID** và lưu lại.

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


---

# 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.shopone.io/theo-doi-va-do-luong-landing-page/ma-theo-doi-va-chuyen-doi/huong-dan-cai-dat-google-analytics-tren-landing-page.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.
