Create Folder
Create a folder for organizing workspace entities.
Let your AI agents run Google Tag Manager for you, safely.
A hosted Google Tag Manager MCP server for Claude, ChatGPT, Cursor and CLI agents. Paste one server URL into your AI client to use its 61 actions. There is nothing to install.
Enable or disable every action, per account. Block your agent from doing dangerous actions.
Ask in plain English. Pull reports, find insights and take action in Google Tag Manager.
61 read and write actions. Every Google Tag Manager task your agent needs, from reporting to making changes.
Built for teams. Invite your team and share one connected account.
61 actions available to automate your Google Tag Manager workflows.
61 actions
Create a folder for organizing workspace entities.
Create a tag in a workspace. Use type values like ua, gaawe (GA4 Event), gaawc (GA4 Config), html, gclidw, etc. Supply parameter[] entries that match the tag type's expected fields.
Create a trigger in a workspace. Trigger type values include pageview, click, formSubmission, customEvent, scrollDepth, etc.
Create a variable. Common types: c (constant), v (DataLayer), j (custom JS), gas (GA Settings), k (1st-party cookie), u (URL), aev (Auto Event), e (Event), f (HTTP Referrer).
Create a new workspace (staging area). All write operations target a workspace; nothing serves until publish_version.
Delete a folder from a workspace. The folder's child tags/triggers/variables are NOT deleted. They become unfoldered.
Delete a tag from a workspace. Destructive: once published, removes the tag from the live container.
Delete a trigger from a workspace. Destructive: also disables any tag whose firingTriggerId pointed at it.
Delete a user-defined variable from a workspace. Destructive: any tag/trigger that references it will start returning empty values once published.
Delete a workspace. Destructive: every uncommitted change in the workspace is lost. Use revert_* to clear individual entities; use delete_workspace only when you are sure the entire workspace can go.
Disable one or more built-in variables in a workspace. Destructive: anything that referenced the variable will resolve to empty after publish. Pass a list of `type` values (e.g. ['errorMessage', 'errorUrl']). They are sent as repeated query params.
Enable one or more built-in variables in the workspace by passing their type names as a comma-separated query value or repeated 'type' params.
Fetch a single GTM account by id.
List all GTM accounts the authenticated user can access.
List built-in variables enabled in the workspace.
Fetch a single server-side client.
List server-side clients in a workspace.
Fetch a single container by id.
Get the install <script> snippet for a container. Useful to verify a site has GTM installed.
List containers in a GTM account.
Fetch a single destination.
List destinations linked to a container.
Fetch a single environment.
List environments configured for a container.
Fetch a single folder.
Return tags / triggers / variables that live inside a folder.
List folders in a workspace.
Fetch a single Google Tag config.
List Google Tag (gtag.js) configurations in a workspace.
Fetch the most recent version header.
Fetch the version currently published to live.
Fetch a single tag.
List all tags in a workspace.
Fetch a single custom template.
List custom templates in a workspace.
Fetch a single transformation.
List server-side transformations in a workspace.
Fetch a single trigger.
List all triggers in a workspace.
Fetch a single variable.
List user-defined variables in a workspace.
Fetch a single container version including all entities at that point in time.
List lightweight version headers (id, name, entity counts) without full entity payloads.
Fetch a single workspace.
Show pending changes in a workspace and any merge conflicts vs the latest container version.
List workspaces (staging areas) in a container.
Fetch a single zone.
List zones in a workspace.
Look up a container by its public id (e.g. GTM-XXXXXX). Returns the container record without requiring account id.
Move tags / triggers / variables into a folder. Pass entity ids as repeated query params: tagId, triggerId, variableId.
Generate a debug-mode preview of a workspace without saving it as a version. Read-only side-effect.
Resolve a merge conflict surfaced by sync_workspace by picking which side wins for a given entity.
Discard a folder's uncommitted workspace changes.
Discard a tag's uncommitted workspace changes, reverting it to the live container state.
Discard a trigger's uncommitted workspace changes.
Discard a variable's uncommitted workspace changes.
Pull the latest container changes into a workspace, surfacing conflicts that need manual resolution.
Update a folder.
Update a tag. Pass a fingerprint to enforce optimistic concurrency.
Update a trigger.
Update a variable.
The InsightfulPipe Google Tag Manager MCP server is a hosted Model Context Protocol server that connects your GTM accounts to AI assistants such as Claude, ChatGPT, Cursor, Claude Code, Gemini CLI and Codex. You sign in with Google, choose Read-only or Read & Write access and paste one server URL into your AI client.
List every tag, trigger and variable, then find paused tags, tags without firing triggers, duplicate tracking and naming problems.
See all Google Tag Manager actionsCreate GA4 event tags, triggers and data layer variables in a new workspace, ready for you to preview and publish.
See all Google Tag Manager actionsCompare the live version with an earlier version, or check a workspace's pending changes before publishing.
See all Google Tag Manager actionsAdd the server URL to your AI client, then sign in with your InsightfulPipe account to authorize access. The server is hosted, so there is nothing to install.
https://google-tag-manager.insightfulmcp.com/Fastest: add InsightfulPipe from the Claude Directory
One click connects the full InsightfulPipe MCP with all your connected accounts. To add a server scoped to Google Tag Manager only, follow the steps below.
Or add the Google Tag Manager server manually:
https://google-tag-manager.insightfulmcp.com/
Start a new chat, click +, open Connectors and turn the connector on to use it.
The Free plan can add one custom connector. On Team and Enterprise plans, an Owner first adds it under Organization settings > Connectors, then each member clicks Connect in Customize > Connectors.
Fastest: add InsightfulPipe from the ChatGPT app directory
One click connects the full InsightfulPipe MCP with all your connected accounts. To add a server scoped to Google Tag Manager only, follow the steps below.
Or add the Google Tag Manager server manually. Custom MCP servers need ChatGPT's Developer mode, which OpenAI offers on Plus, Pro, Business, Enterprise and Education accounts on the web.
https://google-tag-manager.insightfulmcp.com/
See OpenAI's Developer mode guide.
claude mcp add --transport http google-tag-manager-mcp https://google-tag-manager.insightfulmcp.com/
/mcp, select google-tag-manager-mcp and choose Authenticate.~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):{
"mcpServers": {
"google-tag-manager-mcp": {
"url": "https://google-tag-manager.insightfulmcp.com/"
}
}
}gemini mcp add --transport http google-tag-manager-mcp https://google-tag-manager.insightfulmcp.com/
/mcp auth google-tag-manager-mcp.Using the Codex app? Add InsightfulPipe from the OpenAI app directory
The listed app connects the full InsightfulPipe MCP with all your connected accounts, in both ChatGPT and Codex.
codex mcp add google-tag-manager-mcp --url https://google-tag-manager.insightfulmcp.com/
codex mcp login google-tag-manager-mcp.One hosted server URL, any MCP-compatible client. Pick yours to see the setup steps, or paste the URL into anything that speaks MCP.
Setup guide for ChatGPT
Setup guide for Claude
Setup guide for Claude Code
Setup guide for Codex
Setup guide for Cursor
Setup guide for Gemini CLI
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Run actions from your terminal
Copy a prompt into any connected client, or install a Claude skill that chains the actions for you.
“List all tags in the Default Workspace of GTM-ABC1234 with their firing triggers”
Reads tags and triggers in a workspace
Claude skill for analytics tracking: event naming, GA4 setup, Google Tag Manager structure, UTM rules, consent and debugging a tracking plan.
“Find paused tags and tags that have no firing trigger”
Audits tag configuration
Claude skill for advertising with less tracking data: first-party data, server-side tracking, Conversions API, consent and contextual targeting.
“Which user-defined variables are not referenced by any tag or trigger?”
Cross-checks variables against tags and triggers
“In a new workspace, create a GA4 event tag for form_submit that fires on form submissions”
Creates a workspace, trigger and tag on a Read & Write connection
“What changed between the live version and the previous version?”
Compares two container versions
“Show pending changes and conflicts in the Q3 tracking workspace”
Reads workspace status
“Move all Meta Pixel tags into a folder called Meta”
Creates a folder and moves tags into it
Join hundreds of agencies and brands using InsightfulPipe to connect marketing data to AI.
Start a trial today.