diff --git a/web/pages/_document.tsx b/web/pages/_document.tsx index 7bb7480c0..7a84cfd9f 100644 --- a/web/pages/_document.tsx +++ b/web/pages/_document.tsx @@ -32,6 +32,15 @@ class MyDocument extends Document { + {isSessionRecorderEnabled && process.env.NEXT_PUBLIC_SESSION_RECORDER_KEY && ( + + )}
@@ -43,15 +52,6 @@ class MyDocument extends Document { src="https://plausible.io/js/script.js" /> )} - {isSessionRecorderEnabled && process.env.NEXT_PUBLIC_SESSION_RECORDER_KEY && ( - - )} {process.env.NEXT_PUBLIC_POSTHOG_KEY && process.env.NEXT_PUBLIC_POSTHOG_HOST && (