Skip to content

Commit

Permalink
Merge pull request swcarpentry#241 from gvwilson/analytics
Browse files Browse the repository at this point in the history
Adding Google Analytics
  • Loading branch information
hdashnow authored Sep 28, 2016
2 parents 2a4b415 + d93bc85 commit 2ce0da9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _includes/javascript.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<script src="{{ page.root }}/assets/js/jquery.min.js"></script>
<script src="{{ page.root }}/assets/js/bootstrap.min.js"></script>
<script src="{{ page.root }}/assets/js/lesson.js"></script>
<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-37305346-2', 'auto');
ga('send', 'pageview');
</script>

0 comments on commit 2ce0da9

Please sign in to comment.