Analytics Tracking

This skill helps you set up, audit, and debug analytics tracking for GA4 and Google Tag Manager. It covers event taxonomy design, GA4 and GTM configuration, conversion tracking for Google Ads and Meta, cross-domain tracking, and data quality best practices. It produces tracking plans, audit reports, and debugging guidance.

✨ What it does

  • Defines a strict event naming convention (object_action, snake_case).
  • Provides a standard parameter list for consistent event data.
  • Includes a sample SaaS event taxonomy for core funnel and micro-conversions.
  • Offers GA4 setup guidance including data stream configuration and key events.
  • Provides GTM container structure and tag patterns for reliable event tracking.
  • Includes data quality checks for deduplication, bot filtering, and consent mode.

🎯 When to use it

  • Building a tracking plan from scratch for a new website or app.
  • Auditing existing analytics implementation to find gaps or errors.
  • Debugging missing events or broken conversion tracking.
  • Setting up Google Tag Manager or GA4 for the first time.
  • Configuring conversion tracking for Google Ads or Meta.

🚀 How to use

Trigger the skill by asking to set up, audit, or debug analytics tracking. Provide context such as current state, tech stack, business goals, and any existing tracking. The skill will guide you through the appropriate mode: setup from scratch, audit, or debug. Example prompts:

Build a tracking plan for my SaaS website.
Audit my current GA4 and GTM setup for missing events.
Debug why my checkout_completed event isn't firing in GA4.

📄 Output: Deliverables include event taxonomy tables, GA4/GTM configuration checklists, gap analysis reports, and debugging steps.

📦 Add this skill to Claude Code

# 1. Get the skills repo
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills

# 2. Copy this skill into your project (or ~/.claude/skills for all projects)
mkdir -p .claude/skills
cp -r /tmp/claude-skills/marketing-skill/skills/analytics-tracking .claude/skills/analytics-tracking

Skill source: marketing-skill/skills/analytics-tracking/SKILL.md

⚠️ Good to know

This skill does not analyze marketing campaign data (use campaign-analytics) or build BI dashboards (use product-analytics).

❓ FAQ

What is the recommended event naming convention?

Use object_action in snake_case, with the verb at the end, e.g., form_submit, plan_selected.

How many key events should I mark in GA4?

Keep it under 30 per property and only mark events that are true conversions, not micro-conversions.

What should I do if events are firing twice?

Check for duplicate tags in GTM, conflicts with Enhanced Measurement, or SPA pageview issues. Use GTM Preview and Network tab to diagnose.

🤖 Overview, features, install steps and FAQ were generated from the project's SKILL.md on Sep 4, 2026. Always check the original source before running commands.