Skip to main content
Google Tag Manager Configuration

In this article, we will describe how to load the Enzuzo cookie banner via Google Tag Manager.

Updated over 3 months ago

Embedding an Enzuzo cookie banner through Google Tag Manager offers numerous advantages for website administrators and marketers seeking to enhance user privacy compliance while streamlining their website management processes. By utilizing Google Tag Manager, you can efficiently deploy and control the cookie consent script without the need for direct code modifications. This approach not only simplifies the implementation process but also provides the flexibility to manage and update your cookie banner dynamically, ensuring compliance with evolving privacy regulations while maintaining a seamless user experience. Furthermore, Google Tag Manager's robust version control and debugging capabilities empower you to fine-tune your cookie banner's behavior, ensuring it functions optimally without compromising website performance or user engagement.

This guide assumes that you have Google Tag Manager set up on your website. If you do not, follow this guide from Google before beginning.

To load the Enzuzo cookie manager via Google Tag Manager, follow these steps:

Install the Enzuzo Community Template

  1. Go to the "Templates" section of your Google Tag Manager workspace, and click "Search Gallery".

  2. Select the "Enzuzo Cookie Manager" template from the list.

  3. Click "Add To Workspace".

  4. Press "Add" on the dialog to add the template to your workspace.

Create the Enzuzo Cookie Manager Tag

  1. Go to "Tags" and click "New".

  2. Give a tag a descriptive name, select the "Enzuzo Cookie Manager" for the tag type, and set the trigger to "Consent Initialized".

  3. Click on "Tag Configuration" and fill in the value for "Enzuzo Script URL". You can find the correct URL under "Cookie Consent" > "Cookie Banner" > "Add To Site".

  4. Finally, press "Save" on your tag, and then publish your workspace.

Configure Google Tags

The Google Tag can be configured in Basic or Advanced consent mode. In Advanced mode, the Google Tag will send limited, non-identifying information to Google before consent is granted. You can learn more about Advanced mode here.

In Basic mode, the Google Tag will be completely prevented from loading before consent is granted.

To configure your Google Tag to use Advanced Consent Mode, set the tag to trigger on "Initialization - All Pages" (or a similar event).

To configure your Google Tag for Basic Consent Mode, follow the steps below for third-party scripts.

Configure Third Party Scripts

Native tags built by Google automatically integrate with the Google Consent Mode signals our banner sends. However, if you are loading a tag from a third-party vendor, such as Hotjar or Microsoft Analytics, or if you wish to configure your Google Tag in Basic mode, you will need to configure it to integrate with Google Consent Mode.

First, create a "Custom Event" trigger, by going to "Triggers" > "New" > "Custom Event". In the "Event Name" field, type "enzuzo_consent_update".

When creating your custom tag, use the new "Custom Event" trigger you created. Then, click on "Advanced Settings" > "Consent Settings" > "Require additional consent for tag to fire", and then specify a category. Your tag will then fire when the user consents to the corresponding category in the Enzuzo Cookie Banner.

GTM Consent Category

Enzuzo Consent Category

ad_storage

Marketing

ad_user_data

Marketing

ad_personalization

Marketing

analytics_storage

Analytics

personalization_storage

Preferences

functionality_storage

Strictly Necessary

security_storage

Strictly Necessary

Did this answer your question?