Consent behaviour
Consent Mode defaults are set synchronously to denied.
The main CookiePilot script is loaded through GTM in the configured tag.
cookiepilot_consent_update is available for triggers and tags.
Setup steps
Paste the CookiePilot stub in head before the standard GTM snippet.
Add cookiepilot.js as Custom HTML on Consent Initialization - All Pages.
Make marketing tags consent-aware or trigger them after cookiepilot_consent_update.
Use Preview to confirm no ad requests or tracking cookies appear before consent.
Example snippet
<script src="https://cdn.cookiepilot.io/stub.js"></script>Test checklist
gcd shows denied before the visitor clicks.
After Reject, marketing tags do not start.
After Accept, dataLayer contains consent update granted.
Hardcoded scripts outside GTM are removed or moved behind the CMP.
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.