Google Tag Manager is a tag management system that lets you configure and deploy marketing tags, analytics pixels, and conversion tracking on your website without editing code. Manage tags, triggers, variables, and publish container versions via the GTM API.
Domain knowledge for Google Tag Manager — workflow patterns, data models, and gotchas for your AI agent.
Manage marketing and analytics tags without editing site code: create, read, update, and delete tags, triggers, and variables; review version history and roll back; stage work in workspaces; publish container versions.
Account → Container → Workspace → Tags / Triggers / Variables. Discover accounts, then containers, then the default workspace.
0 for the exact currently published definition.signup) → create a Google Ads Conversion tag linked to that trigger → publish.awct (Google Ads Conversion), ua (Universal Analytics), gaawc (GA4 Config), gaawe (GA4 Event), html (Custom HTML), img (Custom Image).customEvent, pageview, domReady, click, linkClick, formSubmission, historyChange, timer, scrollDepth, elementVisibility.{"type": "template", "key": "keyName", "value": "theValue"}.0 refers to the live published container.Create a tag in a GTM workspace. Tags fire when their linked triggers evaluate to true. Common use: create a Google Ads Conversion tag (type='awct') l...
Create a trigger in a GTM workspace. Triggers define when tags fire. For conversion tracking, create a 'customEvent' trigger matching a specific dataL...
Create a user-defined variable in a GTM workspace. Variables hold data that tags and triggers reference. Most common: Data Layer Variable (type='v') w...
Create a new workspace for isolating changes (like a branch). Work in the new workspace, then publish when ready. Free GTM accounts are limited to 3 w...
Delete a tag from a GTM workspace. This is a workspace change — publish to make it live. Cannot be undone after publishing.
Delete a trigger from a GTM workspace. Will fail if any tags still reference this trigger. Remove tag links first.
Enable built-in variables like Page URL, Click URL, Form ID, etc. These are pre-defined by GTM and just need to be enabled to use in triggers and tags...
Get full details of a GTM tag including all parameters, firing triggers, consent settings, and schedule. Use this to inspect what a tag actually does ...
Get full details of a GTM trigger including event filters, conditions, and type-specific settings.
Get full details of a container version — all tags, triggers, and variables at that point in time. Use version_id='0' for the latest published version...
List all Google Tag Manager accounts. Returns account IDs and names needed for all other GTM operations.
List all containers in a GTM account. Returns container IDs, names, public IDs (GTM-XXXXXX), and domain names.
List all tags in a GTM workspace. Returns tag names, types, firing triggers, and paused status. Common types: awct (Google Ads Conversion), gaawe (GA4...
List all triggers in a GTM workspace. Returns trigger names, types, and IDs. Common types: customEvent, pageview, domReady, click, formSubmission, his...
List all user-defined variables in a GTM workspace. Variables hold data that tags and triggers reference (e.g., dataLayer variables, JavaScript variab...
List all container version headers. Shows version IDs, names, descriptions, and who published them. Use to audit history or find a version ID for roll...
List workspaces in a GTM container. Workspaces are draft environments where changes are staged before publishing. The default workspace is usually ID ...
Create a new container version from the workspace's current state and publish it live. This makes all staged changes (tags, triggers, variables) activ...
Revert all uncommitted changes to a tag in a workspace back to the last published state.
Revert all uncommitted changes to a trigger in a workspace back to the last published state.
Rollback: re-publish a previous container version, making it the live version. Use gtm_list_versions to find the version ID to roll back to.
Update a GTM tag — rename, change parameters, link/unlink triggers, or pause/unpause. First use gtm_get_tag to see current state. Only provided fields...
Update a GTM trigger — rename, change event name, or modify filters. Changes are staged — use gtm_publish to push live.
Google Tag Manager is a tag management system that lets you configure and deploy marketing tags, analytics pixels, and conversion tracking on your website without editing code. Manage tags, triggers, variables, and publish container versions via the GTM API. It provides 23 tools that AI agents can use through the Model Context Protocol (MCP).
Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/google-tag-manager. Authentication is handled automatically.
Google Tag Manager provides 23 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.
Google Tag Manager uses One-click sign in. Google Tag Manager requires credentials. Connect via MCPBundles and authentication is handled automatically.
Connect Google Tag Manager to any MCP client in minutes
Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.
Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.
Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.
More marketing integrations you might like
ActiveCampaign is an email marketing, marketing automation, and customer experience automation platf...
The AdAdvisor MCP Server offers tools for managing advertising campaigns, including keyword manageme...
This server provides tools to manage advertising campaigns across major platforms such as Google, Me...
Agent Analytics provides insights and performance metrics for AI agents, enabling users to analyze t...
Ahrefs MCP server for SEO and site audit tooling.
Apify is a web scraping and automation platform that enables developers and businesses to extract da...