Add Google Tag Manager

This commit is contained in:
Svetlana Maleeva 2024-07-23 16:00:47 +03:00
parent 9593098bb9
commit 85d51acf4b

View File

@ -87,6 +87,16 @@
</script>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= TeamLabUICulture.Name %>" lang="<%= TeamLabUICulture.Name %>" prefix="og: http://ogp.me/ns#">
<head runat="server">
<!-- Google Tag Manager -->
<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-5NW47TX');</script>
<!-- End Google Tag Manager -->
<title></title>
<meta charset="utf-8" />
<link rel="icon" href="<%=WebPath.GetPath("/images/favicon.ico") %>" type="image/x-icon" />
@ -134,7 +144,10 @@
<asp:ContentPlaceHolder ID="head" runat="server"></asp:ContentPlaceHolder>
</head>
<asp:contentplaceholder id="bodyid" runat="server"></asp:contentplaceholder>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5NW47TX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div class="BaseSide">
<form id="mainForm" runat="server">
<div class="mainpart">