Analytics Tracking (GA4 & GTM Implementation)
Build, audit, and debug GA4/GTM tracking — event taxonomy, conversion setup, consent mode, and data quality in one skill.
Data & AnalyticsIntermediate★ 24,151⑂ 3,405AI score 8/10Last updated: Aug 9, 2026
What it does
Designs your measurement layer from scratch or fixes the one you already have.
- Mode 1 — Build: funnel definition → event taxonomy (
object_action, snake_case) → GA4 data stream config → GTM tag/trigger/variable structure - Mode 2 — Audit: gap analysis against a standard SaaS funnel, a 0–100 data quality scorecard, and a prioritized fix list
- Mode 3 — Debug: structured troubleshooting with GTM Preview, GA4 DebugView, and the Network tab (double-fires, SPA routing, stripped UTMs)
- Also covers Google Ads conversions, Meta Pixel/CAPI, cross-domain tracking, UTM conventions, and GDPR Advanced Consent Mode
- Ships
scripts/tracking_plan_generator.pyto produce a draft plan as a table or JSON
Who it's for
- Growth/marketing folks whose GA4 reports are unusable because event names are inconsistent
- PMs who need a tracking spec to hand to engineering
- Performance marketers reconciling ad platform conversions with GA4
- SaaS teams with EU traffic that must implement consent mode
Examples
- "Build a tracking plan for our signup funnel" → event table with
signup_started,trial_started,checkout_completed, parameters, and a GA4 key-events checklist - "GTM Preview shows the event but GA4 never records it" → step-by-step check of trigger conditions, measurement ID, consent state, and duplicate tags
- "Google Ads reports 40% more conversions than GA4" → diagnoses attribution window mismatch and pixel duplication with a ranked fix list
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .gemini/skills/analytics-tracking folder from the GitHub repo alirezarezvani/claude-skills into my ~/.claude/skills/analytics-tracking/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/alirezarezvani/claude-skills.git && mkdir -p ~/.claude/skills && cp -r claude-skills/.gemini/skills/analytics-tracking ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal (Terminal on macOS, Git Bash or WSL on Windows).
- Clone the repo:
git clone https://github.com/alirezarezvani/claude-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the whole skill directory:
cp -r claude-skills/.gemini/skills/analytics-tracking ~/.claude/skills/ - Confirm the
references/andscripts/subfolders came along:ls ~/.claude/skills/analytics-tracking - Python 3 is needed for the plan generator:
python3 --version - Restart Claude Code and try "build a GA4 tracking plan" or "my GTM events aren't reaching GA4" to trigger the skill.
View source on GitHub ↗License: MIT