Skip to content

Commit fb772e8

Browse files
authored
Merge pull request #309 from TheJacksonLaboratory/feature/google-analytics
google analytics
2 parents f67f5fe + 29e661b commit fb772e8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,14 @@
2828
<app-root>
2929
</app-root>
3030
<script src="./assets/hammer.min.js" charset="UTF-8"></script>
31+
<!-- Google tag (gtag.js) -->
32+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-LLK3R2KD7S"></script>
33+
<script>
34+
window.dataLayer = window.dataLayer || [];
35+
function gtag(){dataLayer.push(arguments);}
36+
gtag('js', new Date());
37+
38+
gtag('config', 'G-LLK3R2KD7S');
39+
</script>
3140
</body>
3241
</html>

0 commit comments

Comments
 (0)