In this guide
- 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
| Task | Example |
|---|---|
| Read | List containers, workspaces, tags, triggers and variables; describe what a container does |
| Audit | Find tags with no consent setting, duplicates and unused items |
| Create | Add a set of GA4 or Meta tags with names, triggers and consent settings |
| Edit | Rename items to a naming convention |
| Prepare server-side set-ups | Draft the server container pieces for a platform |
Works with your stack
Grab a logo and throw it. These are the tools Open Tracked already talks to.

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
Permissions
Does it need only the workspace edit scope, or also publish and delete? Prefer the least.
Source
Is the code open and maintained? Can you read what it does?
Data
What leaves your machine, and where does it go?
Account link
Does it also work with your hosting or analytics account? That can be useful, and it widens what the assistant can see.
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
Back up
Export the container.
Work in a new workspace
Never in the default one with unreviewed changes.
Give a precise task
Names, triggers and consent settings.
Review the changes list
Read each item.
Preview and test
Place a test order.
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.
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.
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?
Comments
Loading comments...
