Skip to content

Commit 75aa20f

Browse files
authored
Merge pull request #183 from tjklint/analytics
feat: added analytics to the portfolio.
2 parents eeb012d + 8be165f commit 75aa20f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

public/index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@
2525
Learn how to configure a non-root public URL by running `npm run build`.
2626
-->
2727
<title>TJ Klint</title>
28+
29+
<!-- Google tag (gtag.js) -->
30+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-T9VNL9BWHN"></script>
31+
<script>
32+
window.dataLayer = window.dataLayer || [];
33+
function gtag(){dataLayer.push(arguments);}
34+
gtag('js', new Date());
35+
36+
gtag('config', 'G-T9VNL9BWHN');
37+
</script>
38+
2839
</head>
2940
<body>
3041
<noscript>You need to enable JavaScript to run this app.</noscript>

0 commit comments

Comments
 (0)