Google Tag Manager · Schema

Tag

Represents a Google Tag Manager Tag. A tag is a snippet of code that executes on a page when certain conditions (triggers) are met.

AnalyticsConversion TrackingMarketingTag ManagementTracking

Properties

Name Type Description
path string GTM Tag's API relative path.
accountId string GTM Account ID.
containerId string GTM Container ID.
workspaceId string GTM Workspace ID.
tagId string The Tag ID uniquely identifies the GTM Tag.
name string Tag display name.
type string GTM Tag Type. Common types include ua (Universal Analytics), gaawc (Google Analytics GA4 Configuration), gaawe (Google Analytics GA4 Event), awct (Google Ads Conversion Tracking), sp (Custom Script),
liveOnly boolean If set to true, this tag will only fire in the live environment (not in preview or debug mode).
notes string User notes on how to apply this tag in the container.
scheduleStartMs string The start timestamp in milliseconds to schedule a tag. The tag will only fire after this time.
scheduleEndMs string The end timestamp in milliseconds to schedule a tag. The tag will stop firing after this time.
parameter array The tag's parameters, which configure its behavior.
fingerprint string The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
firingTriggerId array Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.
blockingTriggerId array Blocking trigger IDs. If any of the listed triggers evaluates to true, the tag will not fire.
setupTag array The list of setup tags. Currently, only one setup tag is allowed per tag.
teardownTag array The list of teardown tags. Currently, only one teardown tag is allowed per tag.
parentFolderId string Parent folder ID.
tagFiringOption string Option to fire this tag.
tagManagerUrl string Auto-generated link to the tag manager UI.
paused boolean Indicates whether the tag is paused, which prevents the tag from firing.
monitoringMetadataTagNameKey string If non-empty, then the tag display name will be included in the monitoring metadata map using the key specified.
View JSON Schema on GitHub

JSON Schema

google-tag-manager-v2-tag-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Tag",
  "type": "object",
  "description": "Represents a Google Tag Manager Tag. A tag is a snippet of code that executes on a page when certain conditions (triggers) are met.",
  "properties": {
    "path": {
      "type": "string",
      "description": "GTM Tag's API relative path."
    },
    "accountId": {
      "type": "string",
      "description": "GTM Account ID."
    },
    "containerId": {
      "type": "string",
      "description": "GTM Container ID."
    },
    "workspaceId": {
      "type": "string",
      "description": "GTM Workspace ID."
    },
    "tagId": {
      "type": "string",
      "description": "The Tag ID uniquely identifies the GTM Tag."
    },
    "name": {
      "type": "string",
      "description": "Tag display name."
    },
    "type": {
      "type": "string",
      "description": "GTM Tag Type. Common types include ua (Universal Analytics), gaawc (Google Analytics GA4 Configuration), gaawe (Google Analytics GA4 Event), awct (Google Ads Conversion Tracking), sp (Custom Script), html (Custom HTML), img (Custom Image), and flc (Floodlight Counter)."
    },
    "liveOnly": {
      "type": "boolean",
      "description": "If set to true, this tag will only fire in the live environment (not in preview or debug mode)."
    },
    "notes": {
      "type": "string",
      "description": "User notes on how to apply this tag in the container."
    },
    "scheduleStartMs": {
      "type": "string",
      "description": "The start timestamp in milliseconds to schedule a tag. The tag will only fire after this time."
    },
    "scheduleEndMs": {
      "type": "string",
      "description": "The end timestamp in milliseconds to schedule a tag. The tag will stop firing after this time."
    },
    "parameter": {
      "type": "array",
      "description": "The tag's parameters, which configure its behavior."
    },
    "fingerprint": {
      "type": "string",
      "description": "The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified."
    },
    "firingTriggerId": {
      "type": "array",
      "description": "Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false."
    },
    "blockingTriggerId": {
      "type": "array",
      "description": "Blocking trigger IDs. If any of the listed triggers evaluates to true, the tag will not fire."
    },
    "setupTag": {
      "type": "array",
      "description": "The list of setup tags. Currently, only one setup tag is allowed per tag."
    },
    "teardownTag": {
      "type": "array",
      "description": "The list of teardown tags. Currently, only one teardown tag is allowed per tag."
    },
    "parentFolderId": {
      "type": "string",
      "description": "Parent folder ID."
    },
    "tagFiringOption": {
      "type": "string",
      "description": "Option to fire this tag."
    },
    "tagManagerUrl": {
      "type": "string",
      "description": "Auto-generated link to the tag manager UI."
    },
    "paused": {
      "type": "boolean",
      "description": "Indicates whether the tag is paused, which prevents the tag from firing."
    },
    "monitoringMetadataTagNameKey": {
      "type": "string",
      "description": "If non-empty, then the tag display name will be included in the monitoring metadata map using the key specified."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-tag-manager-v2-tag"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.