Membuat tag situs yang terhubung untuk properti Universal Analytics. Anda dapat membuat maksimal 20 tag situs terhubung per properti. Catatan: API ini tidak dapat digunakan di properti GA4.
Permintaan HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties:createConnectedSiteTag
Properti Universal Analytics yang akan digunakan untuk membuat tag situs yang terhubung. API ini tidak mendukung properti GA4. Format: properties/{universalAnalyticsPropertyId} Contoh: properties/1234
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-01-14 UTC."],[[["Creates a connected site tag for a Universal Analytics property, with a limit of 20 tags per property."],["This API is exclusively for Universal Analytics properties and cannot be used with GA4 properties."],["The request body requires specifying the Universal Analytics property and the connected site tag details."],["Successful execution results in an empty response body."],["Requires authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["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"]]