add files
This commit is contained in:
23
template-parts/header/counters.php
Normal file
23
template-parts/header/counters.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<!--[header/counters]-->
|
||||
|
||||
<script type="text/javascript"> (function (m, e, t, r, i, k, a) {
|
||||
m[i] = m[i] || function () {
|
||||
(m[i].a = m[i].a || []).push(arguments)
|
||||
};
|
||||
m[i].l = 1 * new Date();
|
||||
k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
|
||||
})(window, document, "script", "https://cdn.jsdelivr.net/npm/yandex-metrica-watch/tag.js", "ym");
|
||||
ym(24504371, "init", {clickmap: true, trackLinks: true, accurateTrackBounce: true});
|
||||
</script>
|
||||
|
||||
<noscript>
|
||||
<div>
|
||||
<img loading="lazy" src="https://mc.yandex.ru/watch/24504371" style="position:absolute; left:-9999px;" alt=""/>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
<script>
|
||||
new Image().src = "//counter.yadro.ru/hit?r" + escape(document.referrer) + ((typeof (screen) == "undefined") ? "" : ";s" + screen.width + "*" + screen.height + "*" + (screen.colorDepth ? screen.colorDepth : screen.pixelDepth)) + ";u" + escape(document.URL) + ";h" + escape(document.title.substring(0, 150)) + ";" + Math.random();
|
||||
</script>
|
||||
|
||||
<!--[/header/counters]-->
|
||||
Reference in New Issue
Block a user