Skip to content

Commit

Permalink
Adding basic Google Analytics code.
Browse files Browse the repository at this point in the history
Consider adding Google Tag Manager if more analytics would be helpful.
  • Loading branch information
rareitmeyer committed Mar 15, 2017
1 parent 85bb549 commit cb6669a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Google Analytics code start -->
<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-93729849-1', 'auto');
ga('send', 'pageview');
</script>
<!-- Google Analytics code end -->

</head>
<body data-spy="scroll" data-target=".navbar">
<div id="fb-root"></div>
Expand Down

0 comments on commit cb6669a

Please sign in to comment.