Skip to content

Commit bde20d3

Browse files
committed
add Google Tag
1 parent 0589d8e commit bde20d3

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

index.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,23 @@
1717
<title>CoreUI Free React.js Admin Template</title>
1818
<link rel="manifest" href="/manifest.json">
1919
<link rel="shortcut icon" href="/favicon.ico">
20+
<!-- Google Tag Manager -->
21+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
22+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
23+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
24+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
25+
})(window,document,'script','dataLayer','GTM-KX4JH47');</script>
26+
<!-- End Google Tag Manager -->
2027
</head>
2128
<body>
2229
<noscript>
23-
You need to enable JavaScript to run this app
30+
<iframe
31+
src="https://www.googletagmanager.com/ns.html?id=GTM-KX4JH47"
32+
height="0"
33+
width="0"
34+
style="display: none; visibility: hidden"
35+
></iframe>
36+
You need to enable JavaScript to run this app.
2437
</noscript>
2538
<div id="root"></div>
2639
<script type="module" src="/src/index.js"></script>

0 commit comments

Comments
 (0)