# gtm-monitor

Diffs a Google Tag Manager container against last week: tags added, edited or removed, plus draft changes still sitting unpublished.

- 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-monitor/SKILL.md
- Updated: 2026-10-12
- HTML: https://affpapa.org/en/nevibecode/skills/gtm-monitor

## What it does

Once a week the skill takes a snapshot of a GTM container and compares it with the previous one. You get the tags, triggers and variables that appeared, changed or disappeared, along with orphaned tags that fire nothing and tags paused after being live the week before. Draft edits that never went out are called out too, since the live site then lags behind the container.

The diff relies on the `fingerprint` field GTM itself updates on every edit, so there is no need to hash configs by hand. Connect GA4, Plausible or Microsoft Clarity and the skill also checks whether an event stopped arriving after a tag change and whether script errors rose on the affected pages.

Everything runs through Cogny's MCP gateway: a Cogny Agent subscription at $9/mo is required, and the container is readable only through the GTM API. Without Google Tag Manager connected in Cogny the skill stops. Scheduling it weekly via `/loop` or `/schedule` fits the intended rhythm.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

2. **Manually: put the files in place**
- File: `.cursor/skills/gtm-monitor/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-monitor
```

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill gtm-monitor -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-monitor/SKILL.md

## When to use it
- see which GTM tags changed over the past week
- find tags that have no firing trigger
- check for edits left unpublished
- tell whether an event stopped arriving after a tag edit
- spot a tag paused after it had been live

## Example prompts
- Run gtm-monitor and show what changed in the container this week
- Check the GTM container for orphaned tags and unpublished changes
- Diff the current container state against last week's snapshot and flag critical changes

## Similar
- [analytics-tracking](https://affpapa.org/en/nevibecode/skills/analytics-tracking.md) — skill · 717 installs
- [launch-monitor](https://affpapa.org/en/nevibecode/skills/launch-monitor.md) — skill · 1000 installs
- [narrative-resonance-monitor](https://affpapa.org/en/nevibecode/skills/narrative-resonance-monitor.md) — skill · 1000 installs
- [ads-monitor](https://affpapa.org/en/nevibecode/skills/ads-monitor.md) — skill · 633 installs
- [gtm-motions](https://affpapa.org/en/nevibecode/skills/gtm-motions.md) — skill · 2700 installs
- [gtm-strategy](https://affpapa.org/en/nevibecode/skills/kostja94-gtm-strategy.md) — skill · 1200 installs

From the same set: [cognyai/claude-code-marketing-skills](https://affpapa.org/en/nevibecode/by/cognyai/claude-code-marketing-skills.md) — 18 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
