~rbdr/grita

9904558b3ae319587bb039233a50f561a847e8f7 — Ben Beltran 13 years ago dd8a375
Tracking para Google Analytics

Solo agregue el código de Google Analytics.
2 files changed, 22 insertions(+), 0 deletions(-)

M views/layout.haml
M views/layoutmini.haml
M views/layout.haml => views/layout.haml +11 -0
@@ 10,6 10,17 @@
		%link{:rel => "icon", :href => "/images/favicon.ico", :type => "image/x-icon"}
		%link{:rel => "icon", :href => "/images/favicon.png", :type => "image/png"}
		%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

M views/layoutmini.haml => views/layoutmini.haml +11 -0
@@ 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