# gtm-tracking-plan

Generates Google Tag Manager container specs and copy-ready dataLayer.push() snippets directly from a website URL.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · ★ 111
- Author: Cogny AI
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/cognyai/claude-code-marketing-skills/tree/HEAD/skills/gtm-tracking-plan/SKILL.md
- Updated: 2026-10-12
- HTML: https://affpapa.org/en/nevibecode/skills/gtm-tracking-plan

## What it does

The skill transforms measurement requirements into a concrete Google Tag Manager build specification. Passing a website URL allows the agent to inspect pages via `WebFetch`, determine the conversion funnel, and produce structured tables for variables, triggers, and tags. It also natively consumes event structures generated previously by `/ga4-measurement-plan`.

Account access is optional. When run without connected platforms, the skill inserts clean placeholders such as `G-XXXXXXX`. Once connected via the Cogny MCP server, it inspects live workspaces to diff the plan against current setups, flagging tags to create, adjust, or retire.

Without connecting external ad accounts, marketing pixel identifiers must be entered manually.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill gtm-tracking-plan -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/gtm-tracking-plan/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/gtm-tracking-plan/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill gtm-tracking-plan -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/gtm-tracking-plan/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill gtm-tracking-plan -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/gtm-tracking-plan/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install cognyai/claude-code-marketing-skills gtm-tracking-plan
```

2. **Manually: put the files in place**
- File: `.github/skills/gtm-tracking-plan/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill gtm-tracking-plan -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/cognyai/claude-code-marketing-skills --path skills/gtm-tracking-plan
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/gtm-tracking-plan/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill gtm-tracking-plan -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/cognyai/claude-code-marketing-skills/tree/HEAD/skills/gtm-tracking-plan/SKILL.md

## When to use it
- generate GTM tag, trigger, and variable build specifications
- produce structured `dataLayer.push()` code for engineers
- audit live GTM container setups against a tracking taxonomy
- organize conversion tags across supported ad platforms

## Example prompts
- /gtm-tracking-plan example.com
- Build a GTM tracking spec for example.com
- Audit the live GTM container against our measurement plan for example.com

## Similar
- [seo-audit](https://affpapa.org/en/nevibecode/skills/coreyhaines31-seo-audit.md) — skill · 238500 installs
- [programmatic-seo](https://affpapa.org/en/nevibecode/skills/coreyhaines31-programmatic-seo.md) — skill · 150800 installs
- [copy-editing](https://affpapa.org/en/nevibecode/skills/coreyhaines31-copy-editing.md) — skill · 149800 installs
- [marketing-ideas](https://affpapa.org/en/nevibecode/skills/coreyhaines31-marketing-ideas.md) — skill · 147400 installs
- [sales-enablement](https://affpapa.org/en/nevibecode/skills/sales-enablement.md) — skill · 119400 installs
- [revops](https://affpapa.org/en/nevibecode/skills/revops.md) — skill · 114000 installs

From the same set: [cognyai/claude-code-marketing-skills](https://affpapa.org/en/nevibecode/by/cognyai/claude-code-marketing-skills.md) — 58 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
