How to use the GetTerms Google Tag Manager Template

If you will be using Google Consent Mode with the GetTerms Cookie Consent Widget, and would like to manage consent settings via Google Tag Manager, you there are two primary steps you need to follow.

This article assumes that you have a GetTerms subscription that includes the Cookie Consent Widget. Learn more here

Step 1: Install Google Tag Manager Template


  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", select "GetTerms Consent Management", and click Add to workspace
    4. Review the permissions required by the GetTerms Consent Management template, and click Add

  1. Create a new Trigger named "GetTerms consentUpdate"
    1. Open the Triggers tab and click New to create a new trigger.
    2. Click the Trigger Configuration panel.
    3. Select the Custom Event trigger type.
    4. In the Event name field, type consentUpdate
    5. Ensure this trigger fires on All Custom Events
    6. Click Save to save the new trigger and exit.

  1. Add the GetTerms Consent Management Tag
    1. Open the Tags tab and click New to add a new tag.
    2. Click the Tag Configuration panel.
    3. Select the GetTerms Consent Management tag type.
    4. Configure any default consent preferences using the dropdowns provided. These defaults will be applied before the user has updated their consent preferences.

      In most cases, you should leave all preferences defaulted to "Denied".

      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.

      1. Select GetTerms consentUpdate
      2. Select Consent Initialization - All Pages
    5. Click Save to save the tag and exit.

Step 2: Enable Consent Mode in your Cookie Consent Widget configuration


  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

  1. Review your Installation Instructions.
    1. Go to the Installation tab and review the instructions, as they may be different than when Consent Mode was toggled off.
    2. Ensure that your website has embedded the GetTerms Cookie Consent Widget correctly:
      1. It should be the first <script> tag on the page.
      2. It should be embedded above your Google Tag Manager embed code.

  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.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.