Aggregated and anonymized data from 80k+ sites using tarteaucitron.
googleads
requests / 30 days
35.51% consent
Google Ads: advertising cookies and consent
Google Ads is used for advertising, conversion measurement or campaign personalisation. These purposes may involve tracking technologies used to measure or associate visitor behaviour.
Advertising trackers generally require prior consent. Integrating Google Ads with tarteaucitron makes it possible to control its activation according to the visitor’s choice.
Managing Google Ads with tarteaucitron
When Google Ads 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 Ads
The current tarteaucitron integration declares 7 cookies associated with Google Ads:
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 Ads
Add the following code to your website after initializing tarteaucitron. Replace the example values with those provided by Google Ads.
<script>
tarteaucitron.user.googleadsId = 'AW-XXXXXXXXX';
(tarteaucitron.job = tarteaucitron.job || []).push('googleads');
</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.googleadsCustomDomain = 'custom.domain/path';</script>
Code to remove
Default HTML code to remove from your website:
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-XXXXXXXXX');
</script>For a complete guide, read the documentation to install tarteaucitron.js.
Privacy information
For detailed information about the processing of data by Google Ads, cookies and applicable retention periods, refer to the documentation or privacy policy published by the service provider:
Google Ads privacy information
Frequently asked questions about Google Ads
Does Google Ads require consent?
When used for advertising or conversion measurement, Google Ads generally requires prior consent when non-essential tracking technologies or advertising data are involved.
How does tarteaucitron block Google Ads?
tarteaucitron controls the activation of Google Ads 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.