How to set up Google Consent Mode v2 with the GetTerms Cookie Consent Banner

If you'll be using Google Consent Mode with the GetTerms Cookie Consent Widget, we strongly recommend Google Tag Manager to install your Google Tag. We've created a template to make this extremely simple.

Note: This guide requires you to have Google Tag Manager installed on your website - If you haven't done this, follow this guide first.


Part 1: Enable Google Consent Mode in GetTerms

  1. Log into GetTerms and open your chosen Policy Pack with Cookie Consent enabled.
  2. Open the Cookie Consent tab.
  3. Open the Cookie Consent Widget tab.
  4. Open the Configuration tab.
  5. Toggle "Enable Google Consent Mode" to On

Part 2: Review your Installation Instructions.

    1. Go to the Installation tab and review the instructions, as they will have changed when Google Consent mode was enabled.
    2. Ensure that your website has embedded the GetTerms Cookie Consent Widget correctly:
      1. It should be the first <script> tags on the page.
      2. It should be embedded above your Google Tag Manager embed code.

A screenshot of the GetTerms Cookie Consent Widget installation tab. It contains instructions for a snippet of HTML code to add to the <head> section of your website.

  1. Updates to your Cookie Consent Widget configuration can take up to 5 minutes to be reflected on your website. Grab a coffee, have a snack, take a load off.

Part 3: Installing the GetTerms Consent Management Tag in Google Tag Manager


  1. Add the 'GetTerms Consent Management' Tag Template to your workspace
    1. In your 'Google Tag Manager' workspace, open the 'Templates' tab.
    2. Within the 'Tag Templates' panel, click 'Search Gallery'.

    3. Search for 'GetTerms'

    4. Click the 'GetTerms Consent Management' result

    5. Click 'Add to workspace'

    6. Review the permissions required by the GetTerms Consent Management template, and click 'Add'


  1. Add the 'GetTerms Consent Management' Tag
    1. Open the 'Tags' tab and click 'New' to add a new tag.

      Click the 'Tag Configuration' panel, and select the 'GetTerms Consent Management' custom tag type

      1. Configure any default consent preferences using the dropdowns provided. These defaults will be applied before the user has updated their consent preferences.

        If you need scripts to be 'opt-in' for compliance, you should leave all preferences defaulted to 'Denied'.

      2. Scroll down and click the 'Triggering' panel.

        Note: You can add multiple triggers by hovering the trigger's icon to reveal a checkbox to select more than one.

      3. Select 'Consent Initialization - All Pages'

Part 4: Enabling Consent overview

Consent overview tells you which tags have or haven't been configured for consent.

  1. Open your container settings found in the admin tab
  2. Tick the box for 'enable consent overview'

  3. You'll now see a shield in your tag settings which lets you know that consent overview is enabled.

  4. Clicking the shield opens your consent overview, which tells you which tags have or haven't been configured for consent.

  5. Selecting a tag and clicking the shield button will allow you to edit the consent settings for your tags in bulk. In this instance, select your google tag and edit consent settings.

  6. Configure it to 'No additional consent required' as it's a Google Tag and therefore knows about consent mode.

Note: For non-Google related tags, - e.g. HotJar - you'll need to set this up to require additional consent firing only upon a user granting 'analytics storage'. You can then use the event 'consentUpdate' as the trigger.

  1. Set the trigger for your Google tag to 'Page View - All Pages' or 'Initialization - All Pages'

  2. Add a second trigger


  3. Click the button to add a new trigger


  4. Select 'Custom event' as the trigger type


  5. Input the event name 'consentUpdate'

  6. Click 'Save' to save the trigger
  7. We recommend that you configure the to fire 'once per page' to avoid the chance of a tag firing twice on the same page. This can happen if a user grants consent for all cookies, then updates their consent to deny 'advertising cookies' on the same page as consentUpdate will fire each time consent preferences are updated.

  8. Click 'Save' again to save the tag configuration. Now your Google Tag will when on each page view, and also when the user first sets their consent preferences. Google analytics will only collect personal information when consent is granted for 'Analytics storage'.

  9. Publish your GTM container by clicking 'submit' in the top right of the window, your GTM is configured and consent mode should be active!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us