Skip to content

Commit

Permalink
updating google analytics tag
Browse files Browse the repository at this point in the history
  • Loading branch information
roddds committed Mar 11, 2016
1 parent 205bd44 commit 52fd918
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions templates/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,14 @@ <h1>Rodrigo Deodoro</h1>
</div> <!-- /container -->

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

ga('create', 'UA-42640893-1', 'auto'); // Replace with your property ID.
ga('send', 'pageview');
</script>

</html>

0 comments on commit 52fd918

Please sign in to comment.