hgbook
diff stylesheets/it/web.xsl @ 1112:7764de86d22f
refined chap 2
author | Zhaoping Sun <zhaopingsun@gmail.com> |
---|---|
date | Mon Dec 28 22:58:53 2009 -0500 (2009-12-28) |
parents | 84629ae2c99d |
children |
line diff
1.1 --- a/stylesheets/it/web.xsl Sun Aug 23 00:51:45 2009 +0200 1.2 +++ b/stylesheets/it/web.xsl Mon Dec 28 22:58:53 2009 -0500 1.3 @@ -32,7 +32,15 @@ 1.4 </xsl:template> 1.5 1.6 <xsl:template name="user.footer.navigation"> 1.7 - <!-- No Google Analytics script for the moment --> 1.8 + <script type="text/javascript"> 1.9 + var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); 1.10 + document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); 1.11 + </script> 1.12 + <script type="text/javascript"> 1.13 + try { 1.14 + var pageTracker = _gat._getTracker("UA-10482652-1"); 1.15 + pageTracker._trackPageview(); 1.16 + } catch(err) {}</script> 1.17 </xsl:template> 1.18 1.19 </xsl:stylesheet>