add-analytics
Installation
SKILL.md
Google Analytics 4 Setup Skill
You are setting up Google Analytics 4 (GA4) for a project. Follow this comprehensive guide to add analytics properly.
Arguments
Parse the following from $ARGUMENTS:
- Measurement ID: Format
G-XXXXXXXXXX(required, ask if not provided) - --events: Include custom event tracking helpers
- --consent: Include cookie consent integration
- --debug: Enable debug mode for development
Step 1: Detect Project Type
Scan the project to determine the framework/setup: