Ignore:
Timestamp:
01/07/10 02:04:26 (2 years ago)
Author:
szabgab
Message:

add the Google Analytics code to the blogs pages as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/blogs.padre.perlide.org/templates/index.html.tmpl

    r10029 r10082  
    2121</TMPL_IF> 
    2222</head> 
     23 
     24<!-- Google Analytics code used by szabgab --> 
     25<script type="text/javascript"> 
     26var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); 
     27document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); 
     28</script> 
     29<script type="text/javascript"> 
     30try { 
     31var pageTracker = _gat._getTracker("UA-12199211-2"); 
     32pageTracker._setDomainName(".perlide.org"); 
     33pageTracker._trackPageview(); 
     34} catch(err) {}</script> 
     35<!-- end Google analytics code --> 
    2336 
    2437<body> 
Note: See TracChangeset for help on using the changeset viewer.