From c248f3421bf499d1cab72b1849566ca94ed6a3df Mon Sep 17 00:00:00 2001 From: davidbielik Date: Tue, 26 Nov 2024 14:24:35 -0500 Subject: [PATCH 1/2] Update browser.js --- .../analytics-js-integrations/src/integrations/Braze/browser.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/analytics-js-integrations/src/integrations/Braze/browser.js b/packages/analytics-js-integrations/src/integrations/Braze/browser.js index c3317c044..33a56f1aa 100644 --- a/packages/analytics-js-integrations/src/integrations/Braze/browser.js +++ b/packages/analytics-js-integrations/src/integrations/Braze/browser.js @@ -57,6 +57,8 @@ class Braze { baseUrl: this.endPoint, allowUserSuppliedJavascript: this.allowUserSuppliedJavascript, }); + window.braze.addSdkMetadata([window.braze.BrazeSdkMetadata.CDN, 'rud']); + window.braze.automaticallyShowInAppMessages(); const { userId } = this.analytics; // send userId if you have it https://js.appboycdn.com/web-sdk/latest/doc/module-appboy.html#.changeUser From e45d58f5ba01fface948a482f2f866b21aaa3eb5 Mon Sep 17 00:00:00 2001 From: davidbielik Date: Tue, 26 Nov 2024 14:25:42 -0500 Subject: [PATCH 2/2] Update packages/analytics-js-integrations/src/integrations/Braze/browser.js --- .../analytics-js-integrations/src/integrations/Braze/browser.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/analytics-js-integrations/src/integrations/Braze/browser.js b/packages/analytics-js-integrations/src/integrations/Braze/browser.js index 33a56f1aa..0bd78dbfe 100644 --- a/packages/analytics-js-integrations/src/integrations/Braze/browser.js +++ b/packages/analytics-js-integrations/src/integrations/Braze/browser.js @@ -58,7 +58,6 @@ class Braze { allowUserSuppliedJavascript: this.allowUserSuppliedJavascript, }); window.braze.addSdkMetadata([window.braze.BrazeSdkMetadata.CDN, 'rud']); - window.braze.automaticallyShowInAppMessages(); const { userId } = this.analytics; // send userId if you have it https://js.appboycdn.com/web-sdk/latest/doc/module-appboy.html#.changeUser