Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

google analytics

  • Loading branch information...
commit 234d1b56621d2323419646ef001f8f6b3fbe0db5 1 parent 8a9ca01
@stevenwilkin authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 views/layout.haml
View
7 views/layout.haml
@@ -25,3 +25,10 @@
#footer
© 2009
%a{:href => 'http://stevenwilkin.com'} Steven Wilkin
+
+ %script{:type => 'text/javascript'}
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+ %script{:type => 'text/javascript'}
+ var pageTracker = _gat._getTracker("UA-2764682-9");
+ pageTracker._trackPageview();
Please sign in to comment.
Something went wrong with that request. Please try again.