Convenient auto-capture can overcollect
A useful funnel may need to know that review opened or delivery failed, not what a person's portrait looked like or what their prompt said. Generic event helpers and session replay can capture more than the event designer intended.
What to do next
- 01
Define each event's purpose
For every event, name the decision it supports and the minimum fields required. Prefer operation kind, safe state category and bounded timing values over raw payloads, free-text errors or customer media references.
- 02
Enforce the schema centrally
Reject unknown analytics properties and mask or exclude sensitive interface regions in any replay tooling. Keep operational correlation identifiers scoped and access-controlled rather than sending every internal task field to a third-party destination.
- 03
Test with recognizable synthetic secrets
Enter distinctive fake prompt text and fake credentials in a local test session. Inspect outgoing analytics and replay payloads to verify those strings, media URLs and private response bodies do not appear.
A concrete example
Illustrative example: an event records review_opened with kind image and a coarse completion-age bucket. It does not include the image URL, prompt or assistant response, yet still answers whether users reach review after delivery.
Before you call it ready
- Events have a stated measurement purpose.
- Unknown properties are rejected.
- Synthetic secret strings never leave through analytics.
When to stop or choose another method
Stop passing whole project or response objects to analytics helpers when the measurement only requires a small set of workflow fields.
