From dfe38934d1d0b394d4a7d2b3561d42e118cdd24b Mon Sep 17 00:00:00 2001 From: yauheni-deriv <103182683+yauheni-deriv@users.noreply.github.com> Date: Fri, 29 Mar 2024 11:00:37 +0300 Subject: [PATCH] [UPM-880]/evgeniy/not able to connect to analytics (#14392) * fix: [UPM-880]/evgeniy/not able to connect to analytics * chore: added default value for tracking_rudderstack --- packages/api-v2/src/remote_config.json | 2 +- packages/api/src/remote_config.json | 2 +- packages/core/src/App/AppContent.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/api-v2/src/remote_config.json b/packages/api-v2/src/remote_config.json index b1aa90e7518f..da9f0f9676b5 100644 --- a/packages/api-v2/src/remote_config.json +++ b/packages/api-v2/src/remote_config.json @@ -1 +1 @@ -{"cs_chat_livechat":true,"cs_chat_whatsapp":true,"marketing_growthbook":true,"tracking_GTM":true,"tracking_datadog":true,"tracking_hotjar":true} \ No newline at end of file +{"cs_chat_livechat":true,"cs_chat_whatsapp":true,"marketing_growthbook":true,"tracking_GTM":true,"tracking_datadog":true,"tracking_hotjar":true,"tracking_rudderstack": true} \ No newline at end of file diff --git a/packages/api/src/remote_config.json b/packages/api/src/remote_config.json index b1aa90e7518f..da9f0f9676b5 100644 --- a/packages/api/src/remote_config.json +++ b/packages/api/src/remote_config.json @@ -1 +1 @@ -{"cs_chat_livechat":true,"cs_chat_whatsapp":true,"marketing_growthbook":true,"tracking_GTM":true,"tracking_datadog":true,"tracking_hotjar":true} \ No newline at end of file +{"cs_chat_livechat":true,"cs_chat_whatsapp":true,"marketing_growthbook":true,"tracking_GTM":true,"tracking_datadog":true,"tracking_hotjar":true,"tracking_rudderstack": true} \ No newline at end of file diff --git a/packages/core/src/App/AppContent.tsx b/packages/core/src/App/AppContent.tsx index 8de6dbc66bb1..5d79bed55d0b 100644 --- a/packages/core/src/App/AppContent.tsx +++ b/packages/core/src/App/AppContent.tsx @@ -48,7 +48,7 @@ const AppContent: React.FC<{ passthrough: unknown }> = observer(({ passthrough } } // eslint-disable-next-line react-hooks/exhaustive-deps - }, [data.marketing_growthbook]); + }, [data.marketing_growthbook, tracking_rudderstack]); React.useEffect(() => { initDatadog(tracking_datadog);