Skip to content

Commit 32cc584

Browse files
committed
feat: gtag
1 parent 3986ffa commit 32cc584

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

angular-hub/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@
3030
crossorigin
3131
/>
3232
<script type="application/ld+json"></script>
33+
<!-- Google tag (gtag.js) -->
34+
<script
35+
async
36+
src="https://www.googletagmanager.com/gtag/js?id=G-JTPQVQWC1M"
37+
></script>
38+
<script>
39+
window.dataLayer = window.dataLayer || [];
40+
function gtag() {
41+
dataLayer.push(arguments);
42+
}
43+
gtag('js', new Date());
44+
45+
gtag('config', 'G-JTPQVQWC1M');
46+
</script>
3347
</head>
3448
<body>
3549
<angular-hub-root></angular-hub-root>

0 commit comments

Comments
 (0)