feat: add PostHog analytics for macOS and Windows#38
Open
Aryansharma28 wants to merge 2 commits intomainfrom
Open
feat: add PostHog analytics for macOS and Windows#38Aryansharma28 wants to merge 2 commits intomainfrom
Aryansharma28 wants to merge 2 commits intomainfrom
Conversation
macOS: PostHog Swift SDK, initialized on app launch, captures app_opened. Windows: posthog-js, initialized on mount, captures app_opened. Both send platform tag for segmented DAU. PostHog handles session duration and retention automatically. API key placeholder needs replacing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
macOS: BoardStore.onAction callback maps actions to events — card created/launched/moved/deleted/archived, terminal, queued prompts, linking, search, project filter. Windows: capture() calls in Zustand store actions and onboarding wizard — same event names for cross-platform comparison. Events: app_opened, card_created, card_launched, card_moved, card_deleted, card_archived, card_renamed, card_selected, terminal_created, queued_prompt_added/sent/removed, search_opened, search_query, settings_opened, new_task_opened, project_filtered, onboarding_step, onboarding_completed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan