analytics

Designs and implements analytics tracking plans for GA4, GTM, and product analytics platforms.

Updated Aug 6, 2026
One-click install
npx skills add https://github.com/ferrarifankid04/ai-skills-public --skill analytics-ferrarifankid04
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics
Source: https://github.com/ferrarifankid04/ai-skills-public/tree/main/claude-code/skills/analytics
Command: npx skills add https://github.com/ferrarifankid04/ai-skills-public --skill analytics-ferrarifankid04

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, duplicate events, and data that cannot be trusted for decisions. This Skill provides a structured framework for planning, implementing, validating, and debugging analytics tracking so marketing and product teams can measure what actually matters. ## Core Features & Use Cases - Tracking Plan Design: Builds event taxonomies using object-action naming conventions, with essential events for marketing sites, SaaS products, and e-commerce funnels. - GA4 and GTM Implementation: Provides gtag.js snippets, dataLayer push patterns, conversion setup, custom dimensions, and consent mode configuration. - Debugging and Compliance: Diagnoses duplicate events and GA4-vs-database discrepancies, and implements GDPR-compliant consent-based tag firing. - Use Case: A B2B SaaS team launching a new product asks for a tracking plan covering signups, feature usage, and upgrades, and receives a complete event table with GA4/GTM implementation code and a validation checklist. ## Quick Start Ask the assistant to create a tracking plan for your website or product, mentioning your analytics tools such as GA4, GTM, Mixpanel, or Segment.

Frequently Asked Questions about analytics

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.

What UTM parameters should I use for ad campaigns?

Use utm_source for the traffic source (google, newsletter), utm_medium for the channel type (cpc, email), and utm_campaign for the campaign name. Keep everything lowercase, use consistent separators, and document all values in a shared spreadsheet.

Why are duplicate events firing in Google Tag Manager?

Duplicate GTM events usually come from multiple containers on one page, overlapping trigger conditions, or tags firing both on page view and custom events. Use GTM Preview mode and GA4 DebugView to inspect which tags fire and their trigger conditions.

How do I make GA4 tracking GDPR compliant?

Make GA4 GDPR compliant by implementing consent mode with analytics_storage denied by default, integrating a consent management platform, and only updating consent state after user approval. Also configure data retention settings and avoid sending PII in event parameters.

What events should an e-commerce site track?

An e-commerce site should track product_viewed, product_added_to_cart, cart_viewed, checkout_started, payment_info_entered, and purchase_completed as core funnel events. Include item parameters like item_id, price, quantity, and currency for enhanced e-commerce reporting.

Why do GA4 conversion numbers not match my database?

GA4 and database mismatches commonly result from consent mode filtering, ad blockers, client-side versus server-side tracking differences, and session timeout settings. Validate with DebugView and consider server-side tagging for critical conversion events.