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.
To disable Consent Mode, add the following attribute to the Cookiebot script tag:
This could look similar to this:
Alternatively, you can add this setting as a query parameter.
This is particularly useful if you implement Cookiebot using a custom HTML tag in Google Tag Manager, since non-standard attributes are stripped. This makes the use of data attributes impossible.
To disable Consent Mode, you will have to replace the Cookiebot CMP tag with a custom HTML tag that looks similar to this:
Your tag should look similar to this:
You'll obviously want to replace the value of the "cbid" query parameter with your own Domain Group serial (CBID).
Please note that the
cookie_consent_update event will no longer be available when Consent Mode is disabled.
Please sign in to leave a comment.