Connect Google Tag Manager to Claude, Cursor & AI assistants
The Google Tag Manager MCP Server brings AI-powered auditing to your tag management. If you're running paid ads across Meta, Google, LinkedIn, and TikTok, your GTM container is the single most important thing keeping your measurement accurate — and also the most likely source of silent data quality problems.
Duplicate conversion tags are the most common GTM issue agencies discover. A conversion fires twice, your ROAS looks twice as good as it is, and decisions get made on bad data. With the gtm_audit tool, you can detect these in seconds instead of spending hours clicking through the container.
The gtm_manage tool lets you create workspaces and inspect configurations directly through conversation. Instead of navigating GTM's interface, ask Claude to check the configuration of a specific tag, create a workspace for upcoming changes, or compare the current container with a previous version.
Google Tag Manager shares the same Google OAuth connection as Google Ads, GA4, and Search Console — so if you're already connected on any of those, GTM is ready with no extra setup.
GTM's interface is built for developers and technical marketers. For everyone else, finding specific tags, understanding firing rules, and auditing the container for issues requires significant expertise and time.
AI changes this. Ask "Do I have any tags firing without a consent trigger?" and get a direct answer — no GTM expertise required. Ask "Which conversion tags could be duplicating my GA4 and Google Ads data?" and get a prioritized list of tags to review.
For agencies managing containers across dozens of clients, AI-powered GTM auditing is transformative. A container audit that used to take 2 hours becomes a 5-minute conversation. Onboarding a new client's container — understanding what's set up, what's broken, what's missing — goes from a day-long process to a quick review.
gtm_list_containersList all GTM accounts and containers accessible to the connected Google accountgtm_auditRun a comprehensive audit of a GTM container: tag health, duplicate conversions, unused triggers, consent compliancegtm_manageCreate workspaces, manage versions, and inspect tag configurations within a containerOnce connected, try asking Claude these questions about your Google Tag Manager data:
Duplicate conversion tags silently inflate ROAS and conversion counts. Finding them requires manually reviewing every tag and its associated triggers.
Ask Claude to audit your container for duplicate conversion tracking. Get a prioritized list of tags that may be firing the same conversion multiple times.
“Audit my GTM container for duplicate conversion tags. I want to know which conversions might be getting counted twice.”
Ensuring every tracking tag respects consent requires checking each tag's trigger configuration against your consent mode setup.
Run a consent compliance audit to identify tags that fire before consent is granted, missing consent triggers, and scripts that could collect data illegally.
“Check my GTM container for GDPR compliance. Which tags could be firing without user consent?”
Over time, GTM containers accumulate unused tags, orphaned triggers, and variables that nobody remembers creating. These slow down the container and create confusion.
Get a full inventory of unused tags and triggers with recommendations for what to archive or delete.
“Find all unused tags and triggers in my GTM container. Which ones can we safely remove?”
Auditing a new client's GTM container to understand what's tracked, what's broken, and what's missing requires deep GTM knowledge and hours of manual review.
Run a comprehensive container audit to get an instant overview of the setup — tag types, firing rules, health score, and priority issues.
“Give me a full audit of this GTM container. What's set up, what's broken, and what are the top 3 issues to fix first?”
https://www.googleapis.com/auth/tagmanager.readonlyhttps://www.googleapis.com/auth/tagmanager.edit.containersCreate a free account and connect your Google Tag Manager account via OAuth.Note: Google Tag Manager requires the Pro plan or higher.
Generate an API key from your dashboard. This key authenticates your AI assistant with Ad Superpowers.
Add the MCP server URL and your API key to Claude, Cursor, or your preferred AI tool. Follow our installation guide for step-by-step instructions.
Join agencies saving 10+ hours per week with AI-powered ad insights.