: What does Google Tag Manager's Custom Image Tag do? I am trying to understand how GTM works. Having inserted the container code to my page, I created two tags, "Custom HTML Tag" and "Custom
I am trying to understand how GTM works. Having inserted the container code to my page, I created two tags, "Custom HTML Tag" and "Custom Image Tag" and published them. In the "Custom HTML Tag", I wrote:
<div>wsk</div>
<script>console.log('wwwssskkk')</script>
In the "Custom Image Tag", I set the image URL.
You can see this HTML page I use to conduct this test: www.xrsand.com/word2html.html. Now there are several problems I think are critical in order to further understand how GTM works:
Turns out the codes in "Custom HTML tag" are inserted into the page before the closing body tag, but the "Custom Image Tag" is not. So what is this "custom Image Tag" supposed to do?
In Chrome only, a tag manager iframe appears.
This won't appear in other browsers. Why? And I don't think regular users are supposed to see this iframe. How to turn it off?
More posts by @Sherry384
1 Comments
Sorted by latest first Latest Oldest Best
The custom image tag requests an image from the given url, but does not insert it into the DOM. Making the image request is enough to transmit information to a server, and GTM is not supposed to change the Layout of the page in any case.
As for the second question, that's the preview mode that is used to debug tags. This is enabled via a cookie after you click the preview link, so it's visible only in the browser instance in which you clicked the link - other users will not see this at all. You can leave the preview mode by clicking the "Leave preview mode" at the top of your admin interface (if you are in preview mode there is an orange bar at the top of the admin interface that says "previewing version" and the version of the container, there you will find the leave preview link).
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.