feat: wire remaining PostHog analytics events #111

Merged
chihlasm merged 1 commits from feat/posthog-remaining-events into main 2026-03-16 22:49:01 +00:00
chihlasm commented 2026-03-16 22:48:58 +00:00 (Migrated from github.com)

Summary

Wires the remaining 4 PostHog events (+ flow_created) across all key user actions. Combined with PR #110, all 9 events from the product analytics plan are now fully tracked.

Event Where Count
export_generated SessionDetailPage (copy, copy-for-ticket, download) 3 call sites
ai_feature_used Copilot, Assistant Chat, Session-to-Flow, KB Accelerator, Flow Assist 5 call sites
psa_connected IntegrationsPage (create connection) 1 call site
session_shared ShareSessionModal (create share link) 1 call site
flow_created TreeEditorPage (2x), ProceduralEditorPage, SessionDetailPage 4 call sites

Test plan

  • Use each feature → verify events appear in PostHog dashboard

🤖 Generated with Claude Code

## Summary Wires the remaining 4 PostHog events (+ flow_created) across all key user actions. Combined with PR #110, all 9 events from the product analytics plan are now fully tracked. | Event | Where | Count | |-------|-------|-------| | `export_generated` | SessionDetailPage (copy, copy-for-ticket, download) | 3 call sites | | `ai_feature_used` | Copilot, Assistant Chat, Session-to-Flow, KB Accelerator, Flow Assist | 5 call sites | | `psa_connected` | IntegrationsPage (create connection) | 1 call site | | `session_shared` | ShareSessionModal (create share link) | 1 call site | | `flow_created` | TreeEditorPage (2x), ProceduralEditorPage, SessionDetailPage | 4 call sites | ## Test plan - [ ] Use each feature → verify events appear in PostHog dashboard 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.