aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--analytics.js7
-rw-r--r--index.html1
2 files changed, 8 insertions, 0 deletions
diff --git a/analytics.js b/analytics.js
new file mode 100644
index 0000000..80a8888
--- /dev/null
+++ b/analytics.js
@@ -0,0 +1,7 @@
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ga('create', 'UA-60500709-1', 'auto');
+ga('send', 'pageview');
diff --git a/index.html b/index.html
index 525301b..b0e9965 100644
--- a/index.html
+++ b/index.html
@@ -5,6 +5,7 @@
<meta charset="UTF-8">
<script src="markdown.js"></script>
<script src="router.js"></script>
+ <script src="analytics.js"></script>
<link rel="shortcut icon" href="Images/icon.png">
<link rel="stylesheet" type="text/css" href="reset.css">
<link rel="stylesheet" type="text/css" href="font.css">