forge-analyticslisted
Install: claude install-skill RamzanReshi/forge-analytics
# Forge Analytics
Make a site's analytics functional and logical: correct install, meaningful events, good parameters, real conversion insight.
Three modes. Pick based on what the user asked; when unclear, run **Audit** first — it is read-only and tells you what the other modes need to do.
| Mode | Trigger | Output |
|---|---|---|
| **Audit** | "check/audit my analytics", "is tracking working", no tag given | Plain-English report card. No code changes. |
| **Install** | "set up GA4", "add this tag", tag ID given, or audit found gaps | Analytics helper + wired events + docs |
| **Verify** | "are events firing", GA4 credentials available | Live data check + conversion grading |
Always finish with the **plain-English summary** (see `references/reporting.md`). That is the deliverable the user actually reads.
---
## Mode 1: Audit (read-only)
Run the scanner, then interpret. Never skip straight to conclusions — read the actual files.
```bash
python3 scripts/audit_analytics.py --root . --out /tmp/forge-analytics-audit.json
```
The scanner detects: measurement IDs, gtag/GTM snippets, existing helper modules, event call sites, route-change handling, env gating, consent tooling, and competing analytics vendors. It flags but does not fix.
Then read the flagged files yourself and judge quality against `references/event-taxonomy.md`:
1. **Install correctness** — one tag, loaded once, not duplicated across index.html *and* a component. `send_page_view` handling matches whether r