Aggregated and anonymized data from 80k+ sites using tarteaucitron.
googletagmanager
requests / 30 days
46.23% consent
Google Tag Manager: integration, data and consent
Google Tag Manager is an API or third-party technical service integrated into the website. The data exchanged and applicable requirements depend on the feature and configuration being used.
When Google Tag Manager uses tracking technologies or processing that requires consent, tarteaucitron can condition its activation on the visitor’s choice.
Managing Google Tag Manager with tarteaucitron
When Google Tag Manager is integrated through tarteaucitron, its activation is managed according to the visitor's consent choice. The service can therefore be loaded only when the corresponding permission has been granted and the visitor can later change this choice through the consent interface.
Cookies and storage used by Google Tag Manager
The current tarteaucitron integration declares 22 cookies associated with Google Tag Manager:
This list corresponds to the cookies currently declared in the tarteaucitron service definition. The service provider may change its technical implementation over time.
Configuring Google Tag Manager
Add the following code to your website after initializing tarteaucitron. Replace the example values with those provided by Google Tag Manager.
<script>
tarteaucitron.user.googletagmanagerId = 'GTM-XXXX';
(tarteaucitron.job = tarteaucitron.job || []).push('googletagmanager');
</script>
Additional code
The following code can already be present on your website and should be kept where the service is used.
<script>tarteaucitron.user.googletagmanagerCustomDomain = 'custom.domain/path';</script>
Code to remove
Default HTML code to remove from your website:
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXX');</script>For a complete guide, read the documentation to install tarteaucitron.js.
Privacy information
For detailed information about the processing of data by Google Tag Manager, cookies and applicable retention periods, refer to the documentation or privacy policy published by the service provider:
Google Tag Manager privacy information
Frequently asked questions about Google Tag Manager
Does Google Tag Manager require consent?
The API name alone is not enough to determine whether Google Tag Manager requires consent. The data transmitted, technologies used and purpose of the service must be considered.
How does tarteaucitron block Google Tag Manager?
tarteaucitron controls the activation of Google Tag Manager according to the consent choice recorded for the visitor. The service code is triggered through tarteaucitron instead of being loaded independently from the consent manager.