Overview
Configure Google Ads so conversions and remarketing respect the user's choice. CookiePilot controls ad_storage, ad_user_data and ad_personalization before advertising tags run.
marketing.
Before consent, ad_storage and personalization stay denied.
Remarketing requires marketing consent.
Consent behaviour
No _gcl_au before consent.
After Reject, no googleadservices/doubleclick tracking.
After Accept, Ads requests start only after consent update.
The thank-you page respects marketing consent.
Setup steps
Configure Ads tags in GTM with required consent.
Separate conversions from remarketing if the store needs it.
Check that _gcl cookies are absent before consent.
Example snippet
Example snippet
<!-- Fire this only after marketing consent. Example thank-you page conversion. -->
<script>
window.addEventListener('cookiepilot:consent', function (event) {
var consent = event.detail || {};
if (!consent.marketing) return;
gtag('event', 'conversion', {
send_to: 'AW-XXXXXXXXX/CONVERSION_LABEL',
value: 99.00,
currency: 'PLN',
transaction_id: 'ORDER_ID'
});
});
</script>Test checklist
No _gcl_au before consent.
After Reject, no googleadservices/doubleclick tracking.
After Accept, Ads requests start only after consent update.
The thank-you page respects marketing consent.
Setup steps
- 1Configure Ads tags in GTM with required consent.
- 2Separate conversions from remarketing if the store needs it.
- 3Check that _gcl cookies are absent before consent.
Test checklist
- No _gcl_au before consent.
- After Reject, no googleadservices/doubleclick tracking.
- After Accept, Ads requests start only after consent update.
- The thank-you page respects marketing consent.
FAQ
Is this legal advice?
No. It is an implementation guide. For unusual data flows, confirm the setup with your legal or privacy team.
Does CookiePilot block every script automatically?
CookiePilot supports autoblocking and Consent Mode. Trackers hardcoded before the CMP still need to be moved behind the stub or into GTM Consent Initialization.
Related integrations
See the setups that most often appear together with this integration.
Ready to configure it?
Start CookiePilot, choose the right integration and verify that tags wait for user consent before they run.