Skip to content

Commit 51b5ee2

Browse files
committed
chore: add gtag
1 parent 76372ef commit 51b5ee2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,21 @@
5151
rel="stylesheet"
5252
/>
5353
</head>
54+
55+
<!-- Google tag (gtag.js) -->
56+
<script
57+
async
58+
src="https://www.googletagmanager.com/gtag/js?id=G-354FY9LR2M"
59+
></script>
60+
<script>
61+
window.dataLayer = window.dataLayer || [];
62+
function gtag() {
63+
dataLayer.push(arguments);
64+
}
65+
gtag("js", new Date());
66+
67+
gtag("config", "G-354FY9LR2M");
68+
</script>
5469
<body>
5570
<app-root></app-root>
5671
</body>

0 commit comments

Comments
 (0)