Commits

Luke Plant  committed 4044fbe

Added Google analytics javascript

  • Participants
  • Parent commits 89ae4cf

Comments (0)

Files changed (1)

File src/templates/pageend.st

         <input type="hidden" id="responsecommentid" value="">
       </div>
     </div>
+<script type="text/javascript"> 
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script> 
+<script type="text/javascript"> 
+try {
+var pageTracker = _gat._getTracker("UA-6741729-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
   </body>
 </html>