tracking-plan
Master analytics tracking plan for PLG and B2B SaaS — unified event taxonomy, pixel strategy (1P and 3P tagging), marketing attribution architecture, CDP…
Skill by LeadMagic
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/leadmagic-tracking-plan
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, devops, data, marketing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/tracking-plan
What's inside
- Skill name
tracking-plan- Description
- Master analytics tracking plan for PLG and B2B SaaS — unified event taxonomy, pixel strategy (1P and 3P tagging), marketing attribution architecture, CDP implementation (Segment, Rudderstack), product analytics (Amplitude, Mixpanel, PostHog), CRM tracking (HubSpot, Salesforce), and analytics infrastructure design. Use when building a complete tracking plan, designing analytics architecture, implementing product analytics, or aligning marketing and product tracking. Triggers on: "tracking plan", "analytics plan", "event tracking architecture", "pixel strategy", "analytics for PLG", "SaaS analytics".
- License
- MIT
- Compatibility
- Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Goose, Hermes, Windsurf, Zed
- Metadata
- author: LeadMagic · version: 1.0.1 · category: analytics
- Instructions
- 411 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- SKILL.md
- cdp-implementation.md · references/
- event-taxonomy.md · references/
- framework-notes.md · references/
- check-output.py · scripts/
- output-template.md · templates/
SKILL.md (first lines)
# 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
- **Amplitude** — Product analytics and behavioral cohorts
- **PostHog** — Open-source product analytics
- **Mixpanel** — Event-based analytics
- **Google Analytics 4 (GA4)** — Web analytics and conversions
- **Elena Verna (Reforge/Amplitude)** — 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
## 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) │
└─────────────────────┘ └───────────────────────┘
```
## Step-by-Step Process
### Phase 1: The Tracking Plan Document
**What it is:** A single source of truth for every event, property, and
destination in your analytics infrastructure. Every developer, marketer,
and analyst references the same document.
**The Tracking Plan template (Google Sheets / Notion / Avo):**
```
TRACKING PLAN — [Company]
SHEET 1: EVENT CATALOG
| Event Name | Category | Trigger | Properties | Destinations | Owner | Status |
|---|---|---|---|---|---|---|
| Signed Up | Account | POST /auth/signup | plan, source, referrer, utm_* | Segment→GA4,Amplitude,HubSpot | Eng | Live |
| Feature Used | Usage | Client-side click | feature_name, context | Segment→Amplitude | Product | Live |
| ... | | | | | | |
SHEET 2: PROPERTY CATALOG
| Property Name | Type | Example Values | Events Using | Description |
|---|---|---|---|---|---|
| plan | string | starter, growth, enterprise | Signed Up, Upgraded, Downgraded | Customer's subscription plan |
| source | string | google_ads, linkedin, referral | Signed Up | Acquisition channel |
| ... | | | | |
SHEET 3: DESTINATIONS
| Destination | Purpose | Events Routed | Owner |
|---|---|---|---|
| Amplitude | Product analytics — retention, funnels, cohorts | All usage + account events | Product |
| GA4 | Web analytics — traffic, conversions, ad attribution | Page views, signups, conversions | Marketing |
| HubSpot | CRM — lead scoring, lifecycle stages | Account events, email events | RevOps |
| Intercom | Event-triggered messaging | All usage + milestone events | CS |
| Data Warehouse | BI — cross-functional reporting | All events | Data |
SHEET 4: IDENTITIES
| Identity Type | How It's Set | When | Example |
|---|---|---|---|
| anonymous_id | Auto-generated (cookie/localStorage) | First visit | uuid |
| user_id | Backend generates on signup | After authentication | user_abc123 |
| group_id | Workspace/account ID | After login (B2B) | ws_xyz789 |
| email | identify() call | After signup/login | person@example.com |
SHEET 5: UTM / ATTRIBUTION
| Parameter | Required | Example | Purpose |
|---|---|---|---|
| utm_source | Yes | google, linkedin, newsletter | Acquisition source |
| utm_medium | Yes | cpc, organic, email, social | Channel type |
| utm_campaign | Yes | q1_launch, black_friday | Campaign name |
| utm_content | Optional | variant_a, cta_hero | Creative variant |
| utm_term | Optional | cold+email+tool | Keyword (paid search) |
| referrer | Auto | document.referrer | Referring URL |
| landing_page | Auto | window.location.pathname | First page visited |
| gclid | Auto | Google Ads auto-tagging | Google Click ID |
| fbclid | Auto | Facebook auto-tagging | Facebook Click ID |
```
### Phase 2: Event Taxonomy for PLG and SaaS
Build the event taxonomy in `references/event-taxonomy.md` when the task needs the full PLG/SaaS event library. In SKILL.md, capture only the chosen event groups, naming rules, owners, and QA gates.From LeadMagic/gtm-skills, MIT.
More from LeadMagic/gtm-skills
- 0.638score
a-b-testing
LeadMagic
Design statistically sound GTM experiments for copy, channels, landing pages, sequencing, pricing, and funnel conversion.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
campaign-analytics
LeadMagic
Analyze campaign performance from deliverability through revenue: delivery, engagement, replies, meetings, SQOs, pipeline, CAC, and payback.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
growth-experimentation
LeadMagic
Build a growth experimentation system — ICE scoring, growth sprints, experiment design, statistical significance, and learning repositories.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
gtm-metrics
LeadMagic
Build a GTM metrics system for SaaS: funnel conversion, pipeline velocity, win rates, CAC, payback, NRR, sales efficiency, growth accounting, and executive…
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
gtm-system-architecture
LeadMagic
Design a complete GTM operating system — revenue model, data model, operating model, growth model, and GTM model per WbD's 6-model framework.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
salesforce-setup
LeadMagic
Set up Salesforce for B2B SaaS GTM — object model, opportunity pipelines, lead management, reports and dashboards, automation (Flows), and enrichment…
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
abm-1-to-few
LeadMagic
Runs ABM at scale (1-to-few) for 15-50 clustered accounts: industry or persona clusters, semi-custom campaigns, and cluster-level content.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
abm-1-to-1
LeadMagic
Runs strategic 1-to-1 ABM for 5-15 high-value accounts: account plans, custom microsites, executive engagement, direct mail, and board-level connections.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
abm-strategy
LeadMagic
Designs an account-based marketing program: tier selection, account scoring, channel orchestration, BDR alignment (account-based sales development), and a…
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
account-selection
LeadMagic
Builds and tiers a target account list: fit and intent scoring models, tier assignment, and TAM segmentation.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
multi-thread-orchestration
LeadMagic
Orchestrates multi-threaded engagement across a buying committee: stakeholder maps, parallel plays by role, and detection of missing ("ghost") stakeholders.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
abm-1-to-many
LeadMagic
Runs programmatic 1-to-many ABM for 50-200+ accounts: automated personalization, scaled outbound, intent-based targeting, and lookalike expansion.
SkillAFreshness: A★ 67Claude Code +9
Signals
- Stars
- 67
- Forks
- 18
- Open issues
- 0
- Last commit (this folder)
- Oct 1, 2026 (27 days ago)
- Last release
- Oct 1, 2026 (27 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.1
- License
- MIT
- Repository
- github.com/LeadMagic/gtm-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from LeadMagic
- 0.638score
a-b-testing
LeadMagic
Design statistically sound GTM experiments for copy, channels, landing pages, sequencing, pricing, and funnel conversion.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
campaign-analytics
LeadMagic
Analyze campaign performance from deliverability through revenue: delivery, engagement, replies, meetings, SQOs, pipeline, CAC, and payback.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
growth-experimentation
LeadMagic
Build a growth experimentation system — ICE scoring, growth sprints, experiment design, statistical significance, and learning repositories.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
gtm-metrics
LeadMagic
Build a GTM metrics system for SaaS: funnel conversion, pipeline velocity, win rates, CAC, payback, NRR, sales efficiency, growth accounting, and executive…
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
gtm-system-architecture
LeadMagic
Design a complete GTM operating system — revenue model, data model, operating model, growth model, and GTM model per WbD's 6-model framework.
SkillAFreshness: A★ 67Claude Code +9 - 0.638score
abm-1-to-many
LeadMagic
Runs programmatic 1-to-many ABM for 50-200+ accounts: automated personalization, scaled outbound, intent-based targeting, and lookalike expansion.
SkillAFreshness: A★ 67Claude Code +9
Cite this page
tracking-plan skill. Agent Mart. https://agentmart.dev/skills/leadmagic-tracking-plan (last updated 2026-10-24)