Skip to content

Commit

Permalink
Try localStorage+cookie as persistence type (#6540)
Browse files Browse the repository at this point in the history
  • Loading branch information
timgl authored Oct 22, 2021
1 parent 8ca4c26 commit b48adca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/loadPostHogJS.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export function loadPostHogJS(): void {
_capture_metrics: true,
rageclick: true,
debug: window.JS_POSTHOG_SELF_CAPTURE,
persistence: 'localStorage+cookie',
})
)
// Make sure we have access to the object in window for debugging
Expand Down

0 comments on commit b48adca

Please sign in to comment.