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
Optional: Integrate with asynchronous consent management platforms
If your banner loads asynchronously, it might not always run before your Google tags. To handle such situations, specify wait_for_update along with a millisecond value to control how long to wait before data is sent.
For example, to deny ad_storage on a particular page by default, but to allow your CMP to update consent status, use wait_for_update. In the following code, ad_storage defaults to denied, and the consent tool is given 500 milliseconds to call gtag('consent', 'update', ...) before tags fire:
could you please implement this option as well?
The text was updated successfully, but these errors were encountered:
I don't think it needs to be implemented.
We set default consent already in the GTM template, according to the user's previous preferences.
The template should be set to trigger Consent initialization - all pages, so it will trigger before other tags and set the default consent.
https://developers.google.com/tag-platform/security/guides/consent?consentmode=advance
Optional: Integrate with asynchronous consent management platforms
If your banner loads asynchronously, it might not always run before your Google tags. To handle such situations, specify wait_for_update along with a millisecond value to control how long to wait before data is sent.
For example, to deny ad_storage on a particular page by default, but to allow your CMP to update consent status, use wait_for_update. In the following code, ad_storage defaults to denied, and the consent tool is given 500 milliseconds to call gtag('consent', 'update', ...) before tags fire:
could you please implement this option as well?
The text was updated successfully, but these errors were encountered: