fix: tweak vwo config to avoid blur backdrop and re-evanuate consent

This commit is contained in:
Arvid Norlin
2024-04-11 16:36:27 +02:00
parent f4a0264019
commit 7797f5d0b0

View File

@@ -282,7 +282,7 @@ window._vwo_code ||
})(); })();
window._vwo_code.setFilterConfigAndApplyFilter({ window._vwo_code.setFilterConfigAndApplyFilter({
popupSelector: "#CybotCookiebotDialog", popupSelector: "#CybotCookiebotDialog",
filterTime: "best", filterTime: "balanced",
isConsentGiven: function () { isConsentGiven: function () {
/** your custom Code */ /** your custom Code */
if (document.cookie.indexOf("CookieConsent") != -1) { if (document.cookie.indexOf("CookieConsent") != -1) {
@@ -298,5 +298,5 @@ isConsentGiven: function () {
return "3"; return "3";
} }
}, },
filterTolerance: 100, filterTolerance: 0,
}); });