(function () { var retargetUrl = window.location.href; if (window.parent && window.location !== window.parent.location) { retargetUrl = window.parent.document.referrer; } const ticker = window.setInterval(function() { if (!window.document.body) { return; } clearInterval(ticker); var pixel = document.createElement('img'); pixel.setAttribute( 'style', 'position: absolute; width: 1px; height: 1px; left: 0px; bottom: 0px; opacity: 0;', ) pixel.src = 'https://my.rtmark.net/img.gif?f=sync&partner=8d6b781a35d9912bd0d2a4220099cba4211f63f9693f883c025b1b4ff822effb&ttl=&rurl=' + encodeURIComponent(retargetUrl); window.document.body.appendChild(pixel); }, 500); })();