Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Commit

Permalink
Add GA script
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Scott committed Feb 8, 2017
1 parent 9a63c84 commit c10e92d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions site/index.template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
<script>!function(){var e=sessionStorage.redirect;delete sessionStorage.redirect,e&&e!=location.href&&history.replaceState(null,null,e)}();</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/react/15.4.2/react.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/react/15.4.2/react-dom.min.js"></script>
<script defer>
(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-91553282-1', 'auto');
ga('send', 'pageview');
</script>
<% } %>

<script src="//cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/prism.min.js"></script>
Expand Down

0 comments on commit c10e92d

Please sign in to comment.