This handles analytics setup from initial planning through implementation, whether you're starting fresh with GA4 or auditing what's already there. It walks you through building a tracking plan, establishing naming conventions, and implementing events via GTM or direct integration. The framework is decision-focused rather than data-hoarding, which is the right approach. Covers the essentials for marketing sites, SaaS products, and e-commerce, including UTM strategies and event property standards. Useful when you need to move beyond "just throw GA4 on the page" and actually track things that matter for your business decisions.

skills.sh installs
361
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill analytics-tracking --agent claude-code

Installs into .claude/skills of the current project.

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

Before implementing tracking, understand:

  1. Business Context

    • What decisions will this data inform?
    • What are the key conversion actions?
    • What questions need answering?
  2. Current State

    • What tracking exists?
    • What tools are in use (GA4, Mixpanel, Amplitude, etc.)?
    • What's working/not working?
  3. Technical Context

    • What's the tech stack?
    • Who will implement and maintain?
    • 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

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Testing & QA, Data Science & ML, Release Management, Productivity & Planning, Marketing & SEO, Sales & Marketing
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1pmprompt avatarpmf-surveypmprompt/claude-plugin-product-managementUse when asked to "PMF survey", "measure product-market fit", "40% rule", "Sean Ellis test", "Rahul Vohra method", or "how disappointed would you be". Helps qua358skills.sh installs
2pedronauck avatarhormozi-ad-factorypedronauck/skillsGenerates 150-750+ ad variations using Alex Hormozi's combinatorial Hook x Meat x CTA framework. Triggers on requests to create ads, ad copy, ad scripts, market353skills.sh installs
3davila7 avatarevaluating-code-modelsdavila7/claude-code-templatesEvaluates code generation models across HumanEval, MBPP, MultiPL-E, and 15+ benchmarks with pass@k metrics. Use when benchmarking code models, comparing coding 350skills.sh installs
4siviter-xyz avatarbackend-engineersiviter-xyz/dot-agentBuild robust backend systems with modern technologies (Node.js, Python, Go, Rust), frameworks (NestJS, FastAPI, Django), databases (PostgreSQL, MongoDB, Redis),349skills.sh installs
5jezweb avatarcloudflare-turnstilejezweb/claude-skillsAdd bot protection with Turnstile (CAPTCHA alternative). Use when: protecting forms, securing login/signup, preventing spam, migrating from reCAPTCHA, integrati348skills.sh installs
6madteacher avatarflutter-duit-bduimadteacher/mad-agents-skillsIntegrate, fix, review, migrate, test, or debug Duit / flutter_duit backend-driven UI in Flutter applications. Use when a task mentions DUIT, flutter_duit, back346skills.sh installs