Gtm Tracking Plan
Turn a measurement plan into a Google Tag Manager spec — tags, triggers, variables, and copy-paste dataLayer snippets for every event
Install
npx skills add cognyai/claude-code-marketing-skills --skill gtm-tracking-plangit clone --depth 1 https://github.com/cognyai/claude-code-marketing-skills.git /tmp/claude-code-marketing-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-code-marketing-skills/skills/gtm-tracking-plan ~/.claude/skills/gtm-tracking-planPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# GTM Tracking Plan Give it a site URL and get back a complete Google Tag Manager build spec — every tag, trigger, and variable to create, plus the exact `dataLayer.push()` snippets a developer drops into the site. It's the implementation half of a measurement plan. No account connection required. Best run after `/ga4-measurement-plan` — pass the same URL and this skill builds the GTM container to deliver that plan. Run alone, it derives a sensible plan first. ## Works with Works with zero accounts (placeholders for every ID). When connected, the spec is filled with real IDs and diffed against the live container: | Job | Without accounts | Enhanced when connected | |-----|------------------|-------------------------| | Existing container | — | GTM `tool_list_tags`, `tool_list_triggers`, `tool_list_variables` | | GA4 Measurement ID | `G-XXXXXXX` | GA4 `tool_list_data_streams` | | Ad-platform tags to include | ask the user | one row per connected ad platform (Step 4b) | | Build it | hand to a GTM builder | `/gtm-setup` (GTM writes, asks first) | ## Usage `/gtm-tracking-plan example.com` — full GTM build spec for the site ## Steps ### 1. Establish the events to implement If a GA4 measurement plan already exists in the conversation, use its event taxonomy. Otherwise, `WebFetch` the site, infer the site type and funnel, and derive the event list yourself (the same logic as `/ga4-measurement-plan`, in brief).
Details
- Skill name
gtm-tracking-plan- Repository
- cognyai/claude-code-marketing-skills
- Path
skills/gtm-tracking-plan/SKILL.md- Repo updated
- 12 October 2026
FAQ
What does the Gtm Tracking Plan skill do?
Turn a measurement plan into a Google Tag Manager spec — tags, triggers, variables, and copy-paste dataLayer snippets for every event
How do I install the Gtm Tracking Plan skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add cognyai/claude-code-marketing-skills --skill gtm-tracking-plan. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Gtm Tracking Plan popular?
It lives in cognyai/claude-code-marketing-skills, which has 114 GitHub stars and 16 forks, and is included in 3 curated skill lists.
Related skills
Ad Copy Writer
114cognyai/claude-code-marketing-skills
Generate ad copy variations for Google, Microsoft, Meta, LinkedIn, TikTok, Reddit, Snapchat and X Ads (plus Apple Search Ads guidance)
Ad Kill Rules
114cognyai/claude-code-marketing-skills
Enforce a pre-declared evidence bar on every ad — after it spends enough, pause it if it misses (e.g. CTR < 1% or cost per lead over cap) across Meta, TikTok, LinkedIn, Google and Bing — as a dry-run report, an approved pause, or a scheduled pause-only Cogny script
Brand Kit
114cognyai/claude-code-marketing-skills
Build a portable brand-kit.json for the user's product — colors, typography, voice — that other skills (video, ad creative, landing page) can consume. Multiple discovery paths so it works whether the user has access to their site's source code or only a public URL or just a logo image.
Icns Maker
260cafe3310/public-agent-skills
将 PNG 图标转换为符合 macOS Big Sur+ 视觉与留白规范的标准 .icns 应用图标,支持单图转换与目录批量处理
Gtm Monitor
114cognyai/claude-code-marketing-skills
Weekly GTM container check — new, edited and removed tags, unpublished draft changes, orphaned tags, workspace status — diffed week-over-week
Im Wiki Extractor
260cafe3310/public-agent-skills
将超长群聊日志转化为结构化知识图谱。采用滑动窗口增量提取,规避上下文限制,并确保实体与关系的沉淀与溯源
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.