Google Tag Manager integrationGoogle Tag Manager logo

Google Tag Manager integration for AI agents.

Google Tag Manager integration for AI agents with secure authentication and server-side credential injection. Open Connector runs the OAuth, seals the token in an encrypted vault, and serves Google Tag Manager tools to your agent over MCP or a typed API — credentials injected server-side, every call audited, nothing leaving your infrastructure. Open source (AGPL-3.0) and self-hostable.

What your agents can do

Real Google Tag Manager actions, managed and audited.

Your user connects Google Tag Manager once; your agent can then manage Google Tag Manager accounts, containers, workspaces, tags, triggers, variables, and versions — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.

  1. 1

    Your user grants Google Tag Manager access once (OAuth) — the token lands in the vault.

  2. 2

    Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.

  3. 3

    Every routed call appends a hash-chained audit record — nothing leaves your infra.

Tools & triggers

Supported Google Tag Manager tools.

56 tools are generated from the published Google Tag Manager catalog. Descriptions are plain text; each action remains subject to its configured authentication and tool allowlist.

Showing 56 tools. All published catalog entries are included in this page's server-rendered HTML.

Tagmanager Accounts Containers Combine
Combines Containers.
accounts
Tagmanager Accounts Containers Create
Creates a Container.
accounts
Tagmanager Accounts Containers Destinations Link
Adds a Destination to this Container and removes it from the Container to which it is currently linked.
accounts
Tagmanager Accounts Containers Destinations List
Lists all Destinations linked to a GTM Container.
accounts
Tagmanager Accounts Containers Environments Create
Creates a GTM Environment.
accounts
Tagmanager Accounts Containers Environments List
Lists all GTM Environments of a GTM Container.
accounts
Tagmanager Accounts Containers Environments Reauthorize
Re-generates the authorization code for a GTM Environment.
accounts
Tagmanager Accounts Containers List
Lists all Containers that belongs to a GTM Account.
accounts
Tagmanager Accounts Containers Lookup
Looks up a Container by destination ID or tag ID.
accounts
Tagmanager Accounts Containers Move Tag Id
Move Tag ID out of a Container.
accounts
Tagmanager Accounts Containers Snippet
Gets the tagging snippet for a Container.
accounts
Tagmanager Accounts Containers Version Headers Latest
Gets the latest container version header
accounts
Tagmanager Accounts Containers Version Headers List
Lists all Container Versions of a GTM Container.
accounts
Tagmanager Accounts Containers Versions Live
Gets the live (i.e. published) container version
accounts
Tagmanager Accounts Containers Versions Publish
Publishes a Container Version.
accounts
Tagmanager Accounts Containers Versions Set Latest
Sets the latest version used for synchronization of workspaces when detecting conflicts and errors.
accounts
Tagmanager Accounts Containers Versions Undelete
Undeletes a Container Version.
accounts
Tagmanager Accounts Containers Workspaces Built In Variables Create
Creates one or more GTM Built-In Variables.
accounts
Tagmanager Accounts Containers Workspaces Built In Variables List
Lists all the enabled Built-In Variables of a GTM Container.
accounts
Tagmanager Accounts Containers Workspaces Built In Variables Revert
Reverts changes to a GTM Built-In Variables in a GTM Workspace.
accounts
Tagmanager Accounts Containers Workspaces Bulk Update
Applies multiple entity changes to a workspace in one call. When creating new entities, their entity IDs must be unique and in correct format. That is, they must start with "new_" and followed by number, e.g. "new_1", "new_2". Example body snippet to create myNewTag under myNewFolder is: ``` "changes": [ { "folder": { "folderId": "new_1", "name": "myNewFolder", ... }, "changeStatus": "added" }, { "tag": { "tagId": "new_2", "name": "myNewTag", "parentFolderId": "new_1", ... }, "changeStatus": "added" } ] ```
accounts
Tagmanager Accounts Containers Workspaces Clients Create
Creates a GTM Client.
accounts
Tagmanager Accounts Containers Workspaces Clients List
Lists all GTM Clients of a GTM container workspace.
accounts
Tagmanager Accounts Containers Workspaces Create
Creates a Workspace.
accounts
Tagmanager Accounts Containers Workspaces Create Version
Creates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created version.
accounts
Tagmanager Accounts Containers Workspaces Folders Create
Creates a GTM Folder.
accounts
Tagmanager Accounts Containers Workspaces Folders Entities
List all entities in a GTM Folder.
accounts
Tagmanager Accounts Containers Workspaces Folders List
Lists all GTM Folders of a Container.
accounts
Tagmanager Accounts Containers Workspaces Folders Move Entities To Folder
Moves entities to a GTM Folder. If {folder_id} in the request path equals 0, this will instead move entities out of the folder they currently belong to.
accounts
Tagmanager Accounts Containers Workspaces GetStatus
Finds conflicting and modified entities in the workspace.
accounts
Tagmanager Accounts Containers Workspaces Gtag Config Create
Creates a Google tag config.
accounts
Tagmanager Accounts Containers Workspaces Gtag Config List
Lists all Google tag configs in a Container.
accounts
Tagmanager Accounts Containers Workspaces List
Lists all Workspaces that belong to a GTM Container.
accounts
Tagmanager Accounts Containers Workspaces Quick Preview
Quick previews a workspace by creating a fake container version from all entities in the provided workspace.
accounts
Tagmanager Accounts Containers Workspaces Resolve Conflict
Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.
accounts
Tagmanager Accounts Containers Workspaces Sync
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
accounts
Tagmanager Accounts Containers Workspaces Tags Create
Creates a GTM Tag.
accounts
Tagmanager Accounts Containers Workspaces Tags List
Lists all GTM Tags of a Container.
accounts
Tagmanager Accounts Containers Workspaces Templates Create
Creates a GTM Custom Template.
accounts
Tagmanager Accounts Containers Workspaces Templates Import From Gallery
Imports a GTM Custom Template from Gallery.
accounts
Tagmanager Accounts Containers Workspaces Templates List
Lists all GTM Templates of a GTM container workspace.
accounts
Tagmanager Accounts Containers Workspaces Transformations Create
Creates a GTM Transformation.
accounts
Tagmanager Accounts Containers Workspaces Transformations List
Lists all GTM Transformations of a GTM container workspace.
accounts
Tagmanager Accounts Containers Workspaces Transformations Revert
Reverts changes to a GTM Transformation in a GTM Workspace.
accounts
Tagmanager Accounts Containers Workspaces Triggers Create
Creates a GTM Trigger.
accounts
Tagmanager Accounts Containers Workspaces Triggers List
Lists all GTM Triggers of a Container.
accounts
Tagmanager Accounts Containers Workspaces Variables Create
Creates a GTM Variable.
accounts
Tagmanager Accounts Containers Workspaces Variables List
Lists all GTM Variables of a Container.
accounts
Tagmanager Accounts Containers Workspaces Zones Create
Creates a GTM Zone.
accounts
Tagmanager Accounts Containers Workspaces Zones List
Lists all GTM Zones of a GTM container workspace.
accounts
Tagmanager Accounts List
Lists all GTM Accounts that a user has access to.
accounts
Tagmanager Accounts User Permissions Create
Creates a user's Account & Container access.
accounts
Tagmanager Accounts User Permissions Delete
Removes a user from the account, revoking access to it and all of its containers.
accounts
Tagmanager Accounts User Permissions Get
Gets a user's Account & Container access.
accounts
Tagmanager Accounts User Permissions List
List all users that have access to the account along with Account and Container user access granted to each of them.
accounts
Tagmanager Accounts User Permissions Update
Updates a user's Account & Container access.
accounts
FAQ

Google Tag Manager integration, answered

How do AI agents use Google Tag Manager through Open Connector?
Your user connects Google Tag Manager once with one of its cataloged authentication methods. Open Connector stores the credential in an encrypted vault and exposes Google Tag Manager tools to your agent over MCP or a typed API, with credentials injected server-side on each call.
Is this a Google Tag Manager MCP server?
Yes. Open Connector can serve Google Tag Manager as a named MCP server with a scoped allowlist and a per-user connection URL, so any MCP client can call Google Tag Manager actions with credentials injected server-side.
Where do Google Tag Manager credentials live?
In your own infrastructure. Open Connector keeps credentials in its own vault and injects them at call time, so they never leave your environment.

Give your agents Google Tag Manager — keep the keys.

Open source, self-hostable, with Google Tag Manager credentials that never leave your infrastructure. Run it from source today.