Skip to content

Commit

Permalink
Refactor PostHog initialization options
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Jun 3, 2024
1 parent ee376e0 commit 73fbab1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions app/instance-initializers/posthog.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ export function initialize() {
posthog.init('phc_jCl1mm3XbnvyIUr4h54oORqWEqj37gxhZIOebREBwxb', {
api_host: 'https://app.posthog.com',
autocapture: false, // We have our own events
maskAllInputs: false,
maskInputOptions: {
password: true,
capture_pageview: false,
capture_pageleave: false,
session_recording: {
maskAllInputs: false,
maskInputOptions: {
password: true,
},
},
});
}
Expand Down

0 comments on commit 73fbab1

Please sign in to comment.