Permalink
Browse files

kill ga

  • Loading branch information...
1 parent 22efe6f commit 24daad8539041e2310d6c6796d578cefc1101c59 @stefl committed Jun 17, 2012
Showing with 0 additions and 12 deletions.
  1. +0 −12 app/views/layouts/application.haml
@@ -28,18 +28,6 @@
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
<![endif]-->
- - if Padrino.env == :production
- :javascript
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-32703744-1']);
- _gaq.push(['_setDomainName', 'talesyouwin.com']);
- _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{:id=>(request.path.split("/")[1] rescue "")}
.page

0 comments on commit 24daad8

Please sign in to comment.