Google Tag Manager · Schema

Trigger

Represents a Google Tag Manager Trigger. A trigger defines conditions under which tags should fire, such as page views, clicks, form submissions, or custom events.

AnalyticsConversion TrackingMarketingTag ManagementTracking

Properties

Name Type Description
path string GTM Trigger's API relative path.
accountId string GTM Account ID.
containerId string GTM Container ID.
workspaceId string GTM Workspace ID.
triggerId string The Trigger ID uniquely identifies the GTM Trigger.
name string Trigger display name.
type string Defines the data layer event that causes this trigger.
customEventFilter array Used in the case of custom event, which is fired if and only if all Conditions are true.
filter array The trigger will only fire if and only if all Conditions are true.
autoEventFilter array Used in the case of auto event tracking for filtering events.
fingerprint string The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified.
parentFolderId string Parent folder ID.
tagManagerUrl string Auto-generated link to the tag manager UI.
notes string User notes on how to apply this trigger in the container.
parameter array Additional parameters for the trigger.
View JSON Schema on GitHub

JSON Schema

google-tag-manager-v2-trigger-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Trigger",
  "type": "object",
  "description": "Represents a Google Tag Manager Trigger. A trigger defines conditions under which tags should fire, such as page views, clicks, form submissions, or custom events.",
  "properties": {
    "path": {
      "type": "string",
      "description": "GTM Trigger'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."
    },
    "triggerId": {
      "type": "string",
      "description": "The Trigger ID uniquely identifies the GTM Trigger."
    },
    "name": {
      "type": "string",
      "description": "Trigger display name."
    },
    "type": {
      "type": "string",
      "description": "Defines the data layer event that causes this trigger."
    },
    "customEventFilter": {
      "type": "array",
      "description": "Used in the case of custom event, which is fired if and only if all Conditions are true."
    },
    "filter": {
      "type": "array",
      "description": "The trigger will only fire if and only if all Conditions are true."
    },
    "autoEventFilter": {
      "type": "array",
      "description": "Used in the case of auto event tracking for filtering events."
    },
    "fingerprint": {
      "type": "string",
      "description": "The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified."
    },
    "parentFolderId": {
      "type": "string",
      "description": "Parent folder ID."
    },
    "tagManagerUrl": {
      "type": "string",
      "description": "Auto-generated link to the tag manager UI."
    },
    "notes": {
      "type": "string",
      "description": "User notes on how to apply this trigger in the container."
    },
    "parameter": {
      "type": "array",
      "description": "Additional parameters for the trigger."
    }
  }
}

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-trigger"
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.