Consent behaviour
Category: marketing.
Before consent, ad_storage and personalization stay denied.
Remarketing requires 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
<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.
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.