Sfoglia il codice sorgente

Added Google Analytics tracking code

pull/3/head
Adrian Short 14 anni fa
parent
commit
4b1a86496b
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. +11
    -0
      views/layout.haml

+ 11
- 0
views/layout.haml Vedi File

@@ -7,6 +7,17 @@
%link{ :rel => 'stylesheet', :type => 'text/css', :href => '/breadcrumb/breadcrumb.css' }
%link{ :rel => 'stylesheet', :type => 'text/css', :href => '/print.css', :media => 'print' }
%link{ :rel => 'stylesheet', :type => 'text/css', :href => '/grid.css' }
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-3042981-18']);
_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);
})();
</script>

%body
.container_12


Caricamento…
Annulla
Salva