tracking-plan

tracking-plan is a skill for Claude Code, Codex from LeadMagic/gtm-skills. It costs 127 tokens per session (4,772 once invoked), scanned A, original, MIT.

A plan for deciding what user and marketing actions a product should record as analytics events. It covers tracking tags, attribution, customer data platforms, product analytics, CRM systems, and analytics infrastructure.

In plain words
What is it for?
Defining event names, planning tracking pixels, connecting analytics and CRM tools, designing attribution, and organizing data collection for software products.
Why use it?
It prevents missing, duplicated, or inconsistent tracking and makes it easier to tell which channels and product actions contributed to results.

Skill for Claude CodeCodex

Part of the gtm-skills plugin — 196 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/leadmagic/gtm-skills/tracking-plan
Any agent
npx skills add LeadMagic/gtm-skills --skill tracking-plan
Clone the repo
git clone --depth 1 https://github.com/LeadMagic/gtm-skills

Made for: Claude Code, Codex.

Or install gtm-skills, the plugin that ships this one along with the rest of its 196 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tracking-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/leadmagic/gtm-skills/tracking-plan.svg)](https://agentmods.dev/skills/leadmagic/gtm-skills/tracking-plan)
Your own site
<a href="https://agentmods.dev/skills/leadmagic/gtm-skills/tracking-plan"><img src="https://agentmods.dev/badge/skills/leadmagic/gtm-skills/tracking-plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,772 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00127 $0.04772
Opus 5 $0.00063 $0.02386
Sonnet 5 $0.00025 $0.00954
Haiku 4.5 $0.00013 $0.00477

Measured yesterday against content hash 802f6a7f4273, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tracking-plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check-output.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/analytics/tracking-plan/SKILL.md · 441 lines

How it starts

The opening of the file, as written. The whole thing — 441 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Analytics Tracking Plan

Overview

Most companies have tracking — they just don't have a plan. Events fire into the void. Pixels fire twice (or never). Marketing attributes credit to the wrong channel. Product doesn't know what marketing tracks. Nobody trusts the data. The mistake: adding tracking ad-hoc without a unified plan. This skill covers the complete analytics tracking architecture for PLG and B2B SaaS: event taxonomy, pixel strategy, attribution architecture, CDP implementation, and the analytics stack that makes it all work together.

Authoritative Foundations

  • Segment — Customer Data Platform (CDP) and Tracking Plan spec — Customer Data Platform (CDP) and Tracking Plan spec
  • Amplitude — Product analytics and behavioral cohorts — Product analytics and behavioral cohorts
  • PostHog — Open-source product analytics — Open-source product analytics
  • Mixpanel — Event-based analytics — Event-based analytics
  • Google Analytics 4 (GA4) — Web analytics and conversions — Web analytics and conversions
  • Elena Verna (Reforge/Amplitude) — PLG analytics models — PLG analytics models
  • Brian Balfour (Reforge) — Growth models and tracking — Growth loops — acquisition/retention loops, not funnel-only thinking.
  • OpenView — PLG benchmarks and metrics — Expansion SaaS benchmarks — PLG, sales-assist, and GTM efficiency.
  • Avo — Tracking plan governance and code generation — Tracking plan governance and code generation

When to Use

Trigger phrases: "tracking plan", "analytics plan", "analytics architecture", "event tracking strategy", "pixel strategy", "CDP implementation", "analytics for PLG", "SaaS analytics stack", "unified tracking plan", "marketing tracking", "product analytics implementation", "analytics audit"

The Unified Tracking Architecture

                    ┌─────────────────────────────────┐
                    │        YOUR SAAS PRODUCT          │
                    │  (Web App, API, Backend, Email)  │
                    └──────────┬──────────────────────┘
                               │
                    ┌──────────▼──────────────────────┐
                    │   CDP LAYER (Segment/Rudderstack) │
                    │   Event Collection + Routing      │
                    └──────┬───────────┬───────────────┘
                           │           │
         ┌─────────────────▼──┐   ┌───▼──────────────────┐
         │ PRODUCT ANALYTICS   │   │ MARKETING ANALYTICS   │
         │ Amplitude/Mixpanel  │   │ GA4 / Ads Pixels      │
         │ PostHog             │   │ Attribution Tools      │
         └─────────────────────┘   └───────────────────────┘
                           │           │
         ┌─────────────────▼──┐   ┌───▼──────────────────┐
         │ CRM + CS ANALYTICS  │   │ DATA WAREHOUSE        │
         │ HubSpot/Salesforce  │   │ Snowflake/BigQuery     │
         │ Intercom/Zendesk    │   │ + BI (Metabase/Looker) │
         └─────────────────────┘   └───────────────────────┘

Read the full file on GitHub · 441 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +3 lines 802f6a7f4273
  2. 5d ago First seen · 438 lines · 127 tokens per session scan A d9f9afd8bdf3

Subscribe to this mod's changes

tracking-plan is a skill published in the GitHub repository LeadMagic/gtm-skills (46 stars, last pushed 2d ago), licensed MIT. It adds 127 tokens to every session and 4,772 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

outreachmagic

Your agent goes blind after send. Sync sequencer webhooks, research leads via Serper, and find/verify emails — all in one local SQLite DB your agent queries directly.

outreachmagic/outreachmagic · 40 tokens

cold-email

Expert cold email strategist for B2B outbound campaigns. Use when the user asks about cold email writing, email sequences, email deliverability, domain warmup, SPF/DKIM/DMARC setup, email personalization, cold email templates, email copywriting frameworks, email compliance (CAN-SPAM, GDPR), bounce management, inbox…

Frontal-so/outbound-skills · 177 tokens

list-building

Expert B2B list building orchestrator for outbound sales campaigns. Use when the user asks about building lead lists, Sales Navigator search, boolean filters, ICP definition, ICP scoring, lead sources, data validation, email verification, list segmentation, Apollo prospecting, Clay Find People, list hygiene…

Frontal-so/outbound-skills · 190 tokens

claygent

Use Clay's AI research agent (Claygent) for web research, custom data extraction, and information that does not exist in standard databases. Use when the user asks about Claygent, AI research in Clay, web browsing for data, custom data points, real-time company research, or scraping with AI. Triggers on "Claygent"…

Frontal-so/outbound-skills · 131 tokens

conditional-logic

Write Clayscript formulas, conditional runs, and credit-saving logic in Clay. Use when the user asks about Clayscript, Clay formulas, conditional runs, saving credits with logic, data manipulation, if/then logic, JavaScript formulas in Clay, or the AI formula generator. Triggers on "Clayscript", "formula"…

Frontal-so/outbound-skills · 128 tokens

people-enrichment

Find and enrich contacts at target companies in Clay. Use when the user asks about finding decision makers, people enrichment, LinkedIn enrichment, title or seniority filtering, buying committee mapping, contact discovery at companies, or Sales Navigator imports. Triggers on "find contacts", "find people", "people…

Frontal-so/outbound-skills · 110 tokens