analytics-tracking

Implements analytics event tracking plans for GA4, GTM, and product analytics platforms.

26|3|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/robertbstillwell/marketing-skills --skill analytics-tracking-robertbstillwell
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: analytics-tracking
Source: https://github.com/robertbstillwell/marketing-skills/tree/main/analytics-tracking
Command: npx skills add https://github.com/robertbstillwell/marketing-skills --skill analytics-tracking-robertbstillwell

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up analytics tracking often results in inconsistent event names, missing conversions, and unreliable data that cannot inform marketing or product decisions. This Skill provides a structured framework for planning, implementing, and validating analytics tracking across GA4, Google Tag Manager, and product analytics tools. ## Core Features & Use Cases - Tracking Plan Design: Creates structured tracking plans with consistent object-action event naming, standardized properties, and documented conversion definitions. - GA4 and GTM Implementation: Provides gtag.js and dataLayer code patterns, conversion setup, custom dimensions, and consent mode configuration. - Event Libraries by Business Type: Supplies ready-to-use event taxonomies for marketing sites, SaaS products, e-commerce, and B2B funnels. - Use Case: A SaaS team launching a new signup flow uses this Skill to define events like signup_completed and onboarding_step_completed, implement them via GTM dataLayer pushes, mark conversions in GA4, and validate everything with DebugView before launch. ## Quick Start Ask the agent to create a tracking plan for your website or app, specifying your analytics tool and the key conversions you want to measure.

Frequently Asked Questions about analytics-tracking

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

FAQPage Schema
How do I set up conversion tracking in GA4?▼

Set up GA4 conversion tracking by first ensuring your event fires via gtag.js or GTM, then marking it as a conversion in Admin > Events. Choose a counting method (once per session for leads, every event for purchases) and optionally import conversions into Google Ads.

How to track custom events with Google Tag Manager?▼

Track custom events in GTM by pushing structured data to the dataLayer with an event name and properties, then creating a GA4 Event tag triggered by a Custom Event trigger matching that name. Use Preview mode to verify the tag fires with correct parameter values.

What event naming convention should I use for analytics?▼

Use lowercase object-action format with underscores, such as signup_completed or form_submitted. Be specific (cta_hero_clicked rather than button_clicked), put context in event properties rather than names, and document all naming decisions in a tracking plan.

GA4 vs Mixpanel vs Amplitude for product analytics?▼

GA4 suits web analytics within the Google ecosystem and ad attribution, while Mixpanel and Amplitude focus on product analytics with event tracking and cohort analysis. PostHog offers an open-source alternative with session replay, and Segment routes data to multiple destinations.

Why are my GA4 events not showing up in reports?▼

Missing GA4 events usually stem from the tag not firing, incorrect trigger configuration, or parameter name mismatches. Check DebugView first with debug_mode enabled, verify the gtag or GTM container loads, and allow 24-48 hours for standard report processing.

How do I make analytics tracking GDPR compliant?▼

Make tracking compliant by implementing consent mode with analytics_storage denied by default until the user consents, enabling IP anonymization, avoiding PII in event properties, and integrating a consent management platform. Cookie consent is required in the EU, UK, and California.