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