diff --git a/public/index.html b/public/index.html index 8d8fb11c..b9522be0 100755 --- a/public/index.html +++ b/public/index.html @@ -40,23 +40,63 @@ - - - - + const domain = location.hostname + if (domain === "quiz.pena.digital") { + ym(96979576, "init", { + clickmap: true, + trackLinks: true, + accurateTrackBounce: true, + webvisor: true + }); + + // + var _tmr = window._tmr || (window._tmr = []); + _tmr.push({ id: "3513005", type: "pageView", start: (new Date()).getTime() }); + (function (d, w, id) { + if (d.getElementById(id)) return; + var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id; + ts.src = "https://top-fwz1.mail.ru/js/code.js"; + var f = function () { var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s); }; + if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } + })(document, window, "tmr-code"); + // + + }; + if (domain === "squiz.pena.digital") { + ym(96979625, "init", { + clickmap: true, + trackLinks: true, + accurateTrackBounce: true, + webvisor: true + }); + }; + if (domain === "penaquiz.online" || domain === "penaquiz.ru") { + ym(97241101, "init", { + clickmap: true, + trackLinks: true, + accurateTrackBounce: true, + webvisor: true + }); + }; + + + +