Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(replay): use public tracing_headers config in loadPostHogJS (#61846)

Paul D'Ambrabe7bf19247ce
diff --git a/frontend/src/loadPostHogJS.tsx b/frontend/src/loadPostHogJS.tsx
index 411a78586fe2..7581c9f7f364 100644
--- a/frontend/src/loadPostHogJS.tsx
+++ b/frontend/src/loadPostHogJS.tsx
@@ -161,7 +161,7 @@ export function loadPostHogJS(options: LoadPostHogJSOptions = {}): void {
...options.sessionRecording,
},
person_profiles: 'always',
- __add_tracing_headers: ['eu.posthog.com', 'us.posthog.com'],
+ tracing_headers: ['eu.posthog.com', 'us.posthog.com'],
__preview_disable_xhr_credentials: true,
capture_performance: {
//disabling to investigate if this is associated with memory leak in the posthog app