summaryrefslogtreecommitdiff
path: root/views/layoutmini.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/layoutmini.haml')
-rw-r--r--views/layoutmini.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/views/layoutmini.haml b/views/layoutmini.haml
index 5e24c98..7270c4f 100644
--- a/views/layoutmini.haml
+++ b/views/layoutmini.haml
@@ -72,6 +72,17 @@
});
});
%meta{'http-equiv' => 'Contet-Type', :content => 'text/html; charset=utf-8' }/
+ %script{:type => "text/javascript" }
+ :plain
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-20018878-1']);
+ _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);
+ })();
%body
#wrapper
#header