Skip to content

Commit

Permalink
chore: limit analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRooney committed Jan 8, 2025
1 parent 533665d commit e1c43f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ if (process.env.PUBLIC_POSTHOG_API_KEY) {
posthog.init(process.env.PUBLIC_POSTHOG_API_KEY, {
api_host: "https://metrics.speakeasy.com",
person_profiles: "identified_only",
disable_session_recording: true,
autocapture: false,
});

posthog.capture("$pageview");
}

ReactDOM.createRoot(document.getElementById("root")!).render(
Expand Down

0 comments on commit e1c43f7

Please sign in to comment.