diff --git a/apps/app/pages/_document.tsx b/apps/app/pages/_document.tsx
index a257f649f..24f3068c9 100644
--- a/apps/app/pages/_document.tsx
+++ b/apps/app/pages/_document.tsx
@@ -13,7 +13,7 @@ class MyDocument extends Document {
- {isSessionRecorderEnabled && (
+ {isSessionRecorderEnabled && process.env.NEXT_PUBLIC_SESSION_RECORDER_KEY && (
)}
diff --git a/turbo.json b/turbo.json
index e952768a1..c75159980 100644
--- a/turbo.json
+++ b/turbo.json
@@ -14,7 +14,8 @@
"NEXT_PUBLIC_TRACK_EVENTS",
"TRACKER_ACCESS_KEY",
"NEXT_PUBLIC_CRISP_ID",
- "NEXT_PUBLIC_ENABLE_SESSION_RECORDER"
+ "NEXT_PUBLIC_ENABLE_SESSION_RECORDER",
+ "NEXT_PUBLIC_SESSION_RECORDER_KEY"
],
"pipeline": {
"build": {