Update Google Tag

Add or update Google Tag IDs for a site. Existing tags not referenced in the request are preserved. A site may have a maximum of 25 tags total.

order is optional on input — it is auto-assigned for new tags and returned on all tags in the response.

Required scope: sites:write

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

site_idstringRequiredformat: "objectid"
Unique identifier for a Site

Request

A list of Google Tags configured for a site.
googleTagIdslist of objectsRequired
List of Google Tags configured for a site, sorted by order.

Response

Request was successful
googleTagIdslist of objects
List of Google Tags configured for a site, sorted by order.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error