fix: use $pageview event for PostHog web analytics#164
Conversation
…lytics PostHog's built-in DAU/WAU/bounce rate dashboards require the $pageview event name. We were sending page_view_enhanced which PostHog didn't recognize for web analytics. Keep capture_pageview: false and send $pageview manually with our custom properties (language, platform, etc).
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughUpdates GA4 core event identifier from Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
page_view_enhanced→$pageviewso PostHog's built-in web analytics (DAU, WAU, bounce rate) workscapture_pageview: false— we send$pageviewmanually to attach custom properties (language, platform, referrer, is_pwa)Test plan
Summary by CodeRabbit