add: Счетчик метрики
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m26s

This commit is contained in:
2026-02-22 13:01:16 +03:00
parent a33b517a3e
commit f2f98d9229
2 changed files with 9 additions and 3 deletions

View File

@@ -18,5 +18,11 @@ _tmr.push({id: "3744288", type: "pageView", start: (new Date()).getTime()});
f();
}
})(document, window, "tmr-code");
// //Rating Mail.ru counter
// Yandex.Metrika counter
(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();
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)
})(window, document,'script','https://mc.yandex.ru/metrika/tag.js?id=106953063', 'ym');
ym(106953063, 'init', {ssr:true, webvisor:true, clickmap:true, ecommerce:"dataLayer", referrer: document.referrer, url: location.href, accurateTrackBounce:true, trackLinks:true});