Skip to content

The Open Standard for Generative UI

Enable sampled PostHog session recording (#777)

Zahle Khan8f12725f1051
diff --git a/docs/app/providers.tsx b/docs/app/providers.tsx
index d81df965f..b9577fc28 100644
--- a/docs/app/providers.tsx
+++ b/docs/app/providers.tsx
@@ -9,6 +9,10 @@ export function PHProvider({ children }: { children: React.ReactNode }) {
posthog.init("phc_3OLW53x09ZTVZSV6BEpj5uycj3ooqR6KOemOjx04e3D", {
api_host: "https://dgoeivjus9jfp.cloudfront.net",
capture_pageview: "history_change",
+ disable_session_recording: false,
+ session_recording: {
+ sampleRate: 0.1,
+ },
});
}, []);
return <PostHogProvider client={posthog}>{children}</PostHogProvider>;