If you for any reason prefer not making use of Consent Mode, you have the option to disable it by preventing Cookiebot from sending Consent Mode signals to Google Tag Manager.
You will obviously need to omit the Consent Mode script from this guide.
Please see Alternative methods for conditionally loading tags to configure tags which track your visitors to be configured in such a way that these are not loaded prior consent.
Implementation
To disable Consent Mode, add the following attribute to the Cookiebot script tag: data-consentmode="disabled"
This could look similar to this:
<script id="Cookiebot" type="text/javascript" src="https://consent.cookiebot.com/uc.js" data-cbid="12345678-90ab-cdef-1234-567890abcdef" data-blockingmode="auto" data-consentmode="disabled" ></script>
Alternatively, you can add this setting as a query parameter; "consentmode=disabled".
This is particularly useful if you implement Cookiebot utilizing a method where non-standard attributes are stripped. This would make the use of data attributes impossible.
To disable Consent Mode when implementing Cookiebot CMP via Google Tag Manager, you can only need to uncheck the box labelled "Enable Google Consent Mode" on the Cookiebot CMP tag.
Please note that the cookie_consent_update
event will no longer be available when Consent Mode is disabled.
Comments
0 comments
Please sign in to leave a comment.