diff --git a/app/views/layouts/application.html.slim b/app/views/layouts/application.html.slim
index b0a9fe5..aab4555 100644
--- a/app/views/layouts/application.html.slim
+++ b/app/views/layouts/application.html.slim
@@ -7,6 +7,7 @@ html
= stylesheet_link_tag '/bootstrap/css/bootstrap-responsive.min.css'
= stylesheet_link_tag '/fancyapps-fancyBox-2bb0da9/source/jquery.fancybox.css'
= csrf_meta_tags
+ = javascript_include_tag '/ga.js'
body
diff --git a/app/views/layouts/landing.html.slim b/app/views/layouts/landing.html.slim
index b008748..4c2ab46 100644
--- a/app/views/layouts/landing.html.slim
+++ b/app/views/layouts/landing.html.slim
@@ -6,6 +6,7 @@ html
= stylesheet_link_tag '/bootstrap/css/bootstrap.min.css'
= stylesheet_link_tag '/bootstrap/css/bootstrap-responsive.min.css'
= csrf_meta_tags
+ = javascript_include_tag '/ga.js'
body
diff --git a/app/views/layouts/no_header.html.slim b/app/views/layouts/no_header.html.slim
index 1a07ada..430b56e 100644
--- a/app/views/layouts/no_header.html.slim
+++ b/app/views/layouts/no_header.html.slim
@@ -4,6 +4,7 @@ html
title Ocelots
= stylesheet_link_tag 'application', media: 'all'
= csrf_meta_tags
+ = javascript_include_tag '/ga.js'
body
diff --git a/public/ga.js b/public/ga.js
new file mode 100644
index 0000000..7af3002
--- /dev/null
+++ b/public/ga.js
@@ -0,0 +1,9 @@
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-35730418-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);
+})();
\ No newline at end of file