Skip to content
Installation
Additional consent

Additional Consent

If you have tags in your Google Tag Manager container that don't offer built-in consent, you'll need to manually select the correct category as additional consent and update the firing triggers for each tag.

Note that tags using additional consent will work normally without any changes to the triggers. However, if you are using "Page view" triggers, the tags won't be triggered on the first page view if the user hasn't accepted the assigned cookie category. To work around this, you can add the CookieHub - Choice modified trigger as an additional firing trigger, which will ensure that the tag is always fired on every page.

ℹ️

It's important to note that you should not configure additional consent for tags that already have built-in Google consent mode support, including the CookieHub tag and Google Analytics. These tags will automatically respect the user's consent preferences and work correctly without any additional configuration.

Creating the "CookieHub - Choice Modified" Trigger

If you've installed the CookieHub GTM template from the community template gallery, you'll need to manually create the "CookieHub - Choice Modified" trigger for tags that require additional consent. If this trigger already exists in your GTM container, you can skip these steps.

  1. Navigate to the Triggers section of your Google Tag Manager container and click "New."
  2. Click on the "Trigger Configuration" section and select "Custom Event" from the "Other" section.
  3. n the "Event Name" textbox, type "cookiehub_modified". No further changes are needed. Create trigger
  4. Click "Save" at the top right corner.
  5. For the Trigger Name, type "CookieHub - Choice Modified" and then click "Save". Rename trigger

Configuring additional consent

To set up additional consent for your current tags, follow these steps:

  1. Go to the Tags section of your Google Tag Manager container and select the tag for which you want to enable additional consent. For example, let's use the Facebook Pixel tag.
  2. Click on the Tag Configuration section. Download Google Tag Manager template
  3. Expand the Advanced Settings option. Download Google Tag Manager template
  4. Expand the Consent Settings option. Download Google Tag Manager template
  5. Check the box for Require additional consent for tag to fire and select the cookie category you want to assign this tag to. For example, let's use the analytical category named "analytics_storage" in Google Tag Manager. Download Google Tag Manager template
  6. After confirming your selection by clicking outside the Tag Configuration section, the configuration should look like this: Download Google Tag Manager template
  7. Next, modify the firing triggers by clicking on the Triggering section. Download Google Tag Manager template
  8. Add a new trigger by clicking the + icon. Download Google Tag Manager template
  9. Select the CookieHub - Choice modified trigger from the list of triggers. Download Google Tag Manager template After following these steps, your tag will be fired when either of the two triggers match the Google Tag Manager conditions. Download Google Tag Manager template