Skip to content
This repository has been archived by the owner on Jan 17, 2018. It is now read-only.

Commit

Permalink
Updating google analytics code
Browse files Browse the repository at this point in the history
  • Loading branch information
javallone committed Dec 27, 2014
1 parent 9bdf38b commit df8392e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,13 @@ <h1>Regexper</h1>
<script src="/assets/main.js"></script>

<script>
var _gaq=[['_setAccount','UA-37364632-1'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'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','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-37364632-3', 'auto');
ga('send', 'pageview');
</script>

</body>
Expand Down

0 comments on commit df8392e

Please sign in to comment.