diff --git a/packages/core/src/App/Components/Elements/LiveChat/live-chat.tsx b/packages/core/src/App/Components/Elements/LiveChat/live-chat.tsx index 6fbbf9b488fb..a2702b3712f3 100644 --- a/packages/core/src/App/Components/Elements/LiveChat/live-chat.tsx +++ b/packages/core/src/App/Components/Elements/LiveChat/live-chat.tsx @@ -19,7 +19,7 @@ const LiveChat = observer(({ showPopover }: { showPopover?: boolean }) => { const [enable_freshworks_live_chat] = useGrowthbookGetFeatureValue({ featureFlag: 'enable_freshworks_live_chat', - defaultValue: true, + // defaultValue: true, }); const chat = enable_freshworks_live_chat ? freshChat : liveChat; diff --git a/packages/core/src/Stores/client-store.js b/packages/core/src/Stores/client-store.js index 8dc6638cc170..3d153ae32f23 100644 --- a/packages/core/src/Stores/client-store.js +++ b/packages/core/src/Stores/client-store.js @@ -1796,7 +1796,9 @@ export default class ClientStore extends BaseStore { utm_campaign: ppc_campaign_cookies?.utm_campaign, utm_content: ppc_campaign_cookies?.utm_content, domain: window.location.hostname, + url: window.location.href, }; + if (this.user_id) analytics_config.user_id = this.user_id; Analytics.setAttributes(analytics_config); }, 4); diff --git a/packages/core/src/Utils/Analytics/index.ts b/packages/core/src/Utils/Analytics/index.ts index 1654be6f19b9..9ccd4516e696 100644 --- a/packages/core/src/Utils/Analytics/index.ts +++ b/packages/core/src/Utils/Analytics/index.ts @@ -41,6 +41,7 @@ export const AnalyticsInitializer = async () => { utm_campaign: ppc_campaign_cookies?.utm_campaign, utm_content: ppc_campaign_cookies?.utm_content, domain: window.location.hostname, + url: window.location.href, }, }, };