You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current Google Analytics registry does not use consent mode. This is used for communicating the user's consent status to Google.
🆕 The solution you'd like
I would like to have it as part of the options for the registry script so I can easily define default consent settings as well as the option of opting into consent mode v2.
🔍 Alternatives you've considered
Currently I have opted to just copy the registry script and redefine it with an expanded clientInit property since the default consent needs to be set before gtag('js', ...) and gtag('config', ...) is called.
🆒 Your use case
The current Google Analytics registry does not use consent mode. This is used for communicating the user's consent status to Google.
🆕 The solution you'd like
I would like to have it as part of the options for the registry script so I can easily define default consent settings as well as the option of opting into consent mode v2.
🔍 Alternatives you've considered
Currently I have opted to just copy the registry script and redefine it with an expanded clientInit property since the default consent needs to be set before
gtag('js', ...)
andgtag('config', ...)
is called.ℹ️ Additional info
No response
The text was updated successfully, but these errors were encountered: