Skip to content

Commit e1c43f7

Browse files
committed
chore: limit analytics
1 parent 533665d commit e1c43f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

web/src/main.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ if (process.env.PUBLIC_POSTHOG_API_KEY) {
88
posthog.init(process.env.PUBLIC_POSTHOG_API_KEY, {
99
api_host: "https://metrics.speakeasy.com",
1010
person_profiles: "identified_only",
11+
disable_session_recording: true,
12+
autocapture: false,
1113
});
14+
15+
posthog.capture("$pageview");
1216
}
1317

1418
ReactDOM.createRoot(document.getElementById("root")!).render(

0 commit comments

Comments
 (0)