Skip to content

Commit

Permalink
fix: enable recording, pageview & pageleave
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Aug 16, 2024
1 parent 7c434db commit 83af97d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ function initPosthog(ps: PosthogSettings) {
api_host: ps.posthog_host,
person_profiles: 'identified_only',
autocapture: false,
capture_pageview: false,
capture_pageleave: false,
capture_pageview: true,
capture_pageleave: true,
enable_heatmaps: false,
disable_session_recording: true,
disable_session_recording: false,
loaded: (ph: typeof posthog) => {
window.posthog = ph
ph.identify(window.location.host)
ph.identify(window.location.hostname)
},
})
}
Expand Down

0 comments on commit 83af97d

Please sign in to comment.