identify once the person enters their information.src/instrumentation-client.ts initializes the client in production via /ingest, with PII scrubbing in src/util/posthog/sharedConfig.ts.scheduler_service_selected (ServiceConfirmation.tsx), scheduler_slot_selected (SlotsStep.tsx), scheduler_job_booked / scheduler_booking_failed (BookingJobLoader.tsx), scheduler_quote_sent (SendQuoteLoader.tsx).SchedulerContext.tsx calls posthog.identify(contactId, …) and registers scheduler_contact_id when a contact record exists.SchedulerRunProvider sets scheduler_run_id on both public /scheduler and internal /tools/schedule.posthog-setup-report.md) but covers only service → slot → booked — not property, contact, summary, quote, or failure paths.src/app/scheduler/page.tsx: Services → Property → Schedule (slots) → Contact → Summary (SchedulerContent.tsx). Contact identification currently happens when the contact object is set (step 4), after slot selection (step 3).Locked
identify when the user enters contact information in the scheduler flow (extend/refine existing SchedulerContext behavior as needed)./scheduler only. Internal CSR scheduling at /tools/schedule is out of scope for this work./scheduler sessions — not sampled.scheduler_run_id and contact id remain useful secondary filters when known.Open
contact._id exists in context)?src/app/scheduler/ (layout wraps SchedulerRunProvider; main flow in SchedulerContent.tsx, steps 1–5).src/app/tools/schedule/ — do not add or extend scheduler analytics events there for this ticket.src/app/scheduler/SchedulerContext.tsx — company group, contact identify, scheduler_contact_id register.src/components/scheduling/SchedulerRunProvider.tsx — scheduler_run_id per tab session (continue on public scheduler).ServiceConfirmation.tsx, SlotsStep.tsx, BookingJobLoader.tsx, SendQuoteLoader.tsx./scheduler routes (no scheduler-specific replay config in instrumentation-client.ts today).company_id, scheduler_run_id, step name/order, surface=scheduler (or equivalent) for PostHog filtering.Out of scope (v1)
/tools/schedule analytics./scheduler sessions.company_id, scheduler_run_id, and step context for filtering.attik-frontend/src/instrumentation-client.tsattik-frontend/src/util/posthog/sharedConfig.tsattik-frontend/src/app/scheduler/SchedulerContext.tsxattik-frontend/src/components/scheduling/SchedulerRunProvider.tsxattik-frontend/src/app/scheduler/page.tsx, SchedulerContent.tsxattik-frontend/posthog-setup-report.mdPlease authenticate to join the conversation.
Planned
Main App
About 20 hours ago
Linear
Get notified by email when there are changes.
Planned
Main App
About 20 hours ago
Linear
Get notified by email when there are changes.