analytics-tracking

Set up, implement, and audit analytics tracking for GA4 and GTM.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/AWS-Educate/template-nextjs-sanity-tailwind-amplify --skill analytics-tracking-aws-educate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analytics-tracking
Source: https://github.com/AWS-Educate/template-nextjs-sanity-tailwind-amplify/tree/main/.claude/skills/analytics-tracking
Command: npx skills add https://github.com/AWS-Educate/template-nextjs-sanity-tailwind-amplify --skill analytics-tracking-aws-educate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you set up, improve, or audit your website and application analytics tracking to ensure you're collecting the right data to inform business decisions.

Core Features & Use Cases

  • Tracking Plan Development: Guides you through defining what to track based on business questions.
  • Implementation Guidance: Provides best practices for GA4, Google Tag Manager, and UTM parameters.
  • Debugging & Validation: Offers tools and checklists to ensure your tracking is accurate.
  • Use Case: You're launching a new feature and need to track user engagement. This Skill will help you define the key events, set up GA4 tags in GTM, and validate that the data is being collected correctly.

Quick Start

Use the analytics-tracking skill to help set up Google Analytics 4 tracking for a new e-commerce website.

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 Google Analytics 4 tracking for a new website?

Set up Google Analytics 4 tracking by defining your key events based on business questions, deploying GA4 tags through Google Tag Manager, and validating the implementation using GTM Preview Mode. This ensures accurate data collection for user engagement.

What is the best way to create a tracking plan for marketing campaigns?

The best way to create a tracking plan is to define what to track based on your specific business questions. Use consistent UTM parameter strategies for marketing campaigns and follow event naming best practices to maintain high data quality.

How do I debug GA4 events using Google Tag Manager?

Debug GA4 events using GA4 DebugView and GTM Preview Mode. These validation tools and checklists help inspect incoming data streams, verify event naming conventions, and ensure your tracking implementation is accurate before full deployment.

Can I audit existing web and app analytics tracking to ensure privacy compliance?

Yes, you can audit existing analytics tracking to ensure privacy compliance and data quality. The process involves reviewing your GA4 and GTM configurations, validating event collection accuracy, and checking measurement protocols against best practices.

Why does my GA4 data not match my marketing campaign clicks?

GA4 data mismatches often occur due to inconsistent UTM parameter strategies or missing events in your tracking plan. Audit your Google Tag Manager tags using debugging tools to validate event naming and ensure accurate measurement collection.