The request body contains data with the following structure:
JSON representation
{"property": string,"tagId": string}
Fields
property
string
The Universal Analytics property to delete connected site tags for. This API does not support GA4 properties. Format: properties/{universalAnalyticsPropertyId} Example: properties/1234
tagId
string
Tag ID to forward events to. Also known as the Measurement ID, or the "G-ID" (For example: G-12345).
Response body
If successful, the response body is an empty JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-14 UTC."],[[["This guide details how to delete a connected site tag for a Universal Analytics property using the Google Analytics Admin API."],["The request requires specifying the Universal Analytics property and the tag ID (Measurement ID or G-ID) to be deleted."],["The API only supports Universal Analytics properties and has no impact on GA4 properties."],["A successful deletion results in an empty response body."],["You'll need the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."]]],["A `POST` request to `https://analyticsadmin.googleapis.com/v1alpha/properties:deleteConnectedSiteTag` deletes a connected site tag for a Universal Analytics property. The request body, in JSON format, requires a `property` field (Universal Analytics property ID) and a `tagId` field (Measurement ID). Successful requests return an empty JSON object. This action doesn't impact GA4 properties and requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope.\n"]]