Add Google Tag Manager script

pull/104/head
onursenture 2019-10-17 11:06:12 +03:00
parent c5d097bad6
commit 847ad6e7b7
1 changed files with 3 additions and 0 deletions

View File

@ -8,10 +8,13 @@
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>PrimeVUE</title>
<link id="theme-link" rel="stylesheet" href="<%= BASE_URL %>themes/nova-light/theme.css">
<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-P2KMD7W');</script>
</head>
<body>
<div id="app"></div>
</body>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P2KMD7W"height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
</html>