added analytics tracking

This commit is contained in:
Nick
2019-05-01 20:32:29 -06:00
parent 885bf0c47c
commit 934148940a
2 changed files with 23 additions and 0 deletions
+12
View File
@@ -1,6 +1,18 @@
<html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<head>
<!-- Google Analytics -->
<script>
(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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-139423787-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<title>About</title>
<link rel="stylesheet" type="text/css" href="static/style.css">
</head>
+11
View File
@@ -2,6 +2,17 @@
<html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<head>
<!-- Google Analytics -->
<script>
(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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-139423787-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<title>Dungeon</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">