How to setup consent mode? #407
Unanswered
angelodsltech
asked this question in
Q&A
Replies: 1 comment
-
Hey 👋 we've recently added a calling gtag('consent', 'default', {
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'ad_storage': 'denied',
'analytics_storage': 'denied',
'wait_for_update': 500,
}); should be enough as we take care of calling gtag('js', new Date());
gtag('config', 'Google tag ID for you |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Nuxt 3 with the GTM plugin. See my code below:
If a user gave permission, this code executes on every nuxt page
When a user has not given permission yet, this is the code that will trigger:
The problem is, that I have no clue how to set the consent mode. Google refers to this:
But I am unable to figure out how to set this within my code.
Can anyone explain this to me please?
Beta Was this translation helpful? Give feedback.
All reactions