Google Tag Manager Integration

GTM MCP Server — Google Tag Manager Automation with Claude AI

Google Tag Manager is powerful but complex. Metrifyr gives Claude AI direct access to your GTM containers so you can create tags, set up triggers, define variables, and audit your tracking setup using plain English. With 24 dedicated GTM tools, you can manage your entire tag infrastructure conversationally. Ask Claude to “create a GA4 event tag for form submissions” or “list all tags firing on page load” and watch it happen. No more navigating the GTM UI for routine tasks.

What you can do with GTM + Claude AI

Create, update, and delete tags using natural language — no need to navigate the GTM interface

Set up triggers for page views, clicks, form submissions, scroll depth, and custom events conversationally

Define variables for data layer values, DOM elements, cookies, and JavaScript expressions

Audit your GTM container to find unused tags, misconfigured triggers, and duplicate tracking

Manage container versions, workspaces, and publishing workflows programmatically

Generate a complete inventory of all tags, triggers, and variables across your containers

How it works

1

Sign up & connect Google

Create a free Metrifyr account and authorize access to your GTM containers via OAuth.

2

Add the MCP server

Configure Metrifyr in Claude Desktop, Claude Code, Cursor, or any MCP-compatible client with one line of config.

3

Manage tags with AI

Ask Claude to create tags, set up triggers, or audit your container. Changes are made via the GTM API in real time.

Ready to automate your GTM workflow?

Set up Metrifyr in under 2 minutes. Free to use, no credit card required.

GTM MCP Server — Google Tag Manager Automation with Claude AI | Metrifyr