3rd party impression tracker implementation

Pixel is an URL which is technically image but returns a tiny pixel (1x1) as a content. Its purpose is to collect (track) some data to backend without breaking any content on website.

Please see the example below:

<img src="https://gdeua.hit.gemius.pl/_{CACHEBUSTER}/redot.gif?id=nAE7_Yw7MDfkVxcFmlFmC2ZWDfXZJOdExNe22B4YXQz.U7/fastid=exkyeeteovzqevebeouudwxytsob/stparam=odcppjdoqy/nc=0/gdpr=0/gdpr_consent=" width="1" height="1" style="display: none">

This code is HTML/JavaSript code. However it is seen, that it has HTML img tag which means that URL in it is an image.
So here we have 2 options of implementation:
  1.  Extract URL from tag https://gdeua.hit.gemius.pl/_{CACHEBUSTER}/redot.gif?id=nAE7_Yw7MDfkVxcFmlFmC2ZWDfXZJOdExNe22B4YXQz.U7/fastid=exkyeeteovzqevebeouudwxytsob/stparam=odcppjdoqy/nc=0/gdpr=0/gdpr_consent= and setup it as Pixel tracker. Double check that your tracker is secure (https).
  2.  Take the whole code <img src="https://gdeua.hit.gemius.pl/_{CACHEBUSTER}/redot.gif?id=nAE7_Yw7MDfkVxcFmlFmC2ZWDfXZJOdExNe22B4YXQz.U7/fastid=exkyeeteovzqevebeouudwxytsob/stparam=odcppjdoqy/nc=0/gdpr=0/gdpr_consent=" width="1" height="1" style="display: none"> and setup it as HTML/Javascript code tracker. 
*HTTPS Impression trackers must be secure SSL (https) ALWAYS. For click URLs, it is possible to use not secure tracker.

Revision #6
Created Mon, Apr 19, 2021 8:50 AM by Gabriele
Updated Mon, Oct 24, 2022 1:13 PM by Vladimir