[cc-commits] [CC SVN] r15476 - themes/creativecommons.org/trunk

webmaster at creativecommons.org webmaster at creativecommons.org
Wed Jan 18 14:55:07 EST 2012


Author: nkinkade
Date: 2012-01-18 19:55:07 +0000 (Wed, 18 Jan 2012)
New Revision: 15476

Modified:
   themes/creativecommons.org/trunk/footer-codes.php
Log:
Added Analytics codes for a few staging sites, not that we need it, but so it's not empty.

Modified: themes/creativecommons.org/trunk/footer-codes.php
===================================================================
--- themes/creativecommons.org/trunk/footer-codes.php	2012-01-18 19:29:38 UTC (rev 15475)
+++ themes/creativecommons.org/trunk/footer-codes.php	2012-01-18 19:55:07 UTC (rev 15476)
@@ -20,20 +20,29 @@
 	<?php
 	switch ($_SERVER['HTTP_HOST']) {
 		case 'creativecommons.net':
-			$analytics_code = 'UA-201076-4';
+			$analytics_code = 'UA-2010376-4';
 			break;
+		case 'labs.creativecommons.org':
+			$analytics_code = 'UA-2010376-2';
+			break;
 		case 'search.creativecommons.org':
-			$analytics_code = 'UA-201076-3';
+			$analytics_code = 'UA-2010376-3';
 			break;
+		case 'staging.creativecommons.net':
+			$analytics_code = 'UA-2010376-23';
+			break;
+		case 'staging.creativecommons.org':
+			$analytics_code = 'UA-2010376-22';
+			break;
 		case 'wiki.creativecommons.org':
-			$analytics_code = 'UA-201076-5';
+			$analytics_code = 'UA-2010376-5';
 			break;
-		case 'labs.creativecommons.org':
-			$analytics_code = 'UA-201076-2';
+		case 'wiki-staging.creativecommons.org':
+			$analytics_code = 'UA-2010376-24';
 			break;
 		default:
 			// Default to the GA code for CC.org
-			$analytics_code = 'UA-201076-1';
+			$analytics_code = 'UA-2010376-1';
 	}
 	?>
 



More information about the cc-commits mailing list