What problem does it solve? Setting up marketing tracking codes (Meta Pixel, Google Ads/GA4, TikTok, Clarity, etc.) in a new project is repetitive and error-prone, especially when scripts must be hardcoded into the <head> rather than loaded via environment variables, which causes initialization timing failures. ## Core Features & Use Cases - Framework Auto-Detection: Detects Next.js, Nuxt, or vanilla/Vite projects and injects scripts using the correct mechanism (dangerouslySetInnerHTML, app.head.script, or direct <script> tags). - Event Wrapper Generation: Creates lib/analytics/ wrapper files per platform plus a unified trackEvent() hub with an AnalyticsEvent discriminated union type. - CSP Whitelist Updates: Adds each platform's required domains to Content Security Policy rules in middleware. - Use Case: A marketer hands you Meta Pixel and Google Ads snippets for a new Next.js landing page; run the skill to inject both into app/layout.tsx, generate typed event wrappers, and update CSP in one pass. ## Quick Start Run /tracking meta google clarity and paste each platform's snippet when prompted to install all tracking codes into the project.