# HG changeset patch
# User ethanzonca
# Date 2010-09-24 01:08:48
# Node ID 68572df791c6cc1ec8986a0871e61a871f027648
# Parent  87c1a68829fe5bbc3230b26e15943b277300584d
Tracking update
diff --git a/inc/class.page.php b/inc/class.page.php
--- a/inc/class.page.php
+++ b/inc/class.page.php
@@ -15,15 +15,19 @@ class page {
   private $headCode = array();
 
   private $trackingcode = ''; // Google analytics ga.js tracking code
+				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"));
+				
+				'; // Google analytics ga.js tracking code
 
   private $pagetitle = ''; // Title of page
   private $scripts = array(); // Scripts to include on page