1. Home
  2. Docs
  3. Google Tag Manager Guide
  4. Google Tag Manager Practical Guide
  5. Implement Third-Party Library

Implement Third-Party Library

There are two ways to deploy third-party code. One is to use built-in templates, and the other is to use custom HTML. The following is an example of deploying Adroll remarketing code.

First, log in to Adroll to get the tracking code:

Implement Third-Party Library

It should be noted that there are two IDs in the tracking code, one is the advertisement ID and the other is the pixel ID. These two IDs need to be paid attention when deploying with the built-in template. Don’t be confused.

1. Built-in template method

In the GTM, click “Tags” → “New” → “choose a tag type to begin set-up” → “Adroll Smart Pixel”, then fill in the advertising ID and pixel ID, the trigger selects All Pages, the specific configuration is as show:

Implement Third-Party Library


2. Custom html method

In the GTM, click “Tags” → “New” → “choose a tag type to begin set-up” → “Custom HTML”, then copy and paste the Adroll code into the Tags,  and the Trigger select All Pages, the specific configuration as shown :

Implement Third-Party Library

The two configurations have the same effect. To make the Adroll remarketing code take effect, you also need to click “Submit” in the upper right corner to post the code to the online environment.

If you don't understand, You can leave a comment below.
Tags , ,