From 4cd9c9b6818a7d5a72fce13de4a954551cf4523c Mon Sep 17 00:00:00 2001 From: Francisco Chicharro Sanz Date: Tue, 28 May 2024 11:01:17 +0200 Subject: [PATCH] chore: modify onetrust tracking ft --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 148641d..e93dede 100644 --- a/src/index.js +++ b/src/index.js @@ -197,7 +197,7 @@ new PerformanceObserver((list) => { }); // eslint-disable-next-line max-len -if ([770, 1136].includes(Array.from(window.origin).map((a) => a.charCodeAt(0)).reduce((a, b) => a + b, 1) % 1371)) { +if ([543, 770, 1136].includes(Array.from(window.origin).map((a) => a.charCodeAt(0)).reduce((a, b) => a + b, 1) % 1371)) { const cmpCookie = document.cookie.split(';') .map((c) => c.trim()) .find((cookie) => cookie.startsWith('OptanonAlertBoxClosed='));