diff --git a/source/layout.haml b/source/layout.haml index 95b0085..1d422b0 100644 --- a/source/layout.haml +++ b/source/layout.haml @@ -20,4 +20,16 @@ %footer{:style => "display: none;"} %p.copy Another #{link_to("Ivan Vanderbyl", 'http://twitter.com/IvanVanderbyl', :rel => "twipsy", :title => "Follow Ivan on Twitter")} project. Copyright © 2012 Some Rights Reserved. - \ No newline at end of file + + + :javascript + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-374977-27']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + \ No newline at end of file