Skip to main content

GTM pixel implementation

In some cases, a user wants to implement Eskimi DSP tracking pixel through Google Tag Manager or GTM in short. This short user guide will help you.

Step 1 

Access your GTM account, and on the top left side of the page select "Tags" and press "New"

image-1610543511389.png

on the next screen. Select the Tag Type as "Custom HTML" and paste the Eskimi DSP base tracking code. And under the Tag Firing Options select "Once per page". This means that the pixel code will be initialized on every page. See the screenshot below for an example. 

image-1610543536567.png

Now at the bottom, you have selected the tag's trigger. So since this is the base pixel code, has to trigger on every day, we can select the default Trigger, which is is "All Pages, Page View" after selecting this. You can save your tag, and give it a new name.  

image-1610543813470.png

Step 2

The next step is to create a trigger, which will fire the conversion trigger. In this example, we will set up the conversion to be fired from the page's success page. First of all, on the left of the page select "Triggers" and then press "New".

image-1610543834987.png

Then you will be greeted with a new screen that looks similar to the Tag creation screen, but there a few differences. We will have to set up the triggering event. 

image-1610543852912.png

First of all, select the "Trigger type"  as "Page View", this means that the code will be trigger when a page is viewed, of course, you can change the type based on your preference ( raging from JS, DOM events, and etc. ).

After that, you have to define when the trigger fires on. Since this is a success page, we have to indicate that the trigger is fired on some page view, and then you can indicate the rules. Here we will indicate, that this is from the Page URL, and you can indicate either the full URL and a snipper of the success page URL. 

Step 3

As in Step 1, create a new Tag, but this time indicates the Conversion event which is to be wrapped in <script> </script> tags.  

image-1610543868220.png

After adding the HTML code, select your previously created custom URL trigger. 

image-1610543883480.png

And then save the Tag. After creating all the necessary tags, triggers you have to Publish the changes. 

 

// BotSonic