Google Tag Manager

This section will guide you through implementing an Adyoulike container in Google Tag Manager (GTM).

If you are using Google Tag Manager to implement containers, you will have to follow the following steps.

1 - Get the container code

When asking for a container, you will receive a file with the URL looking like this one: https://pixels.omnitagjs.com/[path-to-the-pixel].js.

The code should look like this:

(function () { var jss = [js pixels]; var srcs = [image pixels]; [...] })();

You will have to copy the code of this file and paste it in a GTM custom HTML tag.

2 - Create a custom HTML tag

On GTM, browse through the Tags section and then click on New.

Rename your GTM Tags and then click on Tag Configuration and then Custom HTML Tag

Click on Tag Configuration

Copy the content of the Adyoulike Pixel Container file (contained in https://pixels.omnitagjs.com/[path-to-the-pixel].js) and paste it in the HTML Field surrounded by script tags:

 


The next step is to click on Triggering and then add your desired trigger (Usually ”All pages”)


Finally, click on save and your container is up and ready. Publish your GTM Configuration to make it live on your website.