Add your website’s CookieChimp JS snippet in theDocumentation Index
Fetch the complete documentation index at: https://docs.cookiechimp.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
<head> tag of your HTML.
The CookieChimp script needs to be added at the top of the
<head> section, so that it can run first, in order to ensure other scripts are only run based on consent.
If other scripts are added before, they may set cookies and other storage items before consent is granted.abc123 with your website’s unique CookieChimp ID.
How do I block tags with Google Tag Manager?
Enable Google Consent Mode
Navigate to “Integrations” from the sidebar and enable the Google Consent Mode integration.

Add/Edit Tag
Create or update a tag and add an additional consent check so the tag only fires once the matching vendor has consent.Navigate to “Advanced Settings” > “Consent Settings”. Select “Require additional consent for tag to fire” and enter the name of the category or service that the tag needs to fire on.

- Recommended
- Alternative
Enter the exact vendor name as it appears in your CookieChimp Vendor Library, e.g
Google Analytics, Hotjar, or Facebook Pixel. CookieChimp sends the consent state of each vendor to Google, so the tag will only fire when that specific vendor has been granted consent in the banner.This is the recommended approach because your visitors can opt in or out of individual vendors inside a category, and a tag should usually only fire when its own vendor is allowed, not just when the broader category has consent.How does CookieChimp map to Google consent types?
GTM supports 7 different default consent types. CookieChimp maps these Google consent types into the following categories:| CookieChimp Category ID | Google Consent Type |
|---|---|
| essential | functionality_storage, security_storage |
| marketing | ad_storage, ad_user_data, ad_personalization |
| analytics | analytics_storage |
| personalization | personalization_storage |


