@bytebrand/fe-ui-core 4.2.238 → 4.2.239
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@ const PreviewCookieModal = ({ toggleModal, setModal, handleSentryInit } : IPrevi
|
|
|
20
20
|
|
|
21
21
|
const onDisableAll = () => {
|
|
22
22
|
localStorage.setItem('cookieConfig', JSON.stringify({
|
|
23
|
-
'marketing':['cf','cip','cnac','car','test_cookie','IDE', 'bid'],
|
|
23
|
+
'marketing':['cf','cip','cnac','car','test_cookie','IDE', 'bid','youtube'],
|
|
24
24
|
'analytics':['sentry','callback','locale','uid','PugT','demdex','cto_bundle','tuuid','tuuid_lu','c','CMID','CMPS','CMPRO','uuid2','um','umeh','KRTBCOOKIE_97','IDSYNC','dpm','_kuid_','visitor-id','data-c-ts','data-c','CMTS','mv_tokens','A3','mv_tokens_eu-v1','am_tokens','am_tokens_eu-v1','iteo','_fbp','_clck','_clsk','_uetsid','_uetvid','analytics_storage','ad_storage','functionality_storage','personalization_storage','security_storage','hotjar']
|
|
25
25
|
}));
|
|
26
26
|
updateCookieList(handleSentryInit);
|
|
@@ -551,7 +551,7 @@ export function setUtmParameters() {
|
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
export const updateCookieList = (handleSentryInit: () => void) => {
|
|
554
|
-
const cookieConfig = JSON.parse(localStorage.getItem('
|
|
554
|
+
const cookieConfig = JSON.parse(localStorage.getItem('cookieConfig')) || {};
|
|
555
555
|
let isSentryGranted = true; // Sentry
|
|
556
556
|
let disabledCookies: any[] = [];
|
|
557
557
|
const parsedUrl = new URL(window.location.href);
|