Google Tag Manager
VKirill/claude-lane-stack
[RU: gtm, тег менеджер, google tag manager, контейнер, теги, триггеры, переменные, публикация версии, откат] GTM API v2 full read + write — Account/Container/Workspace hierarchy…
Google Tag Manager expertise. An agent skill from thatrebeccarae/claude-marketing.
$ npx skills add thatrebeccarae/claude-marketing --skill google-tag-manager -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install thatrebeccarae/claude-marketing 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/thatrebeccarae/claude-marketing.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/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/thatrebeccarae/claude-marketing/tree/main/skills/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/thatrebeccarae/claude-marketing/tree/main/skills/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 thatrebeccarae/claude-marketing --skill google-tag-manager -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install thatrebeccarae/claude-marketing google-tag-manager --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/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/thatrebeccarae/claude-marketing/tree/main/skills/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 thatrebeccarae/claude-marketing --skill google-tag-manager -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install thatrebeccarae/claude-marketing google-tag-manager --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/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/thatrebeccarae/claude-marketing/tree/main/skills/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/thatrebeccarae/claude-marketing.git --path skills/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 thatrebeccarae/claude-marketing --skill google-tag-manager -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install thatrebeccarae/claude-marketing 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/thatrebeccarae/claude-marketing.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/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/thatrebeccarae/claude-marketing/tree/main/skills/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 thatrebeccarae/claude-marketing 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 thatrebeccarae/claude-marketing --skill google-tag-manager -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/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/thatrebeccarae/claude-marketing/tree/main/skills/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 thatrebeccarae/claude-marketing --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 thatrebeccarae/claude-marketing google-tag-manager --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/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/thatrebeccarae/claude-marketing/tree/main/skills/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-managerGoogle Tag Manager expertise. An agent skill from thatrebeccarae/claude-marketing.
Google Tag Manager is an agent skill from thatrebeccarae/claude-marketing. Google Tag Manager expertise. Audit GTM containers, design tag and trigger architecture, debug firing issues, implement consent mode v2, and advise on server-side tagging. Use when the user asks about GTM, tag management, container audits, consent mode, server-side tagging, or tracking implementation.
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `EXAMPLES.md` and `REFERENCE.md`).
It sits in Marketing & SEO, covering Go-to-market strategy and Backend development. It works with Google Analytics. The repository describes itself as: A full marketing department for Claude Code. Skill packs for Klaviyo, Shopify, GA4, Looker Studio, paid media, and more. Audit, optimize, and report using natural language. The licence is MIT.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a8a63ec. 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.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From 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 2.6k tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 1,313 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 thatrebeccarae/claude-marketing at commit a8a63ec, republished under its MIT licence (© thatrebeccarae). 1,313 words, ~2,572 tokens.
.claude/skills/google-tag-manager/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Expert-level guidance for Google Tag Manager — auditing containers, designing tag and trigger architecture, debugging firing issues, implementing consent mode v2, and advising on server-side tagging.
git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/google-tag-manager ~/.claude/skills/Full container audit covering the six core areas: overview stats, tag inventory, trigger review, variable audit, folder organization, and naming convention assessment. Identifies unused tags, duplicate GA4 config tags, over-broad triggers on conversion tags, undefined variable paths, and consent mode gaps. Produces prioritized recommendations ranked by impact and effort.
Expert guidance on all common tag types:
gaawc) — one per domain, holds measurement ID (always via constant variable), enhanced conversions settings, and shared config. All GA4 event tags must reference this as their Configuration Tag.gaawe) — fires individual events with parameters sourced from data layer variables. References the gaawc config tag.Matching triggers to tags with correct scoping is the single biggest factor in data quality. See REFERENCE.md for the full trigger type taxonomy. Key principles:
Data Layer Variables (v2) are the correct pattern for capturing tracking values. Key strategy:
ecommerce.value, ecommerce.transaction_id)Four consent parameters control how Google tags behave when users deny consent:
analytics_storage — GA4, Google Analyticsad_storage — Google Ads cookie storagead_user_data — sending user data to Google Ads for matchingad_personalization — remarketing and personalization featuresAdvanced mode (recommended for DTC): Tags fire cookieless on deny, enabling Google's conversion modeling. Requires wait_for_update so the CMP has time to resolve user choice before tags fire.
Implementation sequence is order-sensitive — default consent must fire before any measurement tags load. See REFERENCE.md Consent Mode v2 section for full implementation details.
Server-side GTM moves tag processing from the browser to a server container (GCP or alternative), improving data quality, blocking ad blocker impact, and enabling server enrichment. Key decision factors: ad blocker loss rate, privacy requirements, Meta CAPI needs, budget for hosting (~$30-50/mo on GCP), and technical capacity for setup.
The server container has no automatic access to browser consent state — consent must be explicitly passed from the browser in the request to the sGTM endpoint.
window.dataLayer inspection, filter by event namegcs parameter for consent stateWhen asked to audit a GTM container:
Conversion Tracking Verification — Confirm GA4 config tag exists, measurement ID stored in a constant variable (not hardcoded), enhanced conversions enabled, Google Ads conversion tags present and correctly configured.
Tag Inventory — List all tags: name, type, status (paused/enabled), firing trigger, tag firing options (unlimited/once per page/once per event). Flag unused, paused, or duplicate tags.
Trigger Review — List all triggers with conditions. Flag any conversion or remarketing tag attached to an All Pages trigger. Check trigger conditions for URL specificity on conversion triggers.
Variable Audit — Confirm recommended built-in variables are enabled (Page URL, Page Path, Click Classes, Click ID, Form ID). Check all user-defined variables — are any returning undefined? Verify data layer variable paths match actual dataLayer push structure.
Organization Check — Is there a folder structure? Are workspaces named descriptively or all in "Default Workspace"? Review publish history — how many versions, how often, are descriptions informative?
Naming Convention Assessment — Do tag/trigger/variable names follow a consistent framework? Can a new team member understand the container? Flag inconsistency as a maintenance risk.
Consent Mode Check — Does a consent default tag exist firing on Consent Initialization? Is it configured with all four parameters? Does a CMP template exist? Is TCF v2.3 compatible? Verify in Preview mode Consent tab.
Prioritized Recommendations — Compile all findings. Rank by impact (revenue/data quality/compliance risk) and effort (Low/Medium/High). Lead with quick wins.
Non-negotiable constraints in every recommendation:
dataLayer.push({ ecommerce: null }) before each push prevents data from a prior event contaminating the next.google-analytics skill — For GA4 data analysis after GTM implementation. GTM configures the tags; the google-analytics skill covers metrics, dimensions, reports, and attribution analysis on the data those tags collect.gtm-implementer agent — For writing GTM changes via the GTM API. Handles workspace preflight, rate-limited variable/trigger/tag creation, and payload construction. The google-tag-manager skill is the analysis layer; the gtm-implementer agent is the execution layer. When a user asks to implement GTM changes (not just audit or advise), point them to the agent.Ask questions like:
For complete tag type reference, trigger taxonomy, variable types, consent mode v2 parameters, sGTM architecture details, naming conventions, and anti-patterns, see REFERENCE.md.
For worked examples of container audits, consent mode setup, tag firing debug, and sGTM advisory, see EXAMPLES.md.
© thatrebeccarae, 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 3 other files in skills/google-tag-manager of thatrebeccarae/claude-marketing.
Open the folder on GitHubat commit a8a63ec
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 skillthatrebeccarae/claude-marketing | 161 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Google Tag ManagerVKirill/claude-lane-stack | 122 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Tracking Discoverjtrackingai/analytics-tracking-automation | 142 | — | ~614 | Automated safety check: Pass | Apache-2.0 | |
| Gtm Auditcognyai/claude-code-marketing-skills | 104 | — | ~1.6k | Automated safety check: Pass | None | |
| Tracking Live Gtmjtrackingai/analytics-tracking-automation | 142 | — | ~721 | Automated safety check: Pass | Apache-2.0 | |
| Gtm Setupcognyai/claude-code-marketing-skills | 104 | — | ~4.8k | Automated safety check: Notes | None |
VKirill/claude-lane-stack
[RU: gtm, тег менеджер, google tag manager, контейнер, теги, триггеры, переменные, публикация версии, откат] GTM API v2 full read + write — Account/Container/Workspace hierarchy…
jtrackingai/analytics-tracking-automation
A skill your agent uses when the user wants crawl coverage, platform detection, dataLayer discovery, or a fresh artifact directory before grouping and schema work.
cognyai/claude-code-marketing-skills
Google Tag Manager container audit — tag health, orphaned and paused tags, duplicate GA4 config, trigger coverage, Consent Mode, naming, workspace hygiene
jtrackingai/analytics-tracking-automation
A skill your agent uses when the user wants to inspect the real live GTM runtime before schema generation or compare multiple live GTM containers.
cognyai/claude-code-marketing-skills
GTM Event Tracking & Setup Reference — dataLayer fundamentals, trigger types, variable types, GA4 tag configuration, debug mode, and best practices
jtrackingai/analytics-tracking-automation
A skill your agent uses when the user wants schema preparation, event design, selector validation, schema review, or event-spec generation.
thatrebeccarae/claude-marketing
Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements.
thatrebeccarae/claude-marketing
Comprehensive content marketing toolkit with brand voice analysis, SEO optimization scripts, content frameworks, social media strategy, and content calendar planning.
thatrebeccarae/claude-marketing
Klaviyo marketing operations and analyst expertise. An agent skill from thatrebeccarae/claude-marketing.
thatrebeccarae/claude-marketing
Klaviyo API and developer integration expertise. An agent skill from thatrebeccarae/claude-marketing.
thatrebeccarae/claude-marketing
Looker Studio (formerly Google Data Studio) expertise. An agent skill from thatrebeccarae/claude-marketing.
thatrebeccarae/claude-marketing
Shopify e-commerce platform marketing expertise. An agent skill from thatrebeccarae/claude-marketing.
Works with
Categories
Google Tag Manager expertise. An agent skill from thatrebeccarae/claude-marketing. Google Tag Manager is an agent skill from thatrebeccarae/claude-marketing. Google Tag Manager expertise.
Google Tag Manager fits situations like: debug firing issues; implement consent mode v2; advise on server-side tagging; the user asks about GTM.
Run `npx skills add thatrebeccarae/claude-marketing --skill google-tag-manager -a claude-code`. Or copy the skill folder (skills/google-tag-manager in thatrebeccarae/claude-marketing) into .claude/skills/google-tag-manager in your project. Claude Code loads it when a task matches its description.
Run `npx skills add thatrebeccarae/claude-marketing --skill google-tag-manager -a codex`. Or copy the skill folder (skills/google-tag-manager in thatrebeccarae/claude-marketing) 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 thatrebeccarae/claude-marketing --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.
Going by SKILL.md and its folder, Google Tag Manager needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. 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 (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Google Tag Manager: Google Tag Manager (VKirill/claude-lane-stack, 122 stars), Tracking Discover (jtrackingai/analytics-tracking-automation, 142 stars), Gtm Audit (cognyai/claude-code-marketing-skills, 104 stars) and Tracking Live Gtm (jtrackingai/analytics-tracking-automation, 142 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
thatrebeccarae (a GitHub user) maintains it in thatrebeccarae/claude-marketing, which has 161 GitHub stars. The repository holds 55 skills in this directory. The repository was last updated on May 14, 2026.
Source: thatrebeccarae/claude-marketing on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.