Packs / product-analytics-public
tracking-plan
Check that tracked events match the tracking plan (names, required props, types) and carry no personal data
Install
logicpacks pack use product-analytics-public/tracking-planget_pack product-analytics-public/tracking-planThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
stdlib - Checks: 2 in
outcome/checks.yaml - Code:
tracking_plan.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
Check that tracked events match the tracking plan (names, required props, types) and carry no personal data.
Steps
- Write the plan: every event, its required and optional props with types.
- Export a day of raw events as NDJSON (PostHog/Umami API or Plausible custom events).
python3 code/tracking_plan.py plan.json events.ndjson; fix code that sends unknown events, missing/mistyped props or personal data.
Edge cases
- Numbers sent as strings fail on purpose (they break sums).
Don'ts
- Never send emails, phone numbers or names as event props.
Check
lp pack check product-analytics/tracking-plan runs outcome/checks.yaml.