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. To help you with this, we've included a sample tag with your customized Google Tag Manager template where additional consent is correctly configured. You can find this tag in the Tags section by searching for "Sample - Additional consent tag". Although this tag is for demonstration purposes only and can be safely removed, you can use it as a reference to configure additional consent for other tags.
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 cookie preferences and work correctly without any additional configuration.
Additional consent should only be configured for tags that do not offer built-in consent mode support.
To set up additional consent for your current tags, follow these steps:
- 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.
- Click on the Tag Configuration section.
- Expand the Advanced Settings option.
- Expand the Consent Settings option.
- 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.
- After confirming your selection by clicking outside the Tag Configuration section, the configuration should look like this:
- Next, modify the firing triggers by clicking on the Triggering section.
- Add a new trigger by clicking the + icon.
- Select the CookieHub - Choice modified trigger from the list of triggers. After following these steps, your tag will be fired when either of the two triggers match the Google Tag Manager conditions.