Skip to main content
skill CX Codex

gtm-monitor — Claude Code skill: weekly GTM container check

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cognyai/claude-code-marketing-skills --skill gtm-monitor -a claude-code
Open on GitHub

What gtm-monitor 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.

What it helps with

  • 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 for the agent

  • 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

How to install gtm-monitor

1Skills CLI (Vercel)

npx skills add cognyai/claude-code-marketing-skills --skill gtm-monitor -a claude-code

2Manually: put the files in place

~/.claude/skills/gtm-monitor/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/gtm-monitor/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about gtm-monitor

How do I install gtm-monitor in Claude Code?

Run npx skills add cognyai/claude-code-marketing-skills --skill gtm-monitor -a claude-code. The skill lands in ~/.claude/skills/gtm-monitor/SKILL.md.

What does gtm-monitor do?

It snapshots a GTM container and compares it with the prior week: tags, triggers and variables added, edited or removed. It also checks for orphaned tags and unpublished draft changes.

What do I need for gtm-monitor to work?

A Cogny Agent subscription and Google Tag Manager connected in Cogny. GA4, Plausible and Microsoft Clarity are optional and let the skill verify downstream impact after a tag change.

Similar skills

Everything for Marketing and content →

From the same set18

performance-memo Pulls ad spend from every platform and ties it to revenue, refunds and churn by campaign ID. Each line ends with a call: keep, kill, change or test. CX Codex +1 ★ 111repo stars marketing-engineer This skill stands up a marketing system of ten agents with one shared knowledge base, a review queue and a weekly loop. Useful when campaigns stall in approvals. CX Codex +1 ★ 111repo stars linkedin-launch-video Turns a brief or landing page into a LinkedIn-ready clip: burned-in captions, sound-off viewing, plain business language. Can hand the creative to LinkedIn Ads. CX Codex +1 ★ 111repo stars landing-page-review Scores a landing page for conversion: headline, offer, buttons, trust signals. Useful when you are about to change a page on a hunch. CX Codex +1 ★ 111repo stars google-ads-monitor Runs a weekly pass over your ad accounts and shows what moved: spend, conversions, CPA and ROAS against the previous week. CX Codex +1 ★ 111repo stars ga4-monitor Runs a weekly pass over your analytics: sessions, conversions, revenue and channels against last week. Flags a key event that quietly stopped firing. CX Codex +1 ★ 111repo stars ga4-bigquery-schema A reference for the GA4 BigQuery export schema: nested fields, ready-to-use SQL patterns and performance notes. Handy when you need to unpack event_params or build a funnel query. CX Codex +1 ★ 111repo stars drop-off-rescue Finds contacts stuck at funnel stages, drafts a re-engagement email for each stage, and schedules the send in your ESP. CX Codex +1 ★ 111repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor