analytics-tracking

Implement analytics tracking for web and app events using GA4, GTM, Mixpanel, Amplitude, or PostHog.

Updated Feb 25, 2026
One-click install
npx skills add https://github.com/mikelmyers/danicleans --skill analytics-tracking-mikelmyers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics-tracking
Source: https://github.com/mikelmyers/danicleans/tree/main/.agents/skills/analytics-tracking
Command: npx skills add https://github.com/mikelmyers/danicleans --skill analytics-tracking-mikelmyers

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps teams design, implement, and audit analytics tracking so product and marketing decisions are driven by reliable, actionable data instead of inconsistent or noisy events.

Core Features & Use Cases

  • Tracking Plan Framework: Defines event taxonomy, naming conventions, and property mappings to ensure consistent data across GA4, GTM, Mixpanel, or other analytics platforms.
  • Implementation Guidance: Practical steps for GA4 and Google Tag Manager configuration, dataLayer patterns, tag and trigger setup, and conversion marking.
  • Validation & Debugging: Checks and tools to validate events, prevent duplicates, monitor data quality, and ensure privacy/consent compliance.
  • Use Case: Audit an existing GA4/GTM setup, produce a prioritized tracking plan with event definitions, and provide implementation notes for developers.

Quick Start

Audit my site's GA4 and GTM setup, list missing or inconsistent events, and produce a prioritized tracking plan with event names, properties, triggers, and validation steps.

Frequently Asked Questions about analytics-tracking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a tracking plan for GA4 and Google Tag Manager?

Auditing GA4 and GTM involves checking event taxonomy for inconsistencies, validating dataLayer patterns, and monitoring for duplicate tags. You review tag and trigger configurations against your tracking plan to identify missing or noisy events and ensure reliable data capture.

How does dataLayer design work for event tracking?

DataLayer design works by structuring a JavaScript object on your site to pass specific event names and properties to Google Tag Manager. This structured layer separates your site's business logic from your marketing tags, enabling consistent measurement across web and app environments.

Can I use this approach to track events in Mixpanel or Amplitude?

Setting up UTM strategy for analytics involves defining consistent UTM parameters to capture marketing campaign attribution accurately. You map these parameters to custom dimensions in your analytics platform, ensuring marketing events and conversions are reliably attributed to their sources.

How do I validate events and handle consent constraints in analytics tracking?

You validate events using debug tools to check data quality and prevent duplicates. To handle consent and PII constraints, you configure your tags and triggers to respect user privacy settings, ensuring your analytics measurement remains compliant while capturing business-critical data.