Google Tag Manager
thatrebeccarae/claude-marketing
Google Tag Manager expertise. An agent skill from thatrebeccarae/claude-marketing.
[RU: gtm, тег менеджер, google tag manager, контейнер, теги, триггеры, переменные, публикация версии, откат] GTM API v2 full read + write — Account/Container/Workspace hierarchy…
$ npx skills add VKirill/claude-lane-stack --skill google-tag-manager -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install VKirill/claude-lane-stack google-tag-manager --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/VKirill/claude-lane-stack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/lane-stack/skills/google/google-tag-manager .claude/skills/google-tag-manager && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "google-tag-manager" agent skill from https://github.com/VKirill/claude-lane-stack/tree/main/plugins/lane-stack/skills/google/google-tag-manager into .claude/skills/google-tag-manager/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "google-tag-manager", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/VKirill/claude-lane-stack/tree/main/plugins/lane-stack/skills/google/google-tag-managerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add VKirill/claude-lane-stack --skill google-tag-manager -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install VKirill/claude-lane-stack google-tag-manager --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VKirill/claude-lane-stack.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/lane-stack/skills/google/google-tag-manager .agents/skills/google-tag-manager && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "google-tag-manager" agent skill from https://github.com/VKirill/claude-lane-stack/tree/main/plugins/lane-stack/skills/google/google-tag-manager into .agents/skills/google-tag-manager/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "google-tag-manager", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add VKirill/claude-lane-stack --skill google-tag-manager -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install VKirill/claude-lane-stack google-tag-manager --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VKirill/claude-lane-stack.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/lane-stack/skills/google/google-tag-manager .cursor/skills/google-tag-manager && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "google-tag-manager" agent skill from https://github.com/VKirill/claude-lane-stack/tree/main/plugins/lane-stack/skills/google/google-tag-manager into .cursor/skills/google-tag-manager/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "google-tag-manager", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/VKirill/claude-lane-stack.git --path plugins/lane-stack/skills/google/google-tag-manager--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add VKirill/claude-lane-stack --skill google-tag-manager -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install VKirill/claude-lane-stack google-tag-manager --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VKirill/claude-lane-stack.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/lane-stack/skills/google/google-tag-manager .gemini/skills/google-tag-manager && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "google-tag-manager" agent skill from https://github.com/VKirill/claude-lane-stack/tree/main/plugins/lane-stack/skills/google/google-tag-manager into .gemini/skills/google-tag-manager/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "google-tag-manager", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install VKirill/claude-lane-stack google-tag-managerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add VKirill/claude-lane-stack --skill google-tag-manager -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/VKirill/claude-lane-stack.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/lane-stack/skills/google/google-tag-manager .github/skills/google-tag-manager && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "google-tag-manager" agent skill from https://github.com/VKirill/claude-lane-stack/tree/main/plugins/lane-stack/skills/google/google-tag-manager into .github/skills/google-tag-manager/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "google-tag-manager", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add VKirill/claude-lane-stack --skill google-tag-manager -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install VKirill/claude-lane-stack google-tag-manager --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VKirill/claude-lane-stack.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/lane-stack/skills/google/google-tag-manager .opencode/skills/google-tag-manager && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "google-tag-manager" agent skill from https://github.com/VKirill/claude-lane-stack/tree/main/plugins/lane-stack/skills/google/google-tag-manager into .opencode/skills/google-tag-manager/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "google-tag-manager", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
google-tag-manager[RU: gtm, тег менеджер, google tag manager, контейнер, теги, триггеры, переменные, публикация версии, откат] GTM API v2 full read + write — Account/Container/Workspace hierarchy…
Google Tag Manager is an agent skill from VKirill/claude-lane-stack. [RU: gtm, тег менеджер, google tag manager, контейнер, теги, триггеры, переменные, публикация версии, откат] GTM API v2 full read + write — Account/Container/Workspace hierarchy, Tag/Trigger/Variable CRUD, version create + publish + rollback (two-step). Use when: gtm, tag manager, containers, workspaces, publish, rollback, etag concurrency, write quotas. SKIP: gtm server-side container code (→gtm-server-side if it exists, else omit); GA4 measurement protocol (→google-analytics); legacy ga.js.
Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `references/cookbook.md`, `references/errors.md` and `references/resources-hierarchy.md`).
It sits in Backend & APIs, covering Go-to-market strategy and Backend development. It works with Google Analytics. The repository describes itself as: Multi-agent AI coding factory for one person — Claude Code PM + Codex/Qwen/Grok/Kimi/AGY writers, durable conveyor, auto-merge to main. The licence is MIT.
Read from SKILL.md and the folder at commit 45fa19e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
googleapis.comtagmanager.googleapis.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Google Tag Manager loads about 3.1k tokens when it runs, and up to ~18k if it reads all its reference files. Until then it costs about 129 tokens; SKILL.md has 1,402 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from VKirill/claude-lane-stack at commit 45fa19e, republished under its MIT licence (© VKirill). 1,402 words, ~3,096 tokens.
.claude/skills/google-tag-manager/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.<!-- versions:start -->
Primary pins:
v2 (stable)144.x2.x24.x (Active LTS)3.14.xSource of truth: STACK_VERSIONS.md — verified 2026-06-11
<!-- versions:end -->
Loaded automatically when its description matches the active task. This is the single source of truth for Google Tag Manager API v2 operations: reading container state, making writes, publishing versions, and rolling back. Read the section you need, then follow the link to the relevant reference file for full detail.
create_version_from_old → publish)google-analyticsgoogle-cloud-authgoogle-analyticsyandex-metricahttpx or nodejsgtm-server-side if that skill existsGoogle Tag Manager API v2 (https://tagmanager.googleapis.com/tagmanager/v2/) is the programmatic surface for managing GTM containers. It exposes a full hierarchy — Account → Container → Workspace → Tag/Trigger/Variable/Folder — with CRUD at every level, plus a publish workflow based on immutable, numbered Versions. Every write that modifies a live container must go through the two-step path: create an immutable Version checkpoint from the Workspace, then publish that Version; direct publish-without-checkpoint is not supported.
This skill is high-stakes because publishing incorrect tags to a live GTM container can instantly break analytics collection, fire unwanted pixels, or block consent flows for every visitor of the site. Rollback is possible but requires the two-step sequence described in references/rollback.md. Write operations consume a conservative per-container quota; exceeding it silently queues or drops changes. Etag-based optimistic concurrency is mandatory on updates to prevent one agent from stomping another's edits.
GTM API uses standard Google OAuth 2.0 or a Service Account. The required scope for read-only access is https://www.googleapis.com/auth/tagmanager.readonly. For write operations (create, update, delete, publish) the scope is https://www.googleapis.com/auth/tagmanager.edit.containers. For publishing specifically the scope is https://www.googleapis.com/auth/tagmanager.publish. Service accounts must be granted access in the GTM Account/Container settings (not just IAM). Auth bootstrap is owned by google-cloud-auth.
Full reference: references/setup.md
GTM resources form a strict parent-child tree: Account (one per Google account or organization) → Container (one per site/app) → Workspace (edit sandbox; default workspace always exists) → Tag/Trigger/Variable/Folder (leaf resources within a Workspace). Versions sit alongside Workspaces at the Container level and are immutable snapshots. Permissions are granted at the Account or Container level; a user with container-level access cannot see other containers in the same account.
Full reference: references/resources-hierarchy.md
All three resource types follow the same REST pattern under a workspace path: list, get, create, update, delete. Tags reference trigger IDs in firingTriggerIds and blockingTriggerIds. Triggers evaluate conditions and fire tags. Variables resolve values (page URL, data layer values, cookie contents, etc.) that tags and triggers use. Updates require the current fingerprint (etag) in the request body to prevent concurrent-edit conflicts.
Full reference: references/tags-triggers-variables.md
A Workspace is the mutable edit surface inside a Container. The Default Workspace always exists; custom workspaces enable parallel development tracks. A Workspace stays in sync with the published version via the sync endpoint; conflicts (when the live version changed since the workspace was created) are surfaced as a mergeConflict list. getStatus shows all changes not yet in the live version.
Full reference: references/workspaces.md
A Version is an immutable snapshot of a Container. The workflow to push changes live: (1) call workspaces:create_version on your workspace — this produces a numbered Version; (2) call versions/{versionId}:publish on that Version. The API does not support publishing a workspace directly. After publish, versions:live reflects the newly live state. Versions serve as the audit trail and rollback source.
Full reference: references/versions-publish.md
Rollback is a two-step process: you cannot "reset to version N" directly. Step 1: call versions/{old_version_id}:create_version_from_old — this creates a new Version that is a copy of the target old Version. Step 2: call versions/{new_version_id}:publish on the freshly created Version. The previous live Version is preserved in history. In-flight workspace edits are not affected but may conflict with the rolled-back state.
Full reference: references/rollback.md
Every mutable GTM resource carries a fingerprint field. When two agents edit the same resource concurrently, the second write will receive 409 Conflict if the fingerprint has changed. Always: (1) GET the resource to obtain the current fingerprint, (2) include that fingerprint in the UPDATE body, (3) handle 409 by re-fetching and retrying.
Full reference: references/errors.md
GTM API returns standard Google error JSON. Key codes: 401 (token expired), 403 (missing scope or not granted access on container), 409 (etag/fingerprint conflict on concurrent edit), 429 (write quota ~25 ops/min/container), 500/503 (transient). Exponential backoff with jitter is required on 429 and 5xx.
Full reference: references/errors.md
Five-to-eight concrete automation recipes: create GA4 event tag, add consent-aware trigger, bulk-rename variables, rollback to version N-1, list tags referencing a specific variable, find unused triggers, clone workspace for staging.
Full reference: references/cookbook.md
versionId before any publish to enable rollback if neededfingerprint before an update — include it in the body to prevent 409create_version first — create_version is the safety checkpoint; without it there is no version to roll back toliveVersionId before publish — store it so rollback can target the correct old versionfingerprint in the request body — omitting it risks stomping concurrent edits (409 is the best outcome; silent data loss is the worst)create_version_from_old → publish — there is no single "revert" endpointgoogle-cloud-auth — OAuth 2.0 user flow, Service Account JWT, ADC, scopes catalog, invalid_grant recovery (required before any GTM API call)google-analytics — GA4 reporting; pair with GTM for the full analytics instrumentation storygoogle-search-console — GSC search data; often used alongside GTM in the same site analytics stacknodejs — Node.js runtime patterns for googleapis library (google.tagmanager('v2'))python — Python runtime patterns for google-api-python-client (build('tagmanager', 'v2', ...))httpx — Python HTTP transport for raw REST calls with bearer tokenspostgresql — persistence for version snapshots, audit logs, rollback history| Topic | File |
|---|---|
| Auth (OAuth + Service Account), discover Account/Container IDs, curl + Node + Python init | references/setup.md |
| Account → Container → Workspace → Tag/Trigger/Variable/Folder hierarchy, permissions model | references/resources-hierarchy.md |
| Tags, Triggers, Variables CRUD — types catalog, JSON examples | references/tags-triggers-variables.md |
| Workspace lifecycle — default/custom, sync, conflict resolution, getStatus diff | references/workspaces.md |
| Version create, publish, get_live, undelete — audit trail | references/versions-publish.md |
| Rollback recipe (two-step) — risks, confirmation pattern, code walkthrough | references/rollback.md |
| Errors 401/403/409/429/500, etag conflicts, retry policy with exponential backoff | references/errors.md |
| Cookbook — 7 real automations end-to-end | references/cookbook.md |
© VKirill, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 8 other files (references) in plugins/lane-stack/skills/google/google-tag-manager of VKirill/claude-lane-stack.
Open the folder on GitHubat commit 45fa19e
Google Tag Manager next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Google Tag Manager this skillVKirill/claude-lane-stack | 122 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Google Tag Managerthatrebeccarae/claude-marketing | 161 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Backend Development Feature Developmentaiskillstore/marketplace | 433 | 7 repos | ~2.9k | Automated safety check: Pass | None | |
| Backend Designitseffi/agentic-os | 114 | — | ~474 | Automated safety check: Pass | MIT | |
| Gx Ga4 Expertcriptogus/agent-evolve-network | 288 | — | ~749 | Automated safety check: Pass | MIT | |
| Pi K8s Deployrodrigorodrigues/microservices-design-patterns | 187 | — | ~1.6k | Automated safety check: Pass | None |
thatrebeccarae/claude-marketing
Google Tag Manager expertise. An agent skill from thatrebeccarae/claude-marketing.
aiskillstore/marketplace
Orchestrate end-to-end backend feature development from requirements to deployment.
itseffi/agentic-os
Design backend architecture for implementation with API contracts, data model changes, service boundaries, security, and observability.
criptogus/agent-evolve-network
Configure GA4 properties, GTM, custom events, conversions, audiences, and BigQuery export.
rodrigorodrigues/microservices-design-patterns
Check Docker Hub for a new :latest image on a managed service and roll it out to the home Pi k8s cluster, the same way authentication-service was deployed on 2026-08-29 (SSH + kubectl rollout…
Tansuo2021/ADtoKeil
Read and reason about Altium Designer projects and schematics using structured data from .PrjPcb and .SchDoc files.
VKirill/claude-lane-stack
Lane-stack design + brand intelligence (vendored ui-ux-pro-max).
VKirill/claude-lane-stack
Owner-facing architect for a new app or service. An agent skill from VKirill/claude-lane-stack.
VKirill/claude-lane-stack
Live browser QA + Playwright-compatible replay. An agent skill from VKirill/claude-lane-stack.
VKirill/claude-lane-stack
Карта файлов копирайта в .agents/copy/: шаблоны, статусы, цепочка audience→headlines→ux.
VKirill/claude-lane-stack
Dispatch copy-lead helpers: Tavily, Codex luna/terra, grok/X, OpenCode DeepSeek, Cursor Grok 4.6 medium-fast.
VKirill/claude-lane-stack
Keep living docs/ honest after code changes. An agent skill from VKirill/claude-lane-stack.
Works with
[RU: gtm, тег менеджер, google tag manager, контейнер, теги, триггеры, переменные, публикация версии, откат] GTM API v2 full read + write — Account/Container/Workspace hierarchy…. Google Tag Manager is an agent skill from VKirill/claude-lane-stack. [RU: gtm, тег менеджер, google tag manager, контейнер, теги, триггеры, переменные, публикация версии, откат] GTM API v2 full read + write — Account/Container/Workspace hierarchy, Tag/Trigger/Variable CRUD, version create + publish + rollback (two-step).
Google Tag Manager fits situations like: etag concurrency; tasks that involve Go-to-market strategy; tasks that involve Backend development.
Run `npx skills add VKirill/claude-lane-stack --skill google-tag-manager -a claude-code`. Or copy the skill folder (plugins/lane-stack/skills/google/google-tag-manager in VKirill/claude-lane-stack) into .claude/skills/google-tag-manager in your project. Claude Code loads it when a task matches its description.
Run `npx skills add VKirill/claude-lane-stack --skill google-tag-manager -a codex`. Or copy the skill folder (plugins/lane-stack/skills/google/google-tag-manager in VKirill/claude-lane-stack) into .agents/skills/google-tag-manager in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add VKirill/claude-lane-stack --skill google-tag-manager -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/google-tag-manager, .gemini/skills/google-tag-manager, .github/skills/google-tag-manager and .opencode/skills/google-tag-manager in your project.
SKILL.md names no scripts, command-line tools or credentials: Google Tag Manager is instructions for the agent only. Our summary lists: Python 3; Node.js.
SKILL.md names 2 domains. In commands or code: googleapis.com and tagmanager.googleapis.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Google Tag Manager is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 15k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Google Tag Manager: Google Tag Manager (thatrebeccarae/claude-marketing, 161 stars), Backend Development Feature Development (aiskillstore/marketplace, 433 stars), Backend Design (itseffi/agentic-os, 114 stars) and Gx Ga4 Expert (criptogus/agent-evolve-network, 288 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
VKirill (a GitHub user) maintains it in VKirill/claude-lane-stack, which has 122 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 9, 2026.
Source: VKirill/claude-lane-stack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.