Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
disable decide endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
benarent committed Dec 5, 2023
1 parent 153e8f8 commit fabda05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/posthog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const posthog = async (): Promise<PostHog | undefined> => {
if (PH_IS_ENABLED && PH_API_URL && PH_API_KEY) {
posthogGlobal.init(PH_API_KEY, {
api_host: PH_API_URL,
advanced_disable_decide: true,
get_device_id: (id) => `web.${id}`,
loaded: (ph) => {
inited = true;
Expand Down

0 comments on commit fabda05

Please sign in to comment.