Skip to content

TwoDo CMS3 · guides

Analytics and cookie consent

Connecting CMS3, Google Tag Manager and visitor choices.

1. List the services used

List the services you want to use, their purposes and the data they store. Use this list to prepare the consent categories and visitor information.

2. Set up the container and tags

Prepare a web container in Google Tag Manager and enable its consent overview. Give each tag the appropriate triggers and consent requirements according to the provider’s current documentation. Do not automatically combine every analytics and advertising purpose.

3. Connect GTM and the cookie banner

In CMS3, open Tools → Integrations and enter GTM-XXXXXXX in the Google Tag Manager field. In Components, open Cookie consent and fill in actual categories, providers, purposes and storage information. Save and publish the appropriate version for the site.

4. Test consent behaviour

In a fresh browser, test the initial state, rejection, each category and consent withdrawal. Use network requests and GTM preview to check which tags run. Compare stored cookies with their descriptions in the banner.

5. Check the configuration

If something fails, check the container ID, published component version, trigger/tag connections and consent settings. Behaviour depends on the mode and third parties; ask the project administrator about changes to a specific measurement setup.