Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

Limit PostHog cookie to Stirling PDF's subdomain only (#5882)

Brian Banerjee81596f02997e
diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx
index a847081487..e1eef3e3f5 100644
--- a/frontend/src/index.tsx
+++ b/frontend/src/index.tsx
@@ -18,6 +18,7 @@ posthog.init('phc_VOdeYnlevc2T63m3myFGjeBlRcIusRgmhfx6XL5a1iz', {
capture_exceptions: true, // This enables capturing exceptions using Error Tracking, set to false if you don't want this
debug: false,
opt_out_capturing_by_default: true, // Opt-out by default, controlled by cookie consent
+ cross_subdomain_cookie: false,
});
function updatePosthogConsent(){