Method: properties.createConnectedSiteTag
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.
Tạo thẻ trang web đã kết nối cho tài sản Universal Analytics. Bạn có thể tạo tối đa 20 thẻ trang web đã kết nối cho mỗi tài sản. Lưu ý: Bạn không thể sử dụng API này trên các tài sản GA4.
Yêu cầu HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties:createConnectedSiteTag
Tài sản Universal Analytics để tạo thẻ trang web đã kết nối. API này không hỗ trợ các tài sản GA4. Định dạng: thuộc tính/{universalAnalyticsPropertyId} Ví dụ: thuộc tính/1234
[[["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: 2025-07-26 UTC."],[],["This document details how to create a connected site tag for a Universal Analytics property via API. The process involves a `POST` request to `https://analyticsadmin.googleapis.com/v1alpha/properties:createConnectedSiteTag` with a JSON request body. The request body includes the Universal Analytics `property` and the `connectedSiteTag`. Successful requests result in an empty response, and up to 20 site tags can be created per property. GA4 properties are unsupported. Authorization requires the `analytics.edit` scope.\n"]]