This commit is contained in:
2026-04-28 00:24:15 +02:00
parent 95138003c6
commit 2114254518
3 changed files with 20 additions and 17 deletions

View File

@@ -349,7 +349,7 @@ Make your own cookie information popup in minutes.
});
}
gtag('consent', 'update', {
'analytics_storage': 'granted'
'analytics_storage': 'denied'
});
}
// if marketing or advertising is accepted
@@ -366,12 +366,12 @@ Make your own cookie information popup in minutes.
'ad_personalization': 'granted'
});
} else {
gtag('consent', 'update', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied'
});
if(googleConsentAdPrefs === true) {
gtag('consent', 'update', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied'
});
createCookie(GOOGLE_CONSENT_MODE_AD_PREFS, "", {
expires: daysToUTC(-365),
path: "/"