Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/ui/src/shell/posthogAnalyticsImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ export function initializePostHog(sessionId?: string) {
session_recording: {
captureCanvas: { recordCanvas: false },
},
// The shared analytics project runs many popover surveys aimed at the
// PostHog web app; any one without URL/event conditions would render here
// too. This app only submits survey responses through its own UI
// (captureSurveyResponse), which posthog-js survey rendering being off
// does not affect.
disable_surveys: true,
session_idle_timeout_seconds: SESSION_IDLE_TIMEOUT_SECONDS,
...(sessionId ? { bootstrap: { sessionID: sessionId } } : {}),
capture_exceptions: import.meta.env.DEV
Expand Down
Loading