Follow these steps if your Google Consent Mode setup isn’t working as expected. The instructions differ depending on whether your banner is installed via GTM Community Template or gtag.js.
1. Banner implemented via GTM Community Template
Re-save and validate your banner
If you’re using old code, re-save your banner to make sure it supports Consent Mode v2 (updates released on 2024-07-31). Then, go to CookieScript dashboard > Google Consent Mode, check ENABLE GOOGLE CONSENT MODE V2, and click Validate GTM Installation.
If validation fails, make sure you’re using the latest CookieScript GTM Community Template (learn more). Check that the CookieScript tag fires before other tags (especially gtag.js) and ensure it is set to fire on the Consent Initialization trigger (more info here).
If the template is outdated or modified, go to Tag templates > CookieScript CMP, update the template using the clock icon if present, or delete and re-add the latest template from the Community Templates gallery.
2. Banner implemented via gtag.js
Re-save, check, and validate
Update your banner to ensure Consent Mode v2 is supported (updates released on 2024-07-31). Confirm all necessary Google Consent Mode code is included. Make sure the default CookieScript tag fires before gtag.js. Validate in the CookieScript dashboard. If validation fails, ensure the default tag fires first and gtag.js comes after the banner.
3. General Troubleshooting Tips
Confirm firing and single tag usage
Use GTM Preview Mode to check tag firing order. Ensure only one CookieScript tag is present. Re-check triggers and firing order if needed.