Gtm Ga4
Manage GTM workspaces and consent, create versions, and run GA4 standard, realtime, and custom-dimension operations through MCP.
Install Gtm Ga4
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"gtm-ga4": {
"command": "npx",
"args": [
"-y",
"mcp-gtm-ga4"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "YOUR_VALUE_HERE",
"GTM_ACCOUNT_ID": "YOUR_VALUE_HERE",
"GTM_CONTAINER_ID": "YOUR_VALUE_HERE",
"GA4_PROPERTY_ID": "YOUR_VALUE_HERE",
"GTM_SANDBOX_WORKSPACE_ID": "YOUR_VALUE_HERE",
"MCP_SERVER_NAME": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
claude mcp add --env GOOGLE_APPLICATION_CREDENTIALS=YOUR_VALUE_HERE --env GTM_ACCOUNT_ID=YOUR_VALUE_HERE --env GTM_CONTAINER_ID=YOUR_VALUE_HERE --env GA4_PROPERTY_ID=YOUR_VALUE_HERE --env GTM_SANDBOX_WORKSPACE_ID=YOUR_VALUE_HERE --env MCP_SERVER_NAME=YOUR_VALUE_HERE --transport stdio gtm-ga4 -- npx -y mcp-gtm-ga4Run in your terminal. Add --scope project to share it with your team through .mcp.json.
We couldn’t confirm it starts correctly
We hit an unexpected error while testing this listing automatically.
npx -y mcp-gtm-ga4Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Inspect GTM tags and their firing triggers
- Audit tag consent configurations
- Create and update sandbox workspace tags
- Generate GTM container versions
- Run GA4 and realtime analytics reports
Key features
- GTM tag, trigger, and variable inspection
- JSON-based tag creation and merge updates
- Consent configuration auditing
- Sandbox workspace write protection
- GA4 standard and realtime reporting
- GA4 custom-dimension administration
Tools18
What Gtm Ga4 lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 5d ago via OSV.dev · mcp-gtm-ga4 (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Gtm Ga4 works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Gtm Ga4
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gtm-ga4)<a href="https://allmcps.com/mcp/gtm-ga4"><img src="https://allmcps.com/api/badge/gtm-ga4?style=directory" alt="Gtm Ga4 on AllMCPs" /></a>