Skip to content

Commit bdf5da1

Browse files
author
Salma Alam-Naylor
committed
Move GA code to head for search console
1 parent d7ed364 commit bdf5da1

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

apps/fretonator-web/src/index.html

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,23 @@
2525
<link rel="icon" type="image/x-icon" href="favicon.ico"/>
2626
<link rel="manifest" href="manifest.webmanifest">
2727
<meta name="theme-color" content="#1a1a1a">
28+
29+
30+
<script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-167450036-1"></script>
31+
<script>
32+
window.dataLayer = window.dataLayer || [];
33+
34+
function gtag() {
35+
dataLayer.push(arguments);
36+
}
37+
38+
gtag('js', new Date());
39+
gtag('config', 'UA-167450036-1');
40+
</script>
2841
</head>
2942
<body>
3043
<app-root></app-root>
3144
<noscript>I know it sucks, but please enable JavaScript to continue using this application.</noscript>
3245

33-
<script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-167450036-1"></script>
34-
<script>
35-
window.dataLayer = window.dataLayer || [];
36-
37-
function gtag() {
38-
dataLayer.push(arguments);
39-
}
40-
41-
gtag('js', new Date());
42-
gtag('config', 'UA-167450036-1');
43-
</script>
44-
4546
</body>
4647
</html>

0 commit comments

Comments
 (0)