Google Tag Manager · Schema

Container

Represents a Google Tag Manager Container, which is a collection of tags, triggers, and variables used on a website or mobile app.

AnalyticsConversion TrackingMarketingTag ManagementTracking

Properties

Name Type Description
path string GTM Container's API relative path.
accountId string GTM Account ID.
containerId string The Container ID uniquely identifies the GTM Container.
name string Container display name.
domainName array List of domain names associated with the Container. This is used for auto-event tracking and link decoration.
publicId string Container Public ID (e.g., GTM-XXXX).
tagIds array All Tag IDs that refer to this Container.
notes string Container Notes.
usageContext array List of Usage Contexts for the Container. Valid values include web, android, ios, and server.
fingerprint string The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the container is modified.
tagManagerUrl string Auto-generated link to the tag manager UI.
taggingServerUrls array List of server-side container URLs for the Container.
View JSON Schema on GitHub

JSON Schema

google-tag-manager-v2-container-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Container",
  "type": "object",
  "description": "Represents a Google Tag Manager Container, which is a collection of tags, triggers, and variables used on a website or mobile app.",
  "properties": {
    "path": {
      "type": "string",
      "description": "GTM Container's API relative path."
    },
    "accountId": {
      "type": "string",
      "description": "GTM Account ID."
    },
    "containerId": {
      "type": "string",
      "description": "The Container ID uniquely identifies the GTM Container."
    },
    "name": {
      "type": "string",
      "description": "Container display name."
    },
    "domainName": {
      "type": "array",
      "description": "List of domain names associated with the Container. This is used for auto-event tracking and link decoration."
    },
    "publicId": {
      "type": "string",
      "description": "Container Public ID (e.g., GTM-XXXX)."
    },
    "tagIds": {
      "type": "array",
      "description": "All Tag IDs that refer to this Container."
    },
    "notes": {
      "type": "string",
      "description": "Container Notes."
    },
    "usageContext": {
      "type": "array",
      "description": "List of Usage Contexts for the Container. Valid values include web, android, ios, and server."
    },
    "fingerprint": {
      "type": "string",
      "description": "The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the container is modified."
    },
    "tagManagerUrl": {
      "type": "string",
      "description": "Auto-generated link to the tag manager UI."
    },
    "taggingServerUrls": {
      "type": "array",
      "description": "List of server-side container URLs for the Container."
    }
  }
}

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-container"
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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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