Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This module integrates the EU Cookie Compliance module with the gtag script. It will update the user's consent setting based on the value of the consent cookie.
In order for this to work, the Google Tag Manager gtag script must be included on the page by some other method. This can be done with a custom script or with a module like Google Tag.
When the user consents to cookies, it will call gtag with this:
gtag('consent', 'update', {
'ad_user_data': 'granted',
'ad_personalization': 'granted',
'ad_storage': 'granted',
'analytics_storage': 'granted'
});
Supporting organizations:
Development
Project information
- Ecosystem: EU Cookie Compliance (GDPR Compliance)
- Created by jrb on , updated
