Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Dự án Accelerated Mobile Pages (AMP) là một nền tảng web nguồn mở giúp cải thiện hiệu suất của nội dung trên web. AMP có tính năng hỗ trợ tích hợp cho thẻ Google và Trình quản lý thẻ của Google. Hướng dẫn này mô tả cách thiết lập Google Analytics cho các trang AMP.
Cài đặt
Thẻ Google cho phép bạn cài đặt Google Analytics, Google Ads và các sản phẩm khác của Google trên trang AMP. Trình quản lý thẻ của Google sẽ thiết lập vùng chứa AMP và cho phép bạn tạo cấu hình nâng cao và triển khai thẻ của bên thứ ba từ giao diện Trình quản lý thẻ.
Chọn lựa chọn ưu tiên của bạn về nền tảng trong số các nút sau:
Khắc phục sự cố
Hãy sử dụng amptagtest.appspot.com để xác thực chế độ thiết lập gắn thẻ, hoặc bạn có thể đảm bảo theo cách thủ công rằng giá trị cid nhất quán trên các miền bằng cách thực hiện như sau:
Hãy nhớ xoá cookie hoặc sử dụng Chế độ ẩn danh.
Nếu không tìm thấy cid trong cookie của Google Analytics, bạn cũng có thể quan sát cookie này
trong thẻ Mạng của trình duyệt web. Tìm kiếm collect request và tải trọng phải chứa giá trị cid.
Sau khi chuyển từ CDN của Google sang trang web của khách hàng, cid và giá trị gclid sẽ được chuyển thông qua tính năng trang trí URL:
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-02-06 UTC."],[[["The Accelerated Mobile Pages (AMP) project is an open-source platform designed to enhance web content performance and includes built-in support for Google Analytics integration."],["This guide provides instructions on implementing Google Analytics on AMP pages through either the Google tag for standard setup or Google Tag Manager for advanced configurations and third-party tags."],["Google Tag Manager for AMP is not compatible with Google Analytics 4, necessitating manual snippet addition for GA4 integration with AMP."],["Troubleshooting tagging issues can be done using the provided validation tool or by manually verifying consistent `cid` values across domains, ensuring proper linker functionality and redirect handling."]]],["The core content outlines setting up Google Analytics on Accelerated Mobile Pages (AMP). It details using the Google tag for Analytics and other Google products, or Google Tag Manager for advanced configurations and third-party tags, noting Tag Manager's incompatibility with Google Analytics 4. Troubleshooting involves using amptagtest.appspot.com or manually checking for consistent `cid` values across domains, ensuring `cid` and `gclid` are passed via URL decoration and are the same as initial values, while being cautious with redirects.\n"]]