Add Google Analytics 4 tracking to any project. Detects framework, adds tracking code, sets up events, and configures privacy settings.
add-analytics 0.1.0 — Initial release - Adds Google Analytics 4 tracking to projects, with automatic framework detection. - Supports Next.js, Nuxt.js, Astro, SvelteKit, Remix, Gatsby, Vite (React/Vue), Angular, Create React App, and plain HTML. - Validates provided Measurement ID and notifies if an outdated Universal Analytics ID is used. - Optionally includes custom event tracking helpers (--events), cookie consent integration (--consent), and debug mode (--debug). - Detects TypeScript usage, existing analytics integrations, and package manager.