gtm-setup SKILL.md skillB

gtm-setup from cognyai/claude-code-marketing-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add cognyai/claude-code-marketing-skills/gtm-setup@v1.1.1

Pins v1.1.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
cognyai/claude-code-marketing-skills
Path
skills/gtm-setup/SKILL.md
Versions recorded
2
Latest version
v1.1.1, committed Oct 12, 2026
First version recorded
Apr 10, 2026
Size
23,093 bytes
Repository stars
114
License
none declared

GTM Event Tracking & Setup Reference — dataLayer fundamentals, trigger types, variable types, GA4 tag configuration, debug mode, and best practices.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# GTM Event Tracking & Setup Reference

Complete reference guide to Google Tag Manager event tracking, including dataLayer fundamentals, trigger and variable types, GA4 tag configuration, debug mode, and implementation best practices.

Full docs: https://cogny.com/docs/gtm-event-tracking

## Usage

```
/gtm-setup                              # Full GTM reference overview
/gtm-setup dataLayer                    # dataLayer fundamentals and syntax
/gtm-setup purchase                     # Show purchase event dataLayer.push()
/gtm-setup triggers                     # All trigger types explained
/gtm-setup variables                    # All variable types explained
/gtm-setup tags                         # GA4 tag configuration
/gtm-setup debug                        # Debug mode and troubleshooting
/gtm-setup best practices               # Naming conventions, organization
/gtm-setup common mistakes              # Race conditions, missing data, duplicates
```

## Instructions

You are a Google Tag Manager expert. Use this reference to help users implement event tracking, configure tags/triggers/variables, debug GTM issues, and follow best practices.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cognyai/claude-code-marketing-skills/gtm-setup@sha256:3b9ad2d220bc5ed3

The line at the top of this page pins the label v1.1.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_es7kqkf2ih4dqvcx.svg)](https://markdownregistry.com/a/art_es7kqkf2ih4dqvcx)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Apr 10, 2026 and Oct 12, 2026, about one every 185 days.

versioncommittedcommitsizeaudit
v1.1.1 latest2026-10-12 19f93c6 23,093 BB view · diff
v1.0.02026-04-10 a0a69e6 19,385 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (23093 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

cognyai/claude-code-marketing-skills · 114 stars · license none declared · pushed 2026-10-12 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_es7kqkf2ih4dqvcx
GET https://markdownregistry.com/api/v1/resolve?ref=cognyai/claude-code-marketing-skills/gtm-setup
GET https://markdownregistry.com/api/v1/blob/3b9ad2d220bc5ed38d500449ac5fc0320ceda260811b84155f1682dde88ab998

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from cognyai/claude-code-marketing-skills

google-ads-audit SKILL.md skill
cognyai/claude-code-marketing-skills · skill-pipeline/google-ads-audit/SKILL.md · Deep Google Ads account audit — keywords, quality scores, budget pacing, search terms
v1.1.2 · audit A · 114 stars
meta-ads-audit SKILL.md skill
cognyai/claude-code-marketing-skills · skill-pipeline/meta-ads-audit/SKILL.md · Meta Ads audit — audience analysis, creative fatigue, budget pacing, lead quality
v1.1.0 · audit A · 114 stars
ad-copy-writer SKILL.md skill
cognyai/claude-code-marketing-skills · skills/ad-copy-writer/SKILL.md · Generate ad copy variations for Google, Microsoft, Meta, LinkedIn, TikTok, Reddit, Snapchat and X Ads (plus Apple…
v1.1.1 · audit A · 114 stars
ad-kill-rules SKILL.md skill
cognyai/claude-code-marketing-skills · skills/ad-kill-rules/SKILL.md · Enforce a pre-declared evidence bar on every ad — after it spends enough, pause it if it misses (e.g. CTR < 1% or cost…
v1.1.3 · audit A · 114 stars
brand-kit SKILL.md skill
cognyai/claude-code-marketing-skills · skills/brand-kit/SKILL.md · Build a portable brand-kit.json for the user's product — colors, typography, voice — that other skills (video, ad…
v1.1.1 · audit A · 114 stars
buying-triggers SKILL.md skill
cognyai/claude-code-marketing-skills · skills/buying-triggers/SKILL.md · Find accounts where something just happened that creates demand — funding, hiring, new locations, launches, rising ad…
v1.1.3 · audit A · 114 stars
campaign-ledger SKILL.md skill
cognyai/claude-code-marketing-skills · skills/campaign-ledger/SKILL.md · Give every campaign an ID and carry it everywhere — allocate IDs, audit ad/email/UTM naming across Google, Meta…
v1.1.3 · audit A · 114 stars
closed-lost-revival SKILL.md skill
cognyai/claude-code-marketing-skills · skills/closed-lost-revival/SKILL.md · Re-read every lost deal in your CRM (HubSpot, Pipedrive or Upsales; Salesforce via the CRM layer) with its calls…
v1.2.3 · audit A · 114 stars
cogny SKILL.md skill
cognyai/claude-code-marketing-skills · skills/cogny/SKILL.md · Run Cogny marketing analysis tasks — fetch scheduled tasks, analyze ad accounts via MCP, report findings
v1.1.2 · audit A · 114 stars
community-pulse SKILL.md skill
cognyai/claude-code-marketing-skills · skills/community-pulse/SKILL.md · Weekly read on community health — Discord joins, active channels, top contributors, themes and unanswered questions…
v1.1.2 · audit A · 114 stars
competitor-analysis SKILL.md skill
cognyai/claude-code-marketing-skills · skills/competitor-analysis/SKILL.md · Research competitor positioning, ads, pricing, and market gaps
v1.1.1 · audit A · 114 stars
conversion-debug SKILL.md skill
cognyai/claude-code-marketing-skills · skills/conversion-debug/SKILL.md · Conversion Tracking Debugger — diagnose discrepancies across GTM, GA4, Google Ads & Meta Pixel with live API access…
v1.1.2 · audit A · 114 stars

Every file in cognyai/claude-code-marketing-skills

Browse by kind, by grade B, or by owner.