<!-- Yandex.Metrika counter -->
<script nonce="{{this.nonce}}" data-ym-id="{{this.ids.portal}}">
   (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({{this.ids.portal}}, "init", {
        clickmap: true,
        trackLinks: true,
        accurateTrackBounce: true,
        webvisor: false,
        userParams: JSON.parse("{{this.userParams}}")
   });
   {{#if this.ids.general}}
   ym({{this.ids.general}}, "init", {
        clickmap: true,
        trackLinks: true,
        accurateTrackBounce: true,
        webvisor: false,
        userParams: JSON.parse("{{this.userParams}}")
   });
   {{/if}}
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/{{this.ids.portal}}" style="position: absolute; left: -9999px;" alt=""/></div></noscript>
{{#if this.ids.general}}
<noscript><div><img src="https://mc.yandex.ru/watch/{{this.ids.general}}" style="position: absolute; left: -9999px;" alt=""/></div></noscript>
{{/if}}
<!-- /Yandex.Metrika counter -->
