Добавил аналитику
All checks were successful
Build and deploy / Publish image (push) Successful in 1m6s

This commit is contained in:
2025-01-02 17:49:49 +03:00
parent e9e7f1bfe7
commit f1a2e343b4
2 changed files with 30 additions and 3 deletions

View File

@@ -1,5 +1,15 @@
@inherits LayoutComponentBase @inherits LayoutComponentBase
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WX5BNPFX');</script>
<body class="flex items-center accent-error justify-center min-h-screen font-roboto text-primary-content"> <body class="flex items-center accent-error justify-center min-h-screen font-roboto text-primary-content">
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WX5BNPFX"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
@Body @Body
</body> </body>

View File

@@ -2,10 +2,27 @@
@inherits LayoutComponentBase @inherits LayoutComponentBase
@attribute [Authorize] @attribute [Authorize]
<script>(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-WX5BNPFX');</script>
<div class="flex items-center accent-error justify-center min-h-screen font-roboto text-primary-content"> <div class="flex items-center accent-error justify-center min-h-screen font-roboto text-primary-content">
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WX5BNPFX"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
@Body
@Body <NavMenu/>
<NavMenu/>
</div> </div>