Cookie Consent (Free Cookie Consent)
If you add content to zCMS that needs to work with our Cookie Consent Tool, please note the following:
- JavaScript content that is added in the zCMS plug-in fields "Analytics Code" and "Marketing Code" belongs to the category "Targeting" and "Tracking". This content should only be displayed if the visitor agrees to the "Targeting and advertising cookies" and the "Tracking and performance cookies". Please note the information on Google Consent Mode V2 below so that your Google Tag Manager and Analytics tags are stored correctly. You must tag all other scripts yourself. Please follow the instructions below.
- JavaScript content that you add elsewhere (e.g. metatags or "Appearance => Custom JavaScript code" will NOT be converted automatically. You must adapt these scripts yourself. Please follow the instructions below.
- If you want to use iFrames such as YouTube or Google Maps with the Cookie Consent Tool, change the attribute "src" to "data-src" in the source code of the iFrame. As soon as the visitor agrees to the cookies, "data-src" is automatically converted back to "src" and the iFrame is loaded.
From 03/2024, according to Google, your script for Adwords, etc. must comply with "Google Consent Mode V2". Please also refer to the instructions below.
Display of Cookie Consent Tool
The colours of the button in the Cookie Consent Tool are influenced under "Appearance => Configuration Template => Colours". The Cookie Consent Tool uses the primary colours here. The Cookie Consent Tool is subsequently called up via a "cookie symbol" at the bottom left of the website. Its colours are controlled by the "Top button". You can change these colours under "Appearance => Configuration Template => General".
If you have any questions or need help, please contact the support team at the e-mail address provided. We will be happy to assist you at any time.
INSTRUCTIONS
HOW TO LABEL YOUR JAVASCRIPT SCRIPTS
https://www.cookieconsent.com/#how_to_tag_your_javascript_scripts
HOW TO INTEGRATE GOOGLE CONSENT MODE V2
First, please add the following script so that all services are rejected first
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){
dataLayer.push(arguments);
}
gtag('consent', 'default', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalisation': 'denied',
'analytics_storage': 'denied'
});
</script>
Then add your Google code (e.g. Google Tag Manager or Google Analytics). Google then automatically controls the visibility based on the selection in the Cookie Consent Tool:
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','YOUR-GOOGLE-TAG-ID');</script>
You can find more information at this URL. Please note steps 1 and 2. Step 3 is already integrated in our Cookie Consent Tool and works automatically.
https://www.cookieconsent.com/#how_to_integrate_google_consent_mode_v2
COOKIE CONSENS FAQ
https://www.cookieconsent.com/#cookie_consent_faqs