Skip to content

Instantly share code, notes, and snippets.

@adastreamer
Created February 19, 2016 15:35
Show Gist options
  • Save adastreamer/2ecefc390d1622a956e9 to your computer and use it in GitHub Desktop.
Save adastreamer/2ecefc390d1622a956e9 to your computer and use it in GitHub Desktop.
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
if(location.hostname.match('maleeonline')) {
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter32508370 = new Ya.Metrika({
id:32508370,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true,
trackHash: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/32508370" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<!-- GA -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-67619947-1', 'auto');
ga('send', 'pageview');
</script>
<!-- /GA -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment