Permalink
Browse files

Added back google analytics

  • Loading branch information...
1 parent 9499893 commit d588aaff0b94dd726c8fe40166b59fd0c2e1f223 @jaytaph jaytaph committed Jan 16, 2016
Showing with 13 additions and 0 deletions.
  1. +2 −0 _config.yml
  2. +11 −0 _includes/footer.html
View
@@ -7,3 +7,5 @@ exclude:
url: http://www.restcookbook.com
name: restcookbook.com
disqus_shortname: restcookbook
+
+google_analytics: UA-53222355-1
View
@@ -7,3 +7,14 @@
</p>
</div>
</footer>
+
+<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', '{{ site.google_analytics }}', 'auto');
+ ga('send', 'pageview');
+
+</script>

0 comments on commit d588aaf

Please sign in to comment.