diff --git a/excalidraw-app/index.html b/excalidraw-app/index.html
index 7eac3e39a20f..6d8ee6fab9b6 100644
--- a/excalidraw-app/index.html
+++ b/excalidraw-app/index.html
@@ -216,8 +216,8 @@
Excalidraw
- <% if (typeof PROD != 'undefined' && PROD == true) { %>
-
+ <% if (typeof PROD != 'undefined' && PROD == true && (typeof VITE_APP_DISABLE_TRACKING == 'undefined' || (VITE_APP_DISABLE_TRACKING != 'yes' && VITE_APP_DISABLE_TRACKING != 'true' && VITE_APP_DISABLE_TRACKING !== true))) { %>
+