Open deefeloper opened 1 year ago
If you deny ad_storage and analytics_storage, then the cookies shouldn't appear
this.$gtag.query('consent', 'default', {
ad_storage: 'denied',
analytics_storage: 'denied',
})
https://matteo-gabriele.gitbook.io/vue-gtag/v/master/query https://developers.google.com/tag-platform/devguides/consent#set_consent_defaults
Using
vue-gtag@1.16.1
(as recommended forvue 2.x
and installed by using tag@legacy
) I see that it still creates 2 cookie values (used to be 3 without the additional flags).Maybe anybody can help me in understanding why this happens.
The code I use is: