metrics.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. ?>
  3. <!-- Google tag (gtag.js) -->
  4. <script async src="https://www.googletagmanager.com/gtag/js?id=G-B56TR2TLTN"></script>
  5. <script>
  6. window.dataLayer = window.dataLayer || [];
  7. function gtag(){dataLayer.push(arguments);}
  8. gtag('js', new Date());
  9. gtag('config', 'G-B56TR2TLTN');
  10. </script>
  11. <!-- Yandex.Metrika counter -->
  12. <script type="text/javascript" >
  13. (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
  14. m[i].l=1*new Date();
  15. for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
  16. k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
  17. (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
  18. setTimeout( function(){ym(34950850, "init", {
  19. clickmap:true,
  20. trackLinks:true,
  21. accurateTrackBounce:true,
  22. webvisor:true
  23. });},0);
  24. </script>
  25. <!-- /Yandex.Metrika counter -->
  26. <!-- Rating@Mail.ru counter -->
  27. <script type="text/javascript">
  28. var _tmr = _tmr || [];
  29. _tmr.push({
  30. id: "55851",
  31. type: "pageView",
  32. start: new Date().getTime()
  33. });
  34. setTimeout(function(d, w) {
  35. var ts = d.createElement("script");
  36. ts.type = "text/javascript";
  37. ts.async = true;
  38. ts.src =
  39. (d.location.protocol == "https:"
  40. ? "https:"
  41. : "http:") + "//top-fwz1.mail.ru/js/code.js";
  42. var f = function() {
  43. var s = d.getElementsByTagName("script")[0];
  44. s.parentNode.insertBefore(ts, s);
  45. };
  46. if (w.opera == "[object Opera]") {
  47. d.addEventListener("DOMContentLoaded", f, false);
  48. } else {
  49. f();
  50. }
  51. },500, document, window);
  52. </script>
  53. <!-- //Rating@Mail.ru counter -->
  54. <!--LiveInternet counter-->
  55. <script>
  56. new Image().src = "https://counter.yadro.ru/hit;amicru?r"+
  57. escape(document.referrer)+((typeof(screen)=="undefined")?"":
  58. ";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
  59. screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
  60. ";h"+escape(document.title.substring(0,150))+
  61. ";"+Math.random();</script>
  62. <!--/LiveInternet-->