Basic and Advanced mode
When CookieTractor is installed you can configure it so that compatible products respond to Google Consent Mode - this is referred to as Advanced mode.
With the help of Advanced mode, services like Google Analytics 4 will collect data about the visit without the use of cookies – before the visitor has given consent specifically for analytics. Once consent is given, the previously collected data will be handeled and supported by the use of cookies. Other Google services that utilize Google Consent Mode behave similarly before receiving their respective consents. This setup benefits the site owner by providing broader insight into visits without compromising legal requirements around collecting personal data without consent.
If Advanced mode is disabled, no data will be collected before consent has been given - not even anonymous data. This configuration is referred to as Basic mode.
CookieTractor with script-tag
When CookieTractor is added to the website using our script tag, you can toggle between the modes using the data-gcm-disabled attribute. Set the value to false to enable Advanced Mode, or to true to use Basic Mode.
By default, CookieTractor uses Advanced Mode. Therefore, not using the attribute has the same effect as setting it to false.
<!-- Use Basic mode, with Google Consent Mode disabled -->
<script src="cookietractor.js" data-gcm-disabled="true" [...] />
Scripts that run in Basic Mode and require consent can, for example, be conditioned by blocking with attributes.
CookieTractor with GTM Tag Template
If you've added CookieTractor to your website using out Google Tag Manager Tag Template, this is how you toggle between the two modes:
Advanced mode
To use Advanced Mode, make sure that Enable Google Consent Mode is checked inside our Tag Template:

The tags for the compatible products should use the trigger All Pages.
Basic mode
To disable Google Consent Mode, and thereby use Basic mode, simply uncheck Enable Google Consent Mode:

The tags added in GTM should use a matching trigger for each type of consent. For example, All Pages (Analytics), which runs only after consent for statistics has been given.
Related information
Support
Do you have questions about Google Consent Mode or Google Tag Manager for your installation? Feel free to contact us at google@cookietractor.com. Google does not provide direct support for the product – support should primarily go through us.