update
This commit is contained in:
@@ -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: "/"
|
||||
|
||||
Reference in New Issue
Block a user