@@ -63,7 +63,63 @@ export default async () => {
6363 } ,
6464 head : [
6565 [ 'link' , { rel : 'icon' , href : '/reactuse/favicon.ico' } ] ,
66- [ 'link' , { rel : 'manifest' , href : '/reactuse/manifest.json' } ]
66+ [ 'link' , { rel : 'manifest' , href : '/reactuse/manifest.json' } ] ,
67+ [
68+ 'script' ,
69+ { type : 'text/javascript' } ,
70+ `(function(m,e,t,r,i,k,a){
71+ m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
72+ m[i].l=1*new Date();
73+ for (var j = 0; j < document.scripts.length; j++) {
74+ if (document.scripts[j].src === r) { return; }
75+ }
76+ k=e.createElement(t),a=e.getElementsByTagName(t)[0],
77+ k.async=1,k.src=r,a.parentNode.insertBefore(k,a)
78+ })(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
79+
80+ ym(102942267, "init", {
81+ clickmap:true,
82+ trackLinks:true,
83+ accurateTrackBounce:true
84+ });`
85+ ] ,
86+ [
87+ 'noscript' ,
88+ { } ,
89+ `<div><img src="https://mc.yandex.ru/watch/102942267" style="position:absolute; left:-9999px;" alt="" /></div>`
90+ ] ,
91+
92+ [
93+ 'script' ,
94+ { } ,
95+ `(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
96+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
97+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
98+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
99+ })(window,document,'script','dataLayer','GTM-5SMCHX9Z');`
100+ ] ,
101+
102+ [
103+ 'script' ,
104+ {
105+ async : '' ,
106+ src : 'https://www.googletagmanager.com/gtag/js?id=G-RRECQP6XBW'
107+ }
108+ ] ,
109+
110+ [
111+ 'script' ,
112+ { } ,
113+ `window.dataLayer = window.dataLayer || [];
114+ function gtag(){dataLayer.push(arguments);}
115+ gtag('js', new Date());
116+ gtag('config', 'G-RRECQP6XBW', {
117+ anonymize_ip: true,
118+ client_storage: 'none',
119+ allow_google_signals: false,
120+ allow_ad_personalization_signals: false
121+ });`
122+ ]
67123 ] ,
68124 locales : {
69125 root : {
0 commit comments