Skip to content

Commit 8a51b77

Browse files
committed
add(analytics): add google analytics
1 parent 408502a commit 8a51b77

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,19 @@ <h1>Aufgaben zu Type Coercion</h1>
2626
<script src="scripts/filters/evalFilter.js"></script>
2727
<script src="scripts/services/DataHolderService.js"></script>
2828
<script src="scripts/config/routeConfig.js"></script>
29+
30+
31+
32+
<script>
33+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
34+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
35+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
36+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
37+
38+
ga('create', 'UA-46536456-1', 'robinboehm.github.io');
39+
ga('send', 'pageview');
40+
41+
</script>
42+
2943
</body>
3044
</html>

0 commit comments

Comments
 (0)