const uniq="id"+(new Date).getTime(),revAnApiUrl="https://analytics.revolvo.dk";function revAnBegin(){revAnLog(0),setTimeout(function(){revAnLog(3)},3e3),setTimeout(function(){revAnLog(12)},12e3),setTimeout(function(){revAnLog(60)},60e3)}function revAnBc(o,it){var n=location.protocol+"//"+location.host+location.pathname,i=(window.location.search,navigator.userAgent,{wid:"4bd368a3-3435-4c29-9ce6-ba8402df5b47",u:n,i:uniq,bid:o,it:it});fetch(revAnApiUrl+"/api/c",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)})}function revAnLog(o){var n=location.protocol+"//"+location.host+location.pathname,i=window.location.search,e=navigator.userAgent,t={wid:"4bd368a3-3435-4c29-9ce6-ba8402df5b47",u:n,p:i,i:uniq,s:o,ua:e};fetch(revAnApiUrl+"/api/a",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})} function revAnClickListener(e) { var clickedElement = (window.event) ? window.event.srcElement : e.target; revAnBc(clickedElement.nodeName, e.target.innerText); } document.onclick = revAnClickListener; var revAnmonitor = setInterval(function(){ var revAnelem = document.activeElement; if(revAnelem && revAnelem.tagName == 'IFRAME'){ revAnBc("IFRAME / VIDEO", "Not available"); clearInterval(revAnmonitor); } }, 100);