feat: 修复前的 DAU 数据无法补充(PostHog 未收到事件)
This commit is contained in:
@@ -33,8 +33,8 @@ export const initPostHog = () => {
|
|||||||
posthog.init(apiKey, {
|
posthog.init(apiKey, {
|
||||||
api_host: apiHost,
|
api_host: apiHost,
|
||||||
|
|
||||||
// Pageview tracking - manual control for better accuracy
|
// Pageview tracking - auto-capture for DAU/MAU analytics
|
||||||
capture_pageview: false, // We'll manually capture with custom properties
|
capture_pageview: true, // Auto-capture all page views (required for DAU tracking)
|
||||||
capture_pageleave: true, // Auto-capture when user leaves page
|
capture_pageleave: true, // Auto-capture when user leaves page
|
||||||
|
|
||||||
// Session Recording Configuration
|
// Session Recording Configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user