analytics-setuplisted
Install: claude install-skill Mattakushi432/Claude-Code-Skills-Custom-DevTools-Pack
# Analytics Setup
## GA4 Setup Checklist
### Initial Configuration
- [ ] Create GA4 property (separate from UA if migrating)
- [ ] Install gtag.js or use GTM container
- [ ] Enable enhanced measurement (scroll, outbound clicks, file downloads, video, site search)
- [ ] Link to Google Search Console
- [ ] Link to Google Ads (if running paid)
- [ ] Set up data retention to 14 months (default is 2)
- [ ] Configure internal traffic filter (exclude your IP + office IPs)
- [ ] Set up cross-domain tracking if applicable
- [ ] Configure consent mode for GDPR/CCPA compliance
### Conversion Configuration
- [ ] Define key conversions (max 30 in GA4)
- [ ] Mark high-value events as conversions
- [ ] Set revenue parameters on purchase events
- [ ] Verify conversions in DebugView before going live
## Event Taxonomy
### Naming Convention
```
[object]_[action] (snake_case, all lowercase)
Examples:
signup_started
signup_completed
trial_activated
plan_upgraded
feature_used
report_exported
invite_sent
invite_accepted
```
### Standard Events to Track (SaaS)
| Event | Parameters | Trigger |
|-------|------------|---------|
| `page_view` | page_path, page_title | Every page load |
| `signup_started` | source, plan | Signup form opened |
| `signup_completed` | plan, method | Account created |
| `trial_activated` | plan | Trial period begins |
| `onboarding_step_completed` | step_name, step_number | Each onboarding step |
| `feature_used` | feature_name, context | Feature fir