Amplitude Tracking Plan
Amplitude answers product-behavior questions. Sentry remains the source for errors, stack traces, and production support reports.
Primary Question
Most new users appear to create one project, make at most one meaningful canvas update, run one or two studies, and stop. This tracking plan measures where that first-project journey breaks down and whether users come back after signup.
Privacy Rules
- Do not send project names, component names, electrical values, uploaded file
contents, AI prompt text, calculation payloads, or report contents.
- Project and study identifiers are allowed for joining funnel events.
- Onboarding enum answers are allowed.
- Session Replay uses conservative masking by default. Use
data-amplitude-block or data-sensitive-project on any UI area that should be visually blocked in replay.
Environment
NEXT_PUBLIC_AMPLITUDE_ENABLED: enables browser analytics when not"false".NEXT_PUBLIC_AMPLITUDE_API_KEY: browser Amplitude project API key.NEXT_PUBLIC_AMPLITUDE_SERVER_ZONE:USorEU; default isUS.NEXT_PUBLIC_AMPLITUDE_SESSION_REPLAY_SAMPLE_RATE: replay sample rate from
0 to 1; default in code is 1 for early diagnostic use.
AMPLITUDE_ENABLED: enables server analytics when not"false".AMPLITUDE_API_KEY: server Amplitude project API key.AMPLITUDE_SERVER_ZONE:USorEU; default isUS.
Identity
User properties:
emailnameorganization_idorganization_typeorganization_roleplan_typesubscription_statusonboarding_completedhas_seen_welcome_projectsignup_date
Group:
organization_id
Events
| Event | Source | Purpose |
|---|---|---|
App Opened | Browser session | Counts authenticated sessions. |
Activity Day Recorded | Browser once per local day | Retention by days_since_signup. |
Onboarding Dialog Shown | Browser | Measures onboarding exposure. |
Onboarding Step Completed | Browser | Finds onboarding question drop-off. |
Onboarding Completed | Server | Durable onboarding completion. |
Onboarding Skipped | Server | Durable onboarding escape hatch. |
Welcome Project Created | Server | First project created by onboarding flow. |
Project Opened | Browser | User reached the editor. |
Project Created | Server | User manually created a project. |
Canvas State Saved | Server | User changed saved canvas state. |
Study Run Created | Server | User initiated a study. |
Study Run Completed | Server | Study reached a successful result. |
Study Run Failed | Server | Study failed or hit a blocker. |
Component Added | Server project activity | User added SLD content. |
Component Edited | Server project activity | User edited SLD content. |
Component Deleted | Server project activity | User removed SLD content. |
Connection Added | Server project activity | User connected SLD content. |
Connection Edited | Server project activity | User changed a connection. |
Connection Deleted | Server project activity | User removed a connection. |
Project Activity Recorded | Server project activity | Fallback for other activity types. |
Core Funnels
New-user activation:
Activity Day Recordedwheredays_since_signup = 0Onboarding CompletedorOnboarding SkippedWelcome Project CreatedProject OpenedComponent AddedorCanvas State SavedStudy Run CompletedActivity Day Recordedwheredays_since_signup >= 1
Manual project adoption:
Welcome Project CreatedProject OpenedProject CreatedProject Openedwith the manually createdproject_idStudy Run Completed
Study dead-end:
Study Run CreatedStudy Run Failed- No
Study Run Completed - No
Activity Day Recordedon later days
Dashboard Cuts
- Split activation funnels by
role,company_type,sld_experience, and
design_focus.
- Cohort users with
days_since_signup = 0and no laterActivity Day Recorded. - Cohort users with exactly one
Project Created, oneCanvas State Saved, and
one or two Study Run Completed events.
- Segment first-project study results by
study_typeandhas_error_message.