Skip to content

Commit

Permalink
fix Metrika
Browse files Browse the repository at this point in the history
  • Loading branch information
uvarov-frontend committed Oct 27, 2023
1 parent e9b378a commit 049f5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Metrika.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default function Metrika() {
<script
dangerouslySetInnerHTML={{
__html:
'(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://cdn.jsdelivr.net/npm/yandex-metrica-watch/tag.js", "ym"); ym(95372062, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true });',
'(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", "ym"); ym(95372062, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true });',
}}
/>
);
Expand Down

0 comments on commit 049f5a6

Please sign in to comment.