neurosite: добавить Яндекс.Метрику (112350856) в BaseLayout
This commit is contained in:
1 parent
f49ff666ca
commit
dfef899838
1 file changed
+15
-1
@@ -73,8 +73,22 @@ const orgSchema = JSON.stringify({
|
|||||||
{articleSchema && <script type="application/ld+json" set:html={articleSchema}></script>}
|
{articleSchema && <script type="application/ld+json" set:html={articleSchema}></script>}
|
||||||
<script type="application/ld+json" set:html={orgSchema}></script>
|
<script type="application/ld+json" set:html={orgSchema}></script>
|
||||||
|
|
||||||
|
<!-- Yandex.Metrika counter -->
|
||||||
|
<script type="text/javascript" is:inline>
|
||||||
|
(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=112350856', 'ym');
|
||||||
|
|
||||||
|
ym(112350856, 'init', {ssr:true, clickmap:true, ecommerce:"dataLayer", referrer: document.referrer, url: location.href, accurateTrackBounce:true, trackLinks:true});
|
||||||
|
</script>
|
||||||
|
<noscript><div><img src="https://mc.yandex.ru/watch/112350856" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
||||||
|
<!-- /Yandex.Metrika counter -->
|
||||||
|
|
||||||
<!-- UnoCSS (virtual:uno.css — генерируется @unocss/astro) -->
|
<!-- UnoCSS (virtual:uno.css — генерируется @unocss/astro) -->
|
||||||
<style>
|
<style is:global>
|
||||||
:root{
|
:root{
|
||||||
--bg:#0d0f1a;
|
--bg:#0d0f1a;
|
||||||
--text:#e6e8f0;
|
--text:#e6e8f0;
|
||||||
|
|||||||
Reference in new issue
Block a user