From 0c5fbd171cf94e2f840c9144e1fc8a5d48eb2ddc Mon Sep 17 00:00:00 2001 From: Joey Marshment-Howell Date: Tue, 31 Jan 2023 12:05:08 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=9F=20=F0=9F=90=9B=20Enable=20segment?= =?UTF-8?q?=20by=20default=20(#22135)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- airbyte-webapp/src/config/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-webapp/src/config/config.ts b/airbyte-webapp/src/config/config.ts index a09794198c2cb..f0843d0c46ca9 100644 --- a/airbyte-webapp/src/config/config.ts +++ b/airbyte-webapp/src/config/config.ts @@ -3,7 +3,7 @@ import { AirbyteWebappConfig } from "./types"; export const config: AirbyteWebappConfig = { segment: { token: window.SEGMENT_TOKEN ?? process.env.REACT_APP_SEGMENT_TOKEN, - enabled: window.TRACKING_STRATEGY === "segment", + enabled: !window.TRACKING_STRATEGY || window.TRACKING_STRATEGY === "segment", }, apiUrl: window.API_URL ?? process.env.REACT_APP_API_URL ?? `http://${window.location.hostname}:8001/api`, connectorBuilderApiUrl: