Skip to content

Commit

Permalink
Added Google Analytics to the static site
Browse files Browse the repository at this point in the history
  • Loading branch information
Anantachai Saothong (Manta) committed Aug 26, 2017
1 parent 578af44 commit c4bcda3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@
<script src="format.js" defer></script>
<script src="demo.js" defer></script>

<!-- 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-105354516-1', 'auto');
ga('send', 'pageview');
</script>

<title>Manta's Stylus Supremacy</title>
</head>
<body>
Expand Down

0 comments on commit c4bcda3

Please sign in to comment.