Skip to content

Commit 83ee8ef

Browse files
authored
Merge pull request #127 from IgniteUI/dkamburov/gtm
feat(gtm): integrate gtm into the main index of the app
2 parents 1c538b7 + fdcd070 commit 83ee8ef

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4+
<!-- Google Tag Manager -->
5+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
6+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
7+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
8+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
9+
})(window,document,'script','dataLayer','GTM-T65CF7');</script>
10+
<!-- End Google Tag Manager -->
411
<meta charset="utf-8">
512
<title>GridDemos</title>
613
<base href="/">
@@ -15,6 +22,10 @@
1522
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&display=swap" rel="stylesheet">
1623
</head>
1724
<body class="ig-typography ig-scrollbar">
25+
<!-- Google Tag Manager (noscript) -->
26+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-T65CF7"
27+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
28+
<!-- End Google Tag Manager (noscript) -->
1829
<app-root></app-root>
1930
</body>
2031
</html>

0 commit comments

Comments
 (0)