Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Manage Google Tag Manager containers, tags, triggers, variables, and versions via the GTM API v2. Use when the user wants to list, create, update, delete, or...
Manage Google Tag Manager containers, tags, triggers, variables, and versions via the GTM API v2. Use when the user wants to list, create, update, delete, or...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Interact with the GTM API v2 to manage containers, workspaces, tags, triggers, variables, and versions.
The GTM API uses OAuth2 via a Google Cloud service account.
Enable Tag Manager API in Google Cloud Console Create a service account with key (JSON) Grant the service account access in GTM (Admin โ User Management โ add service account email) Set env vars: GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json GTM_ACCOUNT_ID=123456 GTM_CONTAINER_ID=789012
All operations use scripts/gtm.sh. Run without args to see usage: scripts/gtm.sh <command> [args...]
CommandDescriptionaccountsList all GTM accountscontainers [accountId]List containers in accountworkspacesList workspaces in containertags [workspaceId]List tags in workspace (default: latest)tag <tagId> [workspaceId]Get a specific tagcreate-tag <jsonFile> [workspaceId]Create a tag from JSONupdate-tag <tagId> <jsonFile> [workspaceId]Update a tagdelete-tag <tagId> [workspaceId]Delete a tagtriggers [workspaceId]List triggerstrigger <triggerId> [workspaceId]Get a specific triggercreate-trigger <jsonFile> [workspaceId]Create a trigger from JSONupdate-trigger <triggerId> <jsonFile> [workspaceId]Update a triggerdelete-trigger <triggerId> [workspaceId]Delete a triggervariables [workspaceId]List variablesvariable <variableId> [workspaceId]Get a specific variablecreate-variable <jsonFile> [workspaceId]Create a variable from JSONupdate-variable <variableId> <jsonFile> [workspaceId]Update a variabledelete-variable <variableId> [workspaceId]Delete a variablebuilt-in-vars [workspaceId]List enabled built-in variablesenable-built-in <type,...> [workspaceId]Enable built-in variable(s)versionsList container version headersversion <versionId>Get a specific versionversion-liveGet the live (published) versioncreate-version [workspaceId] [name] [notes]Create version from workspacepublish <versionId>Publish a container version
Most commands accept an optional workspaceId. If omitted, the script auto-resolves to the Default Workspace (the first workspace returned by the API โ typically "Default Workspace").
See references/recipes.md for JSON templates for: Google Ads Conversion Tracking tag GA4 Event tag Custom Event trigger (dataLayer) Cross-domain tracking linker
# 1. Create trigger scripts/gtm.sh create-trigger trigger.json # 2. Create tag referencing the trigger scripts/gtm.sh create-tag tag.json # 3. Create version from workspace scripts/gtm.sh create-version "" "v1.2 - Added conversion tag" # 4. Publish scripts/gtm.sh publish <versionId>
For full resource schemas and trigger types, see references/api-reference.md.
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.