Google Tag Manager and GDPR | Container JSON Configuration Guide

This article will explain the step by step instructions on how to use Google Tag Manager with NextRoll Cookie Consent Banner in order to be compliant GDPR and ePrivacy Directive.

Note the following:

  • Using Google Tag Manager is highly recommended given that it drastically simplifies the adoption of the Cookie Law requirements. You can use this solution for all analytics tools, but not for AdSense banners, YouTube videos, or social buttons or widgets of any kind.
  • This solution applies to ONLY the vendors in the IAB EU TCFv2 Global Vendor List.
  • Disclaimer: This is not legal advice and we recommend you check with your legal team prior to implementing this solution.

Prerequisites:

To use Google Tag Manager with NextRoll Cookie Consent Banner:

Step 1: Download the Container JSON

  • You need to first enable the Google Tag Manager integration in your AdRoll dashboard settings. Go to Settings > GDPR
  • Download the container JSON file and save your settings.

Step 2: Import the Container JSON in Google Tag manager

  • The Container JSON is a package of events, variables, and triggers embedded in a JSON file that are required to manage your tags via Google Tag Manager.
  • Log into your own Google Tag Manager container and head to the Admin section of the site. Under Container options, select Import Container.

    json1.png
     
  • Login to GTM > Click on Admin > Import Container 
    • You may choose to overwrite conflicting tags or rename conflicting tags. 
    • Select Import File — Import the nextroll-consent.json 
    • Select your desired workspace 
    • Merge workspace with content 
    • Click Confirm to complete the import process. 

Step 3: Classify your Tags

  • You now need to classify your tags and define what user consent is required for firing each of them.
  • In the Tags section of the manager, edit each tag and add a trigger corresponding to the vendor that owns the tag.
  • Moving forward, every time you add a new tag that requires a GDPR consent, you must categorize it by adding the adequate trigger.
  • Below are the details on the triggers and variables that are available as part of NextRoll container JSON you imported in Step 2.
    • Click on the Tag (example: AdRoll Smart Pixel).
    • Go to triggering and click to Add Triggers.

      json2.png

    • Select the trigger from the drop-down list (example: nextroll-consent).

      json3.png

    • Save the changes.

      json4.png
  • You need to classify all the required tags and define what user consent is required for firing each of them. Learn more on the events, triggers, and variables we support.
  • In the "Tags" section of the manager, add the above-configured trigger to the required tags.

If you have any questions, please contact your account manager or our technical support team support@adroll.com

Was this article helpful?