Updated metriks code. Updated languages redirect.

This commit is contained in:
Oleg Sh
2024-10-20 15:04:16 +02:00
parent f69577ff32
commit 552f7b3026
2 changed files with 30 additions and 25 deletions

View File

@@ -104,32 +104,37 @@
</footer>
</div>
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter25827098 = new Ya.Metrika({id:25827098,
clickmap:true,
accurateTrackBounce:true});
} catch(e) { }
});
<script type="text/javascript" >
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter25827098 = new Ya.Metrika({
id:25827098,
clickmap:false,
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 = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
var n = d.getElementsByTagName("script")[0],
x = "https://mc.webvisor.org/metrika/watch_ww.js",
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
for (var i = 0; i < document.scripts.length; i++) {
if (document.scripts[i].src === x) { return; }
}
s.type = "text/javascript";
s.async = true;
s.src = x;
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/25827098" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<noscript><div><img src="https://mc.yandex.ru/watch/25827098" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<script>