Analytics Tracking
Installation
SKILL.md
Analytics & Tracking Skill
Comprehensive analytics and event tracking implementation for Next.js applications. From basic page views to complex conversion funnels, this skill covers everything needed for data-driven decisions including provider integration, custom event systems, A/B testing, and privacy compliance.
Track user interactions, measure conversion funnels, run experiments, and gain actionable insights into user behavior. Integrate with popular analytics platforms like Vercel Analytics, PostHog, Mixpanel, and Google Analytics while maintaining privacy compliance.
Core Workflows
Workflow 1: Google Analytics 4 (GA4) Setup
Purpose: Implement Google Analytics for comprehensive web analytics
Steps:
- Install @next/third-parties package
- Add GoogleAnalytics component to layout
- Implement custom event tracking
- Set up conversion goals