commit
66b876550c
@ -0,0 +1,18 @@ |
|||||||
|
{{ with $yk := getYaKey }} |
||||||
|
{{ if $yk }} |
||||||
|
<!-- 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({{ $yk }}, "init", { |
||||||
|
clickmap:true, |
||||||
|
trackLinks:true, |
||||||
|
accurateTrackBounce:true |
||||||
|
}); |
||||||
|
</script> |
||||||
|
<noscript><div><img src="https://mc.yandex.ru/watch/{{ $yk }}" style="position:absolute; left:-9999px;" alt="" /></div></noscript> |
||||||
|
<!-- /Yandex.Metrika counter --> |
||||||
|
{{ end }} |
||||||
|
{{ end }} |
Loading…
Reference in new issue