diff --git a/airbyte-webapp/src/config/config.ts b/airbyte-webapp/src/config/config.ts index a09794198c2c..f0843d0c46ca 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: