analytics-tracking
Set up, audit, and debug analytics tracking implementation — GA4, Google Tag Manager, event taxonomy, conversion tracking, and data quality.
Skill by Alireza Rezvani
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/smartrickpicks-analytics-tracking
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: data, security, marketing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
analytics-tracking- Description
- Set up, audit, and debug analytics tracking implementation — GA4, Google Tag Manager, event taxonomy, conversion tracking, and data quality. Use when building a tracking plan from scratch, auditing existing analytics for gaps or errors, debugging missing events, or setting up GTM. Trigger keywords: GA4 setup, Google Tag Manager, GTM, event tracking, analytics implementation, conversion tracking, tracking plan, event taxonomy, custom dimensions, UTM tracking, analytics audit, missing events, tracking broken. NOT for analyzing marketing campaign data — use campaign-analytics for that. NOT for BI dashboards — use product-analytics for in-product event analysis.
- License
- MIT
- Metadata
- author: Alireza Rezvani · updated: 2026-03-06 · version: 1.0.0 · category: marketing
- Instructions
- 362 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- debugging-playbook.md · references/
- event-taxonomy-guide.md · references/
- gtm-patterns.md · references/
- tracking_plan_generator.py · scripts/
SKILL.md (first lines)
# Analytics Tracking You are an expert in analytics implementation. Your goal is to make sure every meaningful action in the customer journey is captured accurately, consistently, and in a way that can actually be used for decisions — not just for the sake of having data. Bad tracking is worse than no tracking. Duplicate events, missing parameters, unconsented data, and broken conversions lead to decisions made on bad data. This skill is about building it right the first time, or finding what's broken and fixing it. ## Before Starting **Check for context first:** If `marketing-context.md` exists, read it before asking questions. Use that context and only ask for what's missing. Gather this context: ### 1. Current State - Do you have GA4 and/or GTM already set up? If so, what's broken or missing? - What's your tech stack? (React SPA, Next.js, WordPress, custom, etc.) - Do you have a consent management platform (CMP)? Which one? - What events are you currently tracking (if any)? ### 2. Business Context - What are your primary conversion actions? (signup, purchase, lead form, free trial start) - What are your key micro-conversions? (pricing page view, feature discovery, demo request) - Do you run paid campaigns? (Google Ads, Meta, LinkedIn — affects conversion tracking needs) ### 3. Goals - Building from scratch, auditing existing, or debugging a specific issue? - Do you need cross-domain tracking? Multiple properties or subdomains? - Server-side tagging requirement? (GDPR-sensitive markets, performance concerns) ## How This Skill Works ### Mode 1: Set Up From Scratch No analytics in place — we'll build the tracking plan, implement GA4 and GTM, define the event taxonomy, and configure conversions. ### Mode 2: Audit Existing Tracking Tracking exists but you don't trust the data, coverage is incomplete, or you're adding new goals. We'll audit what's there, gap-fill, and clean up. ### Mode 3: Debug Tracking Issues Specific events are missing, conversion numbers don't add up, or GTM preview shows events firing but GA4 isn't recording them. Structured debugging workflow. --- ## Event Taxonomy Design Get this right before touching GA4 or GTM. Retrofitting taxonomy is painful. ### Naming Convention **Format:** `object_action` (snake_case, verb at the end) | ✅ Good | ❌ Bad | |--------|--------| | `form_submit` | `submitForm`, `FormSubmitted`, `form-submit` | | `plan_selected` | `clickPricingPlan`, `selected_plan`, `PlanClick` | | `video_started` | `videoPlay`, `StartVideo`, `VideoStart` | | `checkout_completed` | `purchase`, `buy_complete`, `checkoutDone` | **Rules:** - Always `noun_verb` not `verb_noun` - Lowercase + underscores only — no camelCase, no hyphens - Be specific enough to be unambiguous, not so verbose it's a sentence - Consistent tense: `_started`, `_completed`, `_failed` (not mix of past/present) ### Standard Parameters Every event should include these where applicable: | Parameter | Type | Example | Purpose | |-----------|------|---------|---------| | `page_location` | string | `https://app.co/pricing` | Auto-captured by GA4 | | `page_title` | string | `Pricing - Acme` | Auto-captured by GA4 | | `user_id` | string | `usr_abc123` | Link to your CRM/DB | | `plan_name` | string | `Professional` | Segment by plan | | `value` | number | `99` | Revenue/order value | | `currency` | string | `USD` | Required with value | | `content_group` | string | `onboarding` | Group pages/flows | | `method` | string | `google_oauth` | How (signup method, etc.) | ### Event Taxonomy for SaaS **Core funnel events:** ``` visitor_arrived (page view — automatic in GA4) signup_started (user clicked "Sign up") signup_completed (account created successfully) trial_started (free trial began) onboarding_step_completed (param: step_name, step_number) feature_activated (param: feature_name) plan_selected (param: plan_name, billing_period) checkout_started (param: value, currency, plan_name) checkout_completed (param: value, currency, transaction_id) subscription_cancelled (param: cancel_reason, plan_name) ``` **Micro-conversion events:** ``` pricing_viewed demo_requested (param: source) form_submitted (param: form_name, form_location) content_downloaded (param: content_name, content_type) video_started (param: video_title) video_completed (param: video_title, percent_watched) chat_opened help_article_viewed (param: article_name) ``` See [references/event-taxonomy-guide.md](references/event-taxonomy-guide.md) for the full taxonomy catalog with custom dimension recommendations. --- ## GA4 Setup ### Data Stream Configuration 1. **Create property** in GA4 → Admin → Properties → Create 2. **Add web data stream** with your domain 3. **Enhanced Measurement** — enable all, then review: - ✅ Page views (keep) - ✅ Scrolls (keep)
From smartrickpicks/substrate-bk-airlock-skills-library, MIT.
More from smartrickpicks/substrate-bk-airlock-skills-library
- 0.474score
otto-content-engine
smartrickpicks
The OTTO Content Engine — a complete creative playbook for producing viral short-form video campaigns using found movie clips (playphrase.me), AI-generated…
SkillCFreshness: CClaude Code +9 - 0.474score
agent-otto
smartrickpicks
Agent OTTO — PI-behavioral skill orchestrator that routes personas, skills, and workflow chambers based on the Predictive Index framework.
SkillCFreshness: CClaude Code +9 - 0.469score
atlassian-admin
smartrickpicks
Atlassian Administrator for managing and organizing Atlassian products, users, customization of the Atlassian suite, permissions, security, integrations…
SkillCFreshness: CClaude Code +9 - 0.469score
animation-patterns
smartrickpicks
Adding motion, CSS/JS transitions, scroll-triggered effects, micro-interactions, page load choreography, or any dynamic visual behavior to a frontend.
SkillCFreshness: CClaude Code +9 - 0.469score
component-library
smartrickpicks
Managing the official component library — the production-ready UI components that get used in real projects.
SkillCFreshness: CClaude Code +9 - 0.469score
frontend-design
smartrickpicks
Building any UI component, page, artifact, or visual interface.
SkillCFreshness: CClaude Code +9 - 0.469score
agent-sync
smartrickpicks
Multi-agent coordination for keeping Claude Code, Codex, Cursor, Windsurf, and other AI agents in sync when working from this repo.
SkillCFreshness: CClaude Code +9 - 0.469score
ai-context
smartrickpicks
Updating AGENTS.md, CLAUDE.md, adding new skills, or maintaining the agent context system in this repo.
SkillCFreshness: CClaude Code +9 - 0.466score
template-intake
smartrickpicks
Curating and cataloging templates dropped into the templates/ directory.
SkillCFreshness: CClaude Code +9 - 0.251score
agent-designer
smartrickpicks
No description from the publisher yet.
SkillCFreshness: CClaude Code +9 - 0.247score
agent-workflow-designer
smartrickpicks
No description from the publisher yet.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 18, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.490score
analytics-tracking
Alireza Rezvani
Set up, audit, and debug analytics tracking implementation — GA4, Google Tag Manager, event taxonomy, conversion tracking, and data quality.
SkillCFreshness: C★ 4Claude Code +9 - 0.296score
analytics-tracking
Alireza Rezvani
Set up, audit, and debug analytics tracking implementation — GA4, Google Tag Manager, event taxonomy, conversion tracking, and data quality.
SkillCFreshness: C★ 4Claude Code +9 - 0.271score
analytics-tracking
Alireza Rezvani
Set up, audit, and debug analytics tracking implementation — GA4, Google Tag Manager, event taxonomy, conversion tracking, and data quality.
SkillCFreshness: CClaude Code +9 - 0.271score
analytics-tracking
Alireza Rezvani
Set up, audit, and debug analytics tracking implementation — GA4, Google Tag Manager, event taxonomy, conversion tracking, and data quality.
SkillCFreshness: CClaude Code +9 - 0.234score
analytics-tracking
Alireza Rezvani
Set up, audit, and debug analytics tracking implementation — GA4, Google Tag Manager, event taxonomy, conversion tracking, and data quality.
SkillDFreshness: DClaude Code +9 - 0.229score
analytics-tracking
Alireza Rezvani
Set up, audit, and debug analytics tracking implementation — GA4, Google Tag Manager, event taxonomy, conversion tracking, and data quality.
SkillDFreshness: DClaude Code +9
More from Alireza Rezvani
- 0.694score
content-creator
Alireza Rezvani
Create SEO-optimized marketing content with consistent brand voice.
SkillBFreshness: B★ 111Claude Code +9 - 0.600score
autoresearch-agent
Alireza Rezvani
Autonomous experiment loop that optimizes any file by a measurable metric.
SkillAFreshness: A★ 11Claude Code +9 - 0.572score
content-creator
Alireza Rezvani
Create SEO-optimized marketing content with consistent brand voice.
SkillDFreshness: D★ 123Claude Code +9 - 0.557score
ceo-advisor
Alireza Rezvani
Executive leadership guidance for strategic decision-making, organizational development, and stakeholder management.
SkillAFreshness: A★ 1Claude Code +9 - 0.557score
board-deck-builder
Alireza Rezvani
Assembles comprehensive board and investor update decks by pulling perspectives from all C-suite roles.
SkillAFreshness: A★ 1Claude Code +9 - 0.557score
cfo-advisor
Alireza Rezvani
Financial leadership for startups and scaling companies.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
analytics-tracking skill. Agent Mart. https://agentmart.dev/skills/smartrickpicks-analytics-tracking (last updated 2026-10-24)