Permalink
Browse files

Added GA

  • Loading branch information...
1 parent 5ebe80d commit 261e66e47862898eb2c248a5541a028004406cdd @ivanvanderbyl ivanvanderbyl committed Jan 5, 2012
Showing with 13 additions and 1 deletion.
  1. +13 −1 source/layout.haml
View
@@ -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.
-
+
+
+ :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);
+ })();
+

0 comments on commit 261e66e

Please sign in to comment.