Move the Yandex.Metrika noscript pixel from head to body

A <noscript> in <head> may only contain link, style and meta, so parse5
rejected the <div><img> pixel (disallowed-content-in-noscript-in-head).
Applied to hotel, fitnes, medcenterphysio and medcenterstart.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Yuriy Panov
2026-09-11 23:52:37 +06:00
co-authored by Claude Opus 5
parent 23986ff5ad
commit 9af36cc374
4 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -69,12 +69,12 @@
trackLinks: true,
})
</script>
<noscript
><div><img src="https://mc.yandex.ru/watch/112352796" style="position: absolute; left: -9999px" alt="" /></div
></noscript>
<!-- /Yandex.Metrika counter -->
</head>
<body>
<noscript
><div><img src="https://mc.yandex.ru/watch/112352796" style="position: absolute; left: -9999px" alt="" /></div
></noscript>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>