Manage tracking <img> pixels

Have more questions? Submit a request

Some advertising networks use tracking pixels <img> tags that send a ping back to theirs servers. In order to connect these pixels to the banner you can use the following Javascript snippet.

<script type="text/plain" data-cookiefirst-category="advertising">
var img = document.createElement("img");
img.src = "url here";
img.style = 'width: 0; height: 0; border: 0';
document.body.appendChild(img);
</script>

Articles in this section

Was this article helpful?
1 out of 4 found this helpful
Share