Skip to content

Packs / product-analytics-public

tracking-plan

Check that tracked events match the tracking plan (names, required props, types) and carry no personal data

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-product-analytics-public

Install

logicpacks pack use product-analytics-public/tracking-plan
get_pack product-analytics-public/tracking-plan

The 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

  1. Write the plan: every event, its required and optional props with types.
  2. Export a day of raw events as NDJSON (PostHog/Umami API or Plausible custom events).
  3. 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.