Skip to content

Commit 798b6a6

Browse files
authored
Adding google analytics tracking code
1 parent bfd3ffe commit 798b6a6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/index.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919
var x = document.getElementsByTagName('script')[0];
2020
x.parentNode.insertBefore(s, x);
2121
})();
22-
</script>
22+
</script>
23+
<script>
24+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
25+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
26+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
27+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
28+
29+
ga('create', 'UA-6340959-1', 'auto');
30+
ga('send', 'pageview');
31+
</script>
2332
</body>
2433
</html>

0 commit comments

Comments
 (0)