Skip to content

feat(analytics): add PostHog product funnels - #414

Merged
Yevanchen merged 3 commits into
mainfrom
feat/posthog-funnel
Jul 28, 2026
Merged

feat(analytics): add PostHog product funnels#414
Yevanchen merged 3 commits into
mainfrom
feat/posthog-funnel

Conversation

@RockChinQ

@RockChinQ RockChinQ commented Jul 27, 2026

Copy link
Copy Markdown
Member

Summary

  • add privacy-conscious browser and Cloudflare Worker PostHog event transport
  • join anonymous browser activity to stable Mosoo account IDs
  • capture authoritative signup, onboarding, app, agent, integration, and successful task events
  • wire deployment configuration and document the recommended funnels

Verification

  • 37 targeted tests pass
  • web and API TypeScript checks pass
  • web production build passes
  • focused lint on all analytics-related files passes

Configuration after merge

  • add the PostHog Project API key as the GitHub try environment secret POSTHOG_PROJECT_KEY
  • set the same value as the POSTHOG_PROJECT_KEY secret on mosoo-api-prod
  • US PostHog ingestion is configured by default; see docs/product-analytics.md for EU Cloud

@RockChinQ RockChinQ changed the title feat: add PostHog product funnel analytics feat(analytics): add PostHog product funnels Jul 27, 2026
@RockChinQ
RockChinQ force-pushed the feat/posthog-funnel branch from b5189e3 to 4d2a387 Compare July 27, 2026 11:47
@Yevanchen
Yevanchen force-pushed the feat/posthog-funnel branch from 4d2a387 to af495cf Compare July 27, 2026 16:24
@Yevanchen
Yevanchen merged commit bb37a96 into main Jul 28, 2026
9 checks passed
@Yevanchen
Yevanchen deleted the feat/posthog-funnel branch July 28, 2026 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants