Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Analytics Events?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ansh44233-analytics-events)
---
description: Instrument product analytics with a tracking plan, typed events, consent and no PII
profile: full
tags: analytics, product, privacy, frontend
---
# Analytics events
Bad analytics are worse than none because people make decisions on them.
## Tracking plan
- Define events as `Object Action` (`Checkout Completed`) with typed properties, in one shared definition.
- Track outcomes, not every click.
## Implementation
- Typed wrapper around the analytics SDK so names and properties can't drift.
- Fire server-side for critical business events (payments) so ad blockers don't drop them.
## Privacy
- Respect consent before loading trackers; no emails, names or free text in properties; use internal ids.
## Verify
Trigger the flow in a dev build and check the analytics debugger shows each event once, with the expected properties and no PII.