Skip to content
Browse files

added Google tracking

  • Loading branch information...
1 parent 2c64e2f commit f8b60730522b91dc040e51e95ae3b85cd952ae9a @manewitz committed Jan 31, 2013
Showing with 11 additions and 1 deletion.
  1. +11 −1 public/js/input.js
View
12 public/js/input.js
@@ -73,4 +73,14 @@
});
var appview = new AppView;
-})($);
+})($);
+
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-38110744-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);
+})();

0 comments on commit f8b6073

Please sign in to comment.
Something went wrong with that request. Please try again.