Gtm Setup

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

114 stars 16 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add cognyai/claude-code-marketing-skills --skill gtm-setup
Manual install
git 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-setup ~/.claude/skills/gtm-setup

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 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.

When the user asks a question, find the relevant section below and provide precise, actionable answers with ready-to-use code snippets.

If the user provides a specific topic as an argument, focus on that area. Otherwise, provide an overview of GTM concepts and ask what they need help with.
Read the full skill on GitHub

Details

Skill name
gtm-setup
Path
skills/gtm-setup/SKILL.md
Repo updated
12 October 2026

FAQ

What does the Gtm Setup skill do?

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

How do I install the Gtm Setup skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add cognyai/claude-code-marketing-skills --skill gtm-setup. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Gtm Setup 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

114

cognyai/claude-code-marketing-skills

Generate ad copy variations for Google, Microsoft, Meta, LinkedIn, TikTok, Reddit, Snapchat and X Ads (plus Apple Search Ads guidance)

Marketing, Sales & BusinessIn 3 lists16

Ad Kill Rules

114

cognyai/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

Marketing, Sales & BusinessIn 3 lists16

Brand Kit

114

cognyai/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.

Frontend & DesignIn 3 lists16

Hyperframes CLI

260

cafe3310/public-agent-skills

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

Software Development30

Conversion Debug

114

cognyai/claude-code-marketing-skills

Conversion Tracking Debugger — diagnose discrepancies across GTM, GA4, Google Ads & Meta Pixel with live API access, BigQuery validation queries, and troubleshooting flowcharts

Software DevelopmentIn 3 lists16

Meta Capi

114

cognyai/claude-code-marketing-skills

Meta Conversions API (CAPI) Setup Reference — architecture, event types, customer information hashing, deduplication, implementation examples, AEM, and testing

Software DevelopmentIn 3 lists16

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.