Instrumentation model
Recommended core events: session_started, session_heartbeat, session_ended, screen_view, screen_leave, onboarding_step_view, onboarding_step_complete, premium_purchase.
- Always send
sessionIdfor session lifecycle events. - Include
userIdfor all user-level conversion analysis. - For
screen_leave, includeproperties.duration_mswhen available. - For onboarding events, include
properties.stepwith a stable slug. - For purchases, include stable revenue fields such as
properties.amountandproperties.currency.
Practical tip: avoid sending highly-cardinal free text (full URLs, random IDs) as top-level report properties unless you truly need them. Keep dashboards readable and query costs predictable.
Next step
Use Event taxonomy to formalize naming/property rules for your whole team.