Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Manages Google Tag Manager containers, tags, triggers, variables, and versions through the GTM API v2. All operations run via a shell script that wraps authenticated API calls. Covers the full publish workflow from workspace changes to live container versions.
Scripting GTM changes through the API is faster and more repeatable than clicking through the GTM web interface, especially for environments with many containers or frequent deployments.
When to use it
- Adding a Google Ads conversion tag to a container without touching the GTM UI
- Publishing a new container version after a batch of tag changes
- Auditing all triggers and variables in a GTM workspace
- Enabling built-in variables for dataLayer event tracking
- Setting up cross-domain tracking linker tags programmatically
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Add a conversion tag with a custom event trigger, then publish it
- 1Creates a custom event trigger from a JSON definition using create-trigger
- 2Creates a Google Ads conversion tag referencing the new trigger using create-tag
- 3Creates a named container version from the current workspace using create-version
- 4Publishes the version to make it live using publish with the returned versionId
A new container version is published with the conversion tag active on the target site
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.