analytics
Skill53k starsChanged 5 months agoMITView on GitHub
When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wants to measure marketing results. For choosing attribution models, comparing multi-touch/MMM/incrementality, or reconciling conflicting numbers across tools, see attribution. For A/B test measurement, see ab-testing.
41 other projects use a version of this, 20 of them edited; 1 of 20 edited versions we compared changed its rules.
How people change it
1 of 20 edited versions changed its rules.
Of the 20 edited versions we compared: 19 keep every rule, 1 made changes of their own.
Rules people drop
- If
.agents/product-marketing.mdexists (or.claude/product-marketing.md, or the legacyproduct-marketing-context.mdfilename, in older setups), read it before asking questions. …dropped by 1 of 1 - Before implementing tracking, understand:dropped by 1 of 1
- Every event should inform a decisiondropped by 1 of 1
- Avoid spaces and special charactersdropped by 1 of 1
- Use consistent property namesdropped by 1 of 1
- Don't duplicate automatic propertiesdropped by 1 of 1
- Avoid PII in propertiesdropped by 1 of 1
- Create GA4 property and data streamdropped by 1 of 1
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- t0ddharris/compound-marketingtheir own version, first seen Oct 5, 2026
- HanksChen0110/skillsedited, first seen Oct 3, 2026
- growthbook/skillstheir own version, first seen Sep 30, 2026
- philtzjp/skillstheir own version, first seen Sep 30, 2026
- productionx-in/Core-Skillsedited, first seen Sep 29, 2026
- tandregbg/core-claude-skillstheir own version, first seen Sep 27, 2026
Who's talking about coreyhaines31/marketingskills
- mattpocock/skills“Add `marketplace.json` for plugin marketplace support”GitHub · Mar 22, 2026 · 58 reactions
- @github-trending-js.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 56,311 (+158) 🗒 JavaScript Marketing …”Bluesky · Oct 25, 2026 · 3 likes
- @github-trending-js.bsky.social“🎉 Celebrating! 🎉 (500+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 40,321 (+627) 🗒 JavaScript …”Bluesky · Jul 18, 2026 · 3 likes
- @camilleroux.com“Un dépôt qui transforme des skills marketing (CRO, SEO, copywriting) en fichiers markdown branchables sur …”Bluesky · Apr 30, 2026 · 3 likes
- @github-trending-js.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 22,365 (+345) 🗒 JavaScript …”Bluesky · Apr 20, 2026 · 3 likes
The biggest 5 of 91 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 91
Talked about on GitHub, Bluesky and Hacker News (91 times).
On GitHub · 50
- Mar 22, 2026Add `marketplace.json` for plugin marketplace support — mattpocock/skills58 reactions · 12 comments
- Mar 25, 2026Add enterprise Onboarding CRO execution playbook — Greenmamba29/institutional-canvas2 reactions · 1 comment
- Feb 20, 2026paid-ads — AAswordman/OperitSkillMarket2 reactions · 2 comments
- Oct 22, 2026feat(auto-readme): add mcp server and skill badges to the badge action — stephansama/packages1 reaction · 4 comments
- Jul 13, 2026fix(company-skills): correct pending-materialization detail for post-hoc imported skills — paperclipai/paperclip1 reaction · 3 comments
45 more on GitHub
- Jul 1, 2026Add programmatic SEO skill and data-backed Learn guides — TommyBez/evex1 reaction · 2 comments
- May 14, 2026fix(skills): repoint coreyhaines31 upstream URLs to marketingskills — nexu-io/open-design1 reaction · 3 comments
- Mar 9, 2026Research: MarketClaw Plugin Architecture — MinglesAI/marketclaw1 reaction · 1 comment
- Nov 30, 2026Skills to update — Archon-/ai-resources0 reactions
- Nov 30, 2026Broken links found by weekly check — thekartikeyamishra/claude-mcp-skills-directory0 reactions
- Nov 27, 2026agent-skills.github.coreyhaines31.marketingskills: 2.14.28 → 2.14.29 — sudosubin/agents.nix0 reactions
- Nov 27, 2026claude-code-plugins.github.coreyhaines31.marketingskills: 2.14.28 → 2.14.29 — sudosubin/agents.nix0 reactions
- Nov 26, 2026claude-code-marketplaces.github.coreyhaines31.marketingskills: 2.14.28 → 2.14.29 — sudosubin/agents.nix0 reactions
- Nov 26, 2026codex-marketplaces.github.coreyhaines31.marketingskills: 2.14.28 → 2.14.29 — sudosubin/agents.nix0 reactions
- Nov 26, 2026codex-plugins.github.coreyhaines31.marketingskills: 2.14.28 → 2.14.29 — sudosubin/agents.nix0 reactions
- Nov 24, 2026claude-code-plugins.github.coreyhaines31.marketingskills: 2.14.25 → 2.14.28 — sudosubin/agents.nix0 reactions
- Nov 24, 2026agent-skills.github.coreyhaines31.marketingskills: 2.14.25 → 2.14.28 — sudosubin/agents.nix0 reactions
- Nov 23, 2026claude-code-marketplaces.github.coreyhaines31.marketingskills: 2.14.25 → 2.14.28 — sudosubin/agents.nix0 reactions
- Nov 23, 2026codex-marketplaces.github.coreyhaines31.marketingskills: 2.14.25 → 2.14.28 — sudosubin/agents.nix0 reactions
- Nov 23, 2026codex-plugins.github.coreyhaines31.marketingskills: 2.14.25 → 2.14.28 — sudosubin/agents.nix0 reactions
- Nov 23, 2026A skill a pack copied has changed upstream — avanturer/claude-bestpractice0 reactions
- Nov 23, 2026Broken links found by weekly check — thekartikeyamishra/claude-mcp-skills-directory0 reactions
- Nov 23, 2026Add marketingskills as project skills — pomnijax899-web/skills0 reactions
- Nov 20, 2026agent-skills.github.coreyhaines31.marketingskills: 2.14.24 → 2.14.25 — sudosubin/agents.nix0 reactions
- Nov 20, 2026claude-code-marketplaces.github.coreyhaines31.marketingskills: 2.14.23 → 2.14.25 — sudosubin/agents.nix0 reactions
- Nov 20, 2026codex-marketplaces.github.coreyhaines31.marketingskills: 2.14.22 → 2.14.25 — sudosubin/agents.nix0 reactions
- Nov 20, 2026codex-plugins.github.coreyhaines31.marketingskills: 2.14.22 → 2.14.25 — sudosubin/agents.nix0 reactions
- Nov 20, 2026claude-code-plugins.github.coreyhaines31.marketingskills: 2.14.13 → 2.14.25 — sudosubin/agents.nix0 reactions
- Nov 20, 2026agent-skills.github.coreyhaines31.marketingskills: 2.14.13 → 2.14.24 — sudosubin/agents.nix0 reactions
- Nov 20, 2026claude-code-marketplaces.github.coreyhaines31.marketingskills: 2.14.13 → 2.14.23 — sudosubin/agents.nix0 reactions
- Nov 20, 2026codex-marketplaces.github.coreyhaines31.marketingskills: 2.14.13 → 2.14.22 — sudosubin/agents.nix0 reactions
- Nov 20, 2026codex-plugins.github.coreyhaines31.marketingskills: 2.14.13 → 2.14.22 — sudosubin/agents.nix0 reactions
- Nov 19, 2026ServGo AI Chat: менеджер по продажам, копирайтер и специалист по рекламе — grunvald91/Ai_growth_os0 reactions
- Nov 18, 2026agent-skills.github.coreyhaines31.marketingskills: 2.14.12 → 2.14.13 — sudosubin/agents.nix0 reactions
- Nov 18, 2026claude-code-marketplaces.github.coreyhaines31.marketingskills: 2.14.12 → 2.14.13 — sudosubin/agents.nix0 reactions
- Nov 18, 2026codex-marketplaces.github.coreyhaines31.marketingskills: 2.14.12 → 2.14.13 — sudosubin/agents.nix0 reactions
- Nov 18, 2026codex-plugins.github.coreyhaines31.marketingskills: 2.14.12 → 2.14.13 — sudosubin/agents.nix0 reactions
- Nov 18, 2026claude-code-plugins.github.coreyhaines31.marketingskills: 2.14.12 → 2.14.13 — sudosubin/agents.nix0 reactions
- Nov 16, 2026Add marketing skills from coreyhaines31/marketingskills — smoke-web/Test0 reactions
- Nov 16, 2026Broken links found by weekly check — thekartikeyamishra/claude-mcp-skills-directory0 reactions
- Nov 15, 2026[Z.AI] Billing für zehn Skill-Einträge nachgetragen — Doebele/agents0 reactions
- Nov 10, 2026[Kimi] Neuer Steckbrief: copywriting-Skill aus marketingskills — Doebele/agents0 reactions
- Nov 9, 2026Landing: add social proof (downloads, testimonials) and fill marketing context gaps — larvyn/site0 reactions · 1 comment
- Nov 9, 2026Broken links found by weekly check — thekartikeyamishra/claude-mcp-skills-directory0 reactions
- Nov 8, 2026Add 53 marketing skills for Claude Code — bhbamine-code/Formosaespresso0 reactions
- Nov 2, 2026Broken links found by weekly check — thekartikeyamishra/claude-mcp-skills-directory0 reactions
- Nov 2, 2026Upstream update: coreyhaines31/marketingskills — orbyn-dev/orbyn-fullstack-skills0 reactions · 1 comment
- Oct 26, 2026Broken links found by weekly check — thekartikeyamishra/claude-mcp-skills-directory0 reactions
- Oct 19, 2026Broken links found by weekly check — thekartikeyamishra/claude-mcp-skills-directory0 reactions
- Oct 12, 2026Broken links found by weekly check — thekartikeyamishra/claude-mcp-skills-directory0 reactions
On Bluesky · 39
- Oct 25, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 56,311 (+158) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending-js.bsky.social3 likes and reposts · 1 reply
- Jul 18, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 40,321 (+627) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social3 likes and reposts · 1 reply
- Apr 30, 2026Un dépôt qui transforme des skills marketing (CRO, SEO, copywriting) en fichiers markdown branchables sur vos agents IA — Claude Code,… — @camilleroux.com3 likes and reposts
- Apr 20, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 22,365 (+345) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social3 likes and reposts · 1 reply
- Oct 19, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 55,329 (+162) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending-js.bsky.social2 likes and reposts
34 more on Bluesky
- Jul 27, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 41,895 (+157) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending-js.bsky.social2 likes and reposts
- Jul 13, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 38,103 (+260) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Jul 5, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 36,229 (+126) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Jun 8, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 32,433 (+183) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending-js.bsky.social2 likes and reposts
- Mar 17, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 14,153 (+350) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Nov 17, 2026This repo shows a useful agent pattern: write workflows as markdown skills with shared context and related-skill links. Here the same… — @iam.slys.dev1 likes and repost · 2 replies
- Oct 4, 2026今日のGitHubトレンド coreyhaines31/marketingskills AIエージェント向けのマーケティングスキル集です。… — @dailygithubtrends.bsky.social1 likes and repost
- Oct 2, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 52,232 (+139) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending.bsky.social1 likes and repost
- Sep 9, 2026https://github.com/coreyhaines31/marketingskills — @sigmanor.net1 likes and repost
- Sep 8, 2026今日のGitHubトレンド coreyhaines31/marketingskills — @dailygithubtrends.bsky.social1 likes and repost
- Aug 27, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 45,707 (+134) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending-js.bsky.social1 likes and repost
- Aug 25, 2026🧩 分享一组营销技能库 github.com/coreyhaines... 自测发现,效果真不错,它真的是太齐全了,SEO 审计、文案编写、转化率优化、冷启动邮件、竞品分析 等都支持。… — @indie-fox.bsky.social1 likes and repost
- Aug 18, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 44,731 (+156) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending-js.bsky.social1 likes and repost
- Aug 14, 2026🧩 分享一组营销技能库 github.com/coreyhaines... 我试了下,效果真不错,它真的是太齐全了,SEO 审计、文案编写、转化率优化、冷启动邮件、竞品分析 等都支持。… — @indie-fox.bsky.social1 likes and repost
- Aug 12, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 43,899 (+146) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending-js.bsky.social1 likes and repost
- Aug 8, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 43,412 (+183) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending-js.bsky.social1 likes and repost
- Jul 13, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 38,103 (+260) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending.bsky.social1 likes and repost · 1 reply
- Jul 5, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 36,179 (+126) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending.bsky.social1 likes and repost
- Jun 21, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 34,387 (+237) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jun 8, 2026https://github.com/coreyhaines31/marketingskills — @tom-doerr.bsky.social1 likes and repost
- May 23, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 29,848 (+209) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Apr 12, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 20,461 (+198) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending-js.bsky.social1 likes and repost
- Apr 7, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 19,325 (+249) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Mar 24, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 16,049 (+361) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Nov 18, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 60,929 (+239) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Nov 12, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 59,877 (+212) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Oct 28, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 57,028 (+225) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Sep 8, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 48,542 (+666) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Jun 17, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 33,725 (+170) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- May 31, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 31,292 (+160) 🗒 JavaScript Marketing skills for Claude Code and AI… — @github-trending-js.bsky.social0 likes and reposts · 2 replies
- May 14, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 28,250 (+266) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- May 5, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 26,663 (+230) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Apr 24, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 24,345 (+1,062) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Apr 23, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 coreyhaines31 / marketingskills ⭐ 23,250 (+312) 🗒 JavaScript Marketing skills for Claude Code and… — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 2
- Jan 27, 2026Claude Code Skills for Marketing1 point
- Jan 22, 2026Marketing Skills for Claude Code1 point
Other versions41 projects use a version of this.
Word for word · 0
None found.
Edited · 20
- Cesarjoquin/Marketing-Skills★ 19796% same
- TheAceTeam/CC-Flight★ 9396% same
- open-fox/agents★ 5597% same
- SZcalligrapher/slash-skills-subscription★ 3296% same
- opensite-ai/opensite-skills★ 1597% same
- Takinggg/codex-marketing-skills★ 396% same
- HanksChen0110/skills★ 296% same
- Shri-Phnx/claude-skills★ 238% same
- SidekicksStudio/marketing-agency-in-a-box★ 296% same
- agrivisionai/claude-skills★ 196% same
10 more not listed
Wrote their own version · 21
- getsentry/sentry★ 45ksame name
- grainulation/grainulator★ 86same name
- AlekseiUL/sprut-agent-kit★ 65same name
- growthbook/skills★ 23same name
- ayrshare/ayrshare-social-media-api-claude-plugin★ 19same name
- vigneshbarani24/sap-superpowers★ 9same name
- YepAPI/skills★ 8same name
- EmersonBraun/skills★ 4same name
- tandregbg/core-claude-skills★ 4same name
- Zmoki/zmoki-astro-starter★ 4same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository51 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ab-testingSkill
- ad-creativeSkill
- adsSkill
- ai-seoSkill
- asoSkill
- attributionSkill
- churn-preventionSkill
- cold-emailSkill
- co-marketingSkill
- community-marketingSkill
- competitor-profilingSkill
- competitorsSkill
- content-strategySkill
- copy-editingSkill
- copywritingSkill
- croSkill
- customer-researchSkill
- directory-submissionsSkill
- emailsSkill
- eventsSkill
- free-toolsSkill
- imageSkill
- influencer-marketingSkill
- launchSkill
- lead-magnetsSkill
- marketing-councilSkill
- marketing-ideasSkill
- marketing-loopsSkill
- marketing-planSkill
- marketing-psychologySkill
- offersSkill
- onboardingSkill
- paywallsSkill
- popupsSkill
- pricingSkill
- product-marketingSkill
- programmatic-seoSkill
- prospectingSkill
- public-relationsSkill
- referralsSkill
- revopsSkill
- sales-enablementSkill
- schemaSkill
- seo-auditSkill
- signupSkill
- site-architectureSkill
- smsSkill
- socialSkill
- videoSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 12 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 37 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older …
- Distinctive: line 17
Before implementing tracking, understand:
- Distinctive: line 28
Every event should inform a decision
- Distinctive: line 87
Avoid spaces and special characters
- Distinctive: line 128
Use consistent property names
- Distinctive: line 130
Don't duplicate automatic properties
- Distinctive: line 131
Avoid PII in properties
- Distinctive: line 139
Create GA4 property and data stream
- Distinctive: line 196
Use underscores or hyphens consistently
- Distinctive: line 198
Document all UTMs in a spreadsheet
- Distinctive: line 235
No PII in analytics properties
- Distinctive: line 240
Use consent mode (wait for consent)
- Distinctive: line 242
Only collect what you need
“Common” is measured: kept by at least 6 in 10 of the 37 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Analytics Tracking
You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions.
Initial Assessment
Check for product marketing context first:
If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
Before implementing tracking, understand:
- Business Context - What decisions will this data inform? What are key conversions?
- Current State - What tracking exists? What tools are in use?
- Technical Context - What's the tech stack? Any privacy/compliance requirements?
Core Principles
1. Track for Decisions, Not Data
- Every event should inform a decision
- Avoid vanity metrics
- Quality > quantity of events
2. Start with the Questions
- What do you need to know?
- What actions will you take based on this data?
- Work backwards to what you need to track
3. Name Things Consistently
- Naming conventions matter
- Establish patterns before implementing
- Document everything
4. Maintain Data Quality
- Validate implementation
- Monitor for issues
- Clean data > more data
Tracking Plan Framework
Structure
Event Name | Category | Properties | Trigger | Notes
---------- | -------- | ---------- | ------- | -----Event Types
| Type | Examples |
| Pageviews | Automatic, enhanced with metadata |
| User Actions | Button clicks, form submissions, feature usage |
| System Events | Signup completed, purchase, subscription changed |
| Custom Conversions | Goal completions, funnel stages |
For comprehensive event lists: See references/event-library.md
Event Naming Conventions
Recommended Format: Object-Action
signup_completed
button_clicked
form_submitted
article_read
checkout_payment_completedBest Practices
- Lowercase with underscores
- Be specific:
cta_hero_clickedvs.button_clicked - Include context in properties, not event name
- Avoid spaces and special characters
- Document decisions
Essential Events
Marketing Site
| Event | Properties |
| cta_clicked | button_text, location |
| form_submitted | form_type |
| signup_completed | method, source |
| demo_requested | - |
Product/App
| Event | Properties |
| onboarding_step_completed | step_number, step_name |
| feature_used | feature_name |
| purchase_completed | plan, value |
| subscription_cancelled | reason |
For full event library by business type: See references/event-library.md
Event Properties
Standard Properties
| Category | Properties |
| Page | page_title, page_location, page_referrer |
| User | user_id, user_type, account_id, plan_type |
| Campaign | source, medium, campaign, content, term |
| Product | product_id, product_name, category, price |
Best Practices
- Use consistent property names
- Include relevant context
- Don't duplicate automatic properties
- Avoid PII in properties
GA4 Implementation
Quick Setup
- Create GA4 property and data stream
- Install gtag.js or GTM
- Enable enhanced measurement
- Configure custom events
- Mark conversions in Admin
Custom Event Example
gtag('event', 'signup_completed', {
'method': 'email',
'plan': 'free'
});For detailed GA4 implementation: See references/ga4-implementation.md
Google Tag Manager
Container Structure
| Component | Purpose |
| Tags | Code that executes (GA4, pixels) |
| Triggers | When tags fire (page view, click) |
| Variables | Dynamic values (click text, data layer) |
Data Layer Pattern
dataLayer.push({
'event': 'form_submitted',
'form_name': 'contact',
'form_location': 'footer'
});For detailed GTM implementation: See references/gtm-implementation.md
UTM Parameter Strategy
Standard Parameters
| Parameter | Purpose | Example |
| utm_source | Traffic source | google, newsletter |
| utm_medium | Marketing medium | cpc, email, social |
| utm_campaign | Campaign name | spring_sale |
| utm_content | Differentiate versions | hero_cta |
| utm_term | Paid search keywords | running+shoes |
Naming Conventions
- Lowercase everything
- Use underscores or hyphens consistently
- Be specific but concise:
blog_footer_cta, notcta1 - Document all UTMs in a spreadsheet
Debugging and Validation
Testing Tools
| Tool | Use For |
| GA4 DebugView | Real-time event monitoring |
| GTM Preview Mode | Test triggers before publish |
| Browser Extensions | Tag Assistant, dataLayer Inspector |
Validation Checklist
- Events firing on correct triggers
- Property values populating correctly
- No duplicate events
- Works across browsers and mobile
- Conversions recorded correctly
- No PII leaking
Common Issues
| Issue | Check |
| Events not firing | Trigger config, GTM loaded |
| Wrong values | Variable path, data layer structure |
| Duplicate events | Multiple containers, trigger firing twice |
Privacy and Compliance
Considerations
- Cookie consent required in EU/UK/CA
- No PII in analytics properties
- Data retention settings
- User deletion capabilities
Implementation
- Use consent mode (wait for consent)
- IP anonymization
- Only collect what you need
- Integrate with consent management platform
Output Format
Tracking Plan Document
# [Site/Product] Tracking Plan
## Overview
- Tools: GA4, GTM
- Last updated: [Date]
## Events
| Event Name | Description | Properties | Trigger |
|------------|-------------|------------|---------|
| signup_completed | User completes signup | method, plan | Success page |
## Custom Dimensions
| Name | Scope | Parameter |
|------|-------|-----------|
| user_type | User | user_type |
## Conversions
| Conversion | Event | Counting |
|------------|-------|----------|
| Signup | signup_completed | Once per session |Task-Specific Questions
- What tools are you using (GA4, Mixpanel, etc.)?
- What key actions do you want to track?
- What decisions will this data inform?
- Who implements - dev team or marketing?
- Are there privacy/consent requirements?
- What's already tracked?
Tool Integrations
For implementation, see the tools registry. Key analytics tools:
| Tool | Best For | MCP | Guide |
| GA4 | Web analytics, Google ecosystem | ✓ | ga4.md |
| Mixpanel | Product analytics, event tracking | - | mixpanel.md |
| Amplitude | Product analytics, cohort analysis | - | amplitude.md |
| PostHog | Open-source analytics, session replay | - | posthog.md |
| Segment | Customer data platform, routing | - | segment.md |
Related Skills
- ab-testing: For experiment tracking
- attribution: For attribution models, multi-touch/MMM/incrementality, and reconciling conflicting numbers across tools (once tracking is live)
- seo-audit: For organic traffic analysis
- cro: For conversion optimization (uses this data)
- revops: For pipeline metrics, CRM tracking, and revenue attribution
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

