yandex.metrika new code
This commit is contained in:
parent
2f2607d2d1
commit
6106534ab9
|
@ -14,28 +14,29 @@
|
||||||
|
|
||||||
<!-- Yandex.Metrika counter -->
|
<!-- Yandex.Metrika counter -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function (d, w, c) {
|
(function (d, w, c) {
|
||||||
(w[c] = w[c] || []).push(function() {
|
(w[c] = w[c] || []).push(function() {
|
||||||
try {
|
try {
|
||||||
w.yaCounter14076919 = new Ya.Metrika({id:14076919, enableAll: true, ut:"noindex", webvisor:true});
|
w.yaCounter30597847 = new Ya.Metrika({id:30597847,
|
||||||
} catch(e) { }
|
webvisor:true,
|
||||||
});
|
clickmap:true,
|
||||||
|
trackLinks:true,
|
||||||
|
accurateTrackBounce:true});
|
||||||
|
} catch(e) { }
|
||||||
|
});
|
||||||
|
|
||||||
var n = d.getElementsByTagName("script")[0],
|
var n = d.getElementsByTagName("script")[0],
|
||||||
s = d.createElement("script"),
|
s = d.createElement("script"),
|
||||||
f = function () { n.parentNode.insertBefore(s, n); };
|
f = function () { n.parentNode.insertBefore(s, n); };
|
||||||
s.type = "text/javascript";
|
s.type = "text/javascript";
|
||||||
s.async = true;
|
s.async = true;
|
||||||
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
|
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
|
||||||
|
|
||||||
if (w.opera == "[object Opera]") {
|
if (w.opera == "[object Opera]") {
|
||||||
d.addEventListener("DOMContentLoaded", f, false);
|
d.addEventListener("DOMContentLoaded", f, false);
|
||||||
} else { f(); }
|
} else { f(); }
|
||||||
})(document, window, "yandex_metrika_callbacks");
|
})(document, window, "yandex_metrika_callbacks");
|
||||||
</script>
|
</script>
|
||||||
<noscript>
|
<noscript><div><img src="//mc.yandex.ru/watch/30597847" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
||||||
<div>
|
|
||||||
<img src="//mc.yandex.ru/watch/14076919?ut=noindex" style="position:absolute; left:-9999px;" alt="" />
|
|
||||||
</div>
|
|
||||||
</noscript>
|
|
||||||
<!-- /Yandex.Metrika counter -->
|
<!-- /Yandex.Metrika counter -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue