# Cách gắn mã theo dõi của Google Analytics qua Google Tag Manager

### Bước 1: Sau khi kết nối METU với tài khoản Google Analytics thành công theo cách tự gắn thẻ gtag --> Đăng nhập tài khoản Google Tag Mananger.

### Bước 2: Chọn Thẻ --> Mới.

![](/files/-Ly31GErbXKs58QwBB5Y)

### Bước 3: Điền tiêu đề thẻ --> Chọn icon hình cây bút.

![](/files/-Ly31I9CB-F22gRFbT3G)

### Bước 4: Chọn HTML tùy chỉnh.

![](/files/-Ly31JpCRgwcMSoZkXbZ)

### Bước 5: Nhập mã theo dõi thẻ trang web toàn cầu (gtag) --> Lưu.

![](/files/-Ly31MUbWC7oQCE8lNMx)

### Bước 6: Gửi.

![](/files/-Ly31RRgiz5NNg3Q1q4T)

### Bước 7: Xuất bản --> Tiếp tục.

![](/files/-Ly31c57ZlbgwZaQqvSB)


---

# 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://help.metu.vn/su-dung-metu/ket-noi-metu-voi-tai-khoan-google-analytics/cach-gan-ma-theo-doi-cua-google-analytics-qua-google-tag-manager.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.
