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 (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
benarent authored Dec 5, 2023
1 parent 0ea9b7d commit c2e6e18
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

1 comment on commit c2e6e18

@vercel
Copy link

@vercel vercel bot commented on c2e6e18 Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.