mirror of
https://github.com/valitydev/koffing.git
synced 2024-11-06 01:05:19 +00:00
Add Yandex Metrika (#286)
This commit is contained in:
parent
e27f8869eb
commit
c4e72c56d8
@ -14,3 +14,17 @@ body
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'UA-131422254-1');
|
||||
// Yandex.Metrika counter
|
||||
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://mc.yandex.ru/metrika/tag.js", "ym");
|
||||
ym(69481282, "init", {
|
||||
clickmap:true,
|
||||
trackLinks:true,
|
||||
accurateTrackBounce:true
|
||||
});
|
||||
noscript
|
||||
div
|
||||
img(src='https://mc.yandex.ru/watch/69481282' style='position:absolute; left:-9999px;' alt='')
|
||||
// /Yandex.Metrika counter
|
Loading…
Reference in New Issue
Block a user