Open Tracked/Guides/MCP server for Google tag manager

MCP server for Google tag manager

An MCP server for Tag Manager lets an assistant read your containers and prepare changes. Keep it in a workspace and publish yourself.

3 min read · Updated October 26, 2026

YYou describe the changeAAI edits a workspace via MCPYYou review and publish
In this guide
Key takeaways
  • MCP servers for Tag Manager let an assistant read containers and create tags, triggers and variables in a workspace.
  • Options include Open Tracked's MCP server and other providers' servers. Check each one's permissions and source.
  • Never let an assistant publish. Review in the workspace, test in Preview and publish yourself.

Tag Manager work is repetitive and rule-based, which is why it is one of the best uses for an AI assistant. An MCP server is the bridge: it turns Tag Manager actions into tools the assistant can call. Several providers offer one. This page explains what to expect, how to choose and how to use it safely. For the full safety workflow read AI controls for Tag Manager, and for set-up details see the Open Tracked MCP server guide.

What it can do

TaskExample
ReadList containers, workspaces, tags, triggers and variables; describe what a container does
AuditFind tags with no consent setting, duplicates and unused items
CreateAdd a set of GA4 or Meta tags with names, triggers and consent settings
EditRename items to a naming convention
Prepare server-side set-upsDraft the server container pieces for a platform
Try it

Works with your stack

Grab a logo and throw it. These are the tools Open Tracked already talks to.

Grab one. Throw it.

Options

  • Open Tracked's MCP server: open source, built to work with Claude, Cursor and other MCP apps. It can read and change Google Tag Manager and install the Open Tracked tags, and it can work with your Open Tracked containers, domains, power-ups and tracking score. See its configuration guide and the solution page.
  • Other providers' servers: some hosting vendors offer free MCP servers for Tag Manager, their own platform and GA4. Read their documentation, and check what permissions they ask for.
  • Your own: the Tag Manager API supports the same actions, and you can build a small server.

Choose carefully

01

Permissions

Does it need only the workspace edit scope, or also publish and delete? Prefer the least.

02

Source

Is the code open and maintained? Can you read what it does?

03

Data

What leaves your machine, and where does it go?

04

Account link

Does it also work with your hosting or analytics account? That can be useful, and it widens what the assistant can see.

For online stores

Orders from your store, back to the ad that earned them

Your store sends the order once. Open Tracked passes it on to each ad platform, cleaned and deduplicated.

A safe workflow

1

Back up

Export the container.

2

Work in a new workspace

Never in the default one with unreviewed changes.

3

Give a precise task

Names, triggers and consent settings.

4

Review the changes list

Read each item.

5

Preview and test

Place a test order.

6

Publish yourself

With a version note.

Example task

"In the web container 'Shop', create GA4 event tags for view_item, add_to_cart, begin_checkout and purchase, named 'GA4 - <event>', each triggered by a custom event of the same name, using the Measurement ID constant, with analytics consent required. Do not publish."

Notice the last sentence. State it every time.

0 of 6 done
Check your setup

Check your tracking in one pass

This is an example. Run the check on your own site to see where yours stands.

Frequently asked questions

Is there an MCP server for Google Tag Manager?

Yes. Several exist, including Open Tracked's open-source server and servers from other providers.

Can an assistant publish my container?

It can if you grant the scope, but you should not. Publish yourself after review.

What permission does an assistant need?

Workspace edit for building, read-only for audits.

Does Open Tracked have an MCP server?

Yes. It works with Claude, Cursor and other MCP apps, and covers Tag Manager and your Open Tracked account.

How do I undo a change?

Restore a previous version or import your backup export.

Do I need spreadsheets to read my results?

No. Once tracking is live, the Open Tracked analytics shows spend, revenue, ROAS and profit, and you can ask Ari, the built-in AI assistant, questions about your own numbers in plain words. Ari's allowance depends on your analytics plan.

Is Open Tracked different from Open Track or Open Space Track?

No. Open Tracked is the official name of our server-side tracking platform, and the website is opentracked.io. Many people search for it as Open Track, OpenTrack or Open Space Track. All of them lead to the same product: server-side Google Tag Manager hosting, first-party analytics and a CRM pipeline.

Fix your tracking at the source

Open Tracked hosts your server-side Tag Manager, keeps first-party cookies alive and shows what each ad is really worth.

Open Tracked
Written by

The Open Tracked team

We build Open Tracked: server-side tracking hosting, analytics and the tools around them, for stores that spend on ads. Questions about this guide, or an idea for the next one?

Write to us Read the docs

Was this article helpful?

Comments

Loading comments...

Turn better tracking into better marketing performance

Start free