Permalink
Browse files

add commented out google analytics for atutorspaces

  • Loading branch information...
1 parent 5e14ff5 commit 17c8f9c4af10f05a959a9a49a42c3cd612382b8b @atutor committed Feb 27, 2012
Showing with 14 additions and 1 deletion.
  1. +13 −0 jscripts/ATutor.js
  2. +1 −1 mods/_core/modules/install_modules.php
View
@@ -618,3 +618,16 @@ ATutor.users.preferences = ATutor.users.preferences || {};
}
})();
+/* Start Google Analytics for ATutorSpaces */
+/*
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-29512123-1']);
+ _gaq.push(['_setDomainName', 'atutorspaces.com']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ */
@@ -17,7 +17,7 @@
admin_authenticate(AT_ADMIN_PRIV_MODULES);
require(AT_INCLUDE_PATH.'../mods/_core/modules/classes/ModuleListParser.class.php');
require_once(AT_INCLUDE_PATH.'../mods/_core/file_manager/filemanager.inc.php');
-
+debug(AT_SUB_SITE);
// delete all folders and files in $dir
function clear_dir($dir)
{

0 comments on commit 17c8f9c

Please sign in to comment.