Google Tag Manager
Google Tag Manager provides programmatic administration of accounts, containers, workspaces, tags, triggers, variables, versions, publishing, and user permissions.
Integration
- Vendor
- Google Tag Manager
- Category
- other
- Auth
- OAUTH2
- Tools
- 50
- Composio slug
google_tag_manager
Tools
- Bulk Update Workspace
Apply multiple typed entity additions, updates, or deletions to a Google Tag Manager workspace in one request without publishing the workspace. Changes can permanently delete workspace entities and cannot be safely rolled back as a single o
- Combine Containers
Warning: This method is no longer supported and will soon be removed. Irreversibly merge another container's configuration into an existing target Google Tag Manager container. This broad-impact operation mutates the target and has no safe
- Create Container
Create a Google Tag Manager container under an account.
- Create Container Version
Create a Google Tag Manager container version from a workspace and make it the synchronization base without publishing it live. On successful version creation, GTM deletes the source workspace and may return a replacement workspace as new_w
- Create Environment
Create a Google Tag Manager user environment, optionally linked to either a workspace or a container version.
- Create User Permission
Grant a user broad Google Tag Manager account and container access. This is a sensitive access-control operation that can assign account admin and container edit, approve, or publish privileges; use it only for an explicitly authorized emai
- Create Workspace
Create an isolated Google Tag Manager workspace in a container for staging configuration changes.
- Create Workspace Entity
Create one strictly typed client, folder, Google tag configuration, tag, custom template, transformation, trigger, variable, or zone in a Google Tag Manager workspace without publishing it.
- Delete Containerdestructive
Permanently delete a Google Tag Manager container and all of its configuration. This operation has no API confirmation step or undo.
- Delete Container Versiondestructive
Archive/delete a stored Google Tag Manager container version. The operation has no confirmation step and makes the version unavailable until a separate undelete action restores it.
- Delete Environmentdestructive
Permanently delete a user-created Google Tag Manager USER environment. System LIVE, LATEST, and WORKSPACE environments cannot be deleted, and this operation has no confirmation step or undo.
- Delete User Permissiondestructive
Remove the user identified by a Google Tag Manager user-permission path from the account, immediately revoking that user's access to the account and all of its containers. This destructive access revocation has no confirmation step.
- Delete Workspacedestructive
Permanently delete a Google Tag Manager workspace and all of its unpublished changes. This destructive operation has no API confirmation step or undo.
- Delete Workspace Entitydestructive
Delete one client, folder, Google tag configuration, tag, custom template, transformation, trigger, variable, or zone from a Google Tag Manager workspace. This destructive staged change can affect a later published container version; only d
- Disable Built-In Variables
Disable one or more built-in variable types in a Google Tag Manager workspace. This destructive operation removes those variables from the workspace without a confirmation step.
- Enable Built-In Variables
Enable one or more provider-defined built-in variable types in a Google Tag Manager workspace.
- Get Account
Get one GTM account by its API-relative path.
- Get Container
Get one GTM container by path, including its configuration metadata, feature flags, tag IDs, and current fingerprint.
- Get Container Snippet
Return the installation snippet for a GTM container without changing it.
- Get Container Version
Get a complete GTM container version snapshot by path, including every nested entity family returned by Google Tag Manager.
- Get Destination
Warning: This method is no longer supported and will soon be removed. Get one linked Google tag destination by its GTM API-relative path.
- Get Environment
Get one GTM environment, including its authorization metadata, linked container version or workspace, preview settings, and fingerprint.
- Get Latest Version Header
Get the latest GTM container-version header for synchronization context, including its version ID, deletion state, and entity counts.
- Get Live Container Version
Get the currently published live GTM container version, including every nested entity family returned by Google Tag Manager.
- Get User Permission
Get one user's GTM account and container access by permission path.
- Get Workspace
Get one GTM workspace by path, including its current fingerprint.
- Get Workspace Entity
Get one selected client, folder, Google tag config, tag, template, transformation, trigger, variable, or zone by its GTM API-relative path.
- Get Workspace Status
Return modified entities and merge conflicts in a GTM workspace before synchronization or version creation.
- Import Template From Gallery
Import an exact Community Template Gallery repository revision into a Google Tag Manager workspace after explicitly acknowledging its requested permissions. Omit gallery_sha only when the provider's latest revision is intended.
- Link Destination
Move a Google tag destination from its currently linked container to a target GTM container. This broad-impact, irreversible relink causes all future events from the target source container to be sent to the destination, stops the previous
- List Accounts
List GTM accounts visible to the connected user, one page at a time.
- List Built-In Variables
List enabled built-in variables in a workspace one page at a time.
- List Containers
List GTM containers under an account with paths, public IDs, fingerprints, and capability flags, one page at a time.
- List Container Version Headers
List lightweight GTM container-version headers one page at a time, optionally including deleted versions.
- List Destinations
List all destinations linked to a GTM container. The provider exposes no continuation input, so this returns one provider response.
- List Environments
List GTM environments in a container one page at a time.
- List Folder Entities
List the tags, triggers, and variables contained in one Google Tag Manager folder, one page at a time.
- List User Permissions
List users with access to a GTM account and their account- and container-level permissions one page at a time. Results include sensitive user email addresses.
- List Workspace Entities
List one selected GTM workspace entity family: clients, folders, Google tag configs, tags, templates, transformations, triggers, variables, or zones.
- List Workspaces
List GTM workspaces in a container with paths and fingerprints, one page at a time.
- Look Up Container
Find one Google Tag Manager container by exactly one tag ID or destination ID.
- Move Container Tag ID
Move a tag ID out of a GTM container into a newly created Google tag. This deprecated, irreversible container-level operation removes the ID from the source container across its workspaces and associated configuration; it is not scoped to o
- Move Entities To Folder
Move selected tags, triggers, and variables into a Google Tag Manager folder, or move them out of folders by targeting folder ID 0.
- Publish Container Version
Publish a specific Google Tag Manager container version to live traffic immediately. This is not a preview: it changes production tagging and has irreversible live impact for traffic processed before any later rollback. Verify the exact ver
- Quick Preview Workspace
Create a temporary Google Tag Manager container version from all entities in a workspace for preview without publishing it to live traffic. Compiler errors, synchronization errors, and merge conflicts are returned as failed actions rather t
- Reauthorize Environment
Reauthorize a Google Tag Manager environment and rotate its authorization metadata for preview or debug use. This is a broad-impact, irreversible operation: the existing authorization code can become invalid immediately, breaking clients th
- Resolve Workspace Conflict
Resolve one Google Tag Manager workspace merge conflict by replacing the conflicted entity with exactly one complete, typed Entity resolution. Use the entityInWorkspace fingerprint from the conflict to prevent a concurrent overwrite.
- Resolve Workspace Conflicts
Sequentially resolve 1-25 Google Tag Manager workspace merge conflicts. Each successful item mutates workspace state without publishing it, so partial success is possible. Processing stops after the first failed or unknown provider outcome,
- Revert Built-In Variable
Revert one built-in variable type in a Google Tag Manager workspace to its latest synchronized base state. This permanently discards current workspace changes to that variable and may leave it enabled or disabled, as reported in the result.
- Revert Workspace Entity
Revert a client, folder, tag, template, transformation, trigger, variable, or zone to its latest synchronized base state without publishing it. Current workspace changes to the entity are permanently discarded, and an entity absent from the
Setup
- Create or open a Switchy Project.
- Open Integrations and connect Google Tag Manager.
- Authorise through oauth2. Switchy stores the connection against your org.
- Everyone in the Project can now @-mention the Google Tag Manager tools in chat.
What teammates see: by default, memories from Google Tag Manager are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Projects have used this MCP together with a given model.