yandex.metrika new code

This commit is contained in:
Alexander Machehin 2015-05-28 15:02:25 +05:00
parent 2f2607d2d1
commit 6106534ab9
1 changed files with 22 additions and 21 deletions

View File

@ -14,10 +14,14 @@
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter14076919 = new Ya.Metrika({id:14076919, enableAll: true, ut:"noindex", webvisor:true});
w.yaCounter30597847 = new Ya.Metrika({id:30597847,
webvisor:true,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true});
} catch(e) { }
});
@ -31,11 +35,8 @@
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript>
<div>
<img src="//mc.yandex.ru/watch/14076919?ut=noindex" style="position:absolute; left:-9999px;" alt="" />
</div>
</noscript>
<noscript><div><img src="//mc.yandex.ru/watch/30597847" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->