Skip to content

Commit

Permalink
fix: disable posthog autocapture
Browse files Browse the repository at this point in the history
Change-Id: Iaee594556e51083b5c6d1dad27d2d3e601e70896
GitOrigin-RevId: bc5ca0dac2bf005b57e4b03659d427a3d31c01b8
  • Loading branch information
jaslong authored and actions-user committed Dec 3, 2024
1 parent c827add commit a33624d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/wab/src/wab/client/analytics/posthog-browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export function initPosthogBrowser(
): PostHogAnalytics | undefined {
const ph = posthog.init(POSTHOG_API_KEY, {
api_host: "https://us.i.posthog.com",
autocapture: false, // disable because it causes too many events
disable_session_recording: true, // enable with `recordSession`
...config,
});
Expand Down

0 comments on commit a33624d

Please sign in to comment.