PATCH /sites/{site_id}/integrations/google_tags

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

Servers

Path parameters

Name Type Required Description
site_id String Yes

Unique identifier for a Site

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
googleTagIds[] Array Yes

List of Google Tags configured for a site, sorted by order.

googleTagIds[].order Integer No

Display order of the tag. Optional on input; always present on output. Auto-assigned for new tags and renormalized after deletion.

googleTagIds[].displayName String Yes

A human-readable label for the tag.

googleTagIds[].tagId String Yes

The Google Tag ID. Accepts G-, GT-, AW-, and DC- prefixes. Rejects UA- prefixes.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.