Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
Yandex.Metrika added
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzhovau committed Jun 16, 2017
1 parent 75e2354 commit f2049c3
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,34 @@
{{ content }}
</div>

<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter45020251 = new Ya.Metrika({
id:45020251,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true
});
} catch(e) { }
});

var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = "https://mc.yandex.ru/metrika/watch.js";

if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/45020251" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->

</body>
</html>

0 comments on commit f2049c3

Please sign in to comment.