analytics

Provides guidance and templates for designing and implementing analytics tracking (GA4, GTM, UTMs, event naming, validation, and privacy). Includes event naming conventions, essential events, data layer and GA4 examples, debugging checks, and tracking plan output format.

When the user wants to set up or audit analytics, or asks whether a metric or number is calculated right, what to track, or how to name events: tracking plans, GA4, GTM, Mixpanel, PostHog, UTMs. Rate metrics divide matching closed windows, never full-period spend by partial-period results. For conversions in ad platforms, see conversion-tracking. For attribution or platforms that over-claim, see attribution. For tests, see ab-testing.

  • Category: Business
  • Source: coreyhaines31/marketingskills at commit 2bf95ed
  • Stars: 63010
  • License: MIT
  • Automated scan and AI review: passed on commit 2bf95ed (2026-11-28). All 5 files read in full by the automated scan and the AI review.

What this skill does on your computer

Instructions only: nothing beyond what your agent normally does.

We checked version 2bf95ed on 2026-11-28. Later changes to the repository haven't been checked; the install command gets the checked version.

Works with

  • Claude Code: copy the folder to ~/.claude/skills/analytics/ (or .claude/skills/<skill>/ in a project)
  • OpenAI Codex: copy the folder to ~/.codex/skills/analytics/
  • GitHub Copilot: copy the folder to .github/skills/analytics/ in your repository
  • Cursor: copy the folder to the skills folder in your Cursor settings
  • Gemini CLI: copy the folder to the skills folder in your Gemini CLI settings
  • Amp: copy the folder to the skills folder in your Amp settings

Install the checked version: npx degit coreyhaines31/marketingskills/skills/analytics#2bf95edb4ebd37198ab7fd18b99ba95c2145ec64 analytics. AI Agents Store never runs skills, and checks can miss things: review the files before you install. How we review skills