File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,14 +14,12 @@ export const onRouterTransitionStart = Sentry.captureRouterTransitionStart;
1414const postHogKey = getPublicEnvVar ( 'NEXT_PUBLIC_POSTHOG_KEY' ) ?? "phc_vIUFi0HzHo7oV26OsaZbUASqxvs8qOmap1UBYAutU4k" ;
1515if ( postHogKey . length > 5 ) {
1616 posthog . init ( postHogKey , {
17- // We use Sentry's Replay integration below for error debugging. Keep
18- // PostHog session recording off to avoid loading its lazy recorder, which
19- // is the source of Sentry issue STACK-SERVER-1NK:
20- // "Called on script loaded before session recording is available".
21- // PostHog documents `disable_session_recording: true` as the config-level
22- // way to prevent automatic web session recording.
23- // Source: https://posthog.com/docs/session-replay/how-to-control-which-sessions-you-record
24- disable_session_recording : true ,
17+ session_recording : {
18+ maskAllInputs : false ,
19+ maskInputOptions : {
20+ password : true ,
21+ } ,
22+ } ,
2523 defaults : '2025-11-30' ,
2624 api_host : "/consume" ,
2725 ui_host : "https://eu.i.posthog.com" ,
You can’t perform that action at this time.
0 commit comments