Skip to content

Commit

Permalink
chore: modify onetrust tracking ft
Browse files Browse the repository at this point in the history
  • Loading branch information
chicharr committed May 28, 2024
1 parent ccdf487 commit 4cd9c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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='));
Expand Down

0 comments on commit 4cd9c9b

Please sign in to comment.