Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add ui_host

Steven Teya4e03d14030c
diff --git a/apps/web/app/providers.tsx b/apps/web/app/providers.tsx
index cf759542b2..c66b3a4c39 100644
--- a/apps/web/app/providers.tsx
+++ b/apps/web/app/providers.tsx
@@ -12,6 +12,7 @@ import { ReactNode } from "react";
if (typeof window !== "undefined") {
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, {
api_host: "/_proxy/ingest",
+ ui_host: "https://us.posthog.com",
person_profiles: "identified_only",
capture_pageview: false, // Disable automatic pageview capture, as we capture manually
capture_pageleave: true, // Enable pageleave capture