--- googleanalytics.module.old	2009-07-06 15:13:36.000000000 -0500
+++ googleanalytics.module	2009-07-06 15:14:08.000000000 -0500
@@ -45,7 +45,8 @@ function googleanalytics_init() {
   // 1. Check if the GA account number has a value.
   // 2. Track page views based on visibility value.
   // 3. Check if we should track the currently active user's role.
-  if (!empty($id) && _googleanalytics_visibility_pages() && _googleanalytics_visibility_user($user)) {
+  // 4. Check if this is an admin page (URL begins with '/admin').
+  if (!empty($id) && _googleanalytics_visibility_pages() && _googleanalytics_visibility_user($user) & arg(0) != 'admin') {
     $scope = variable_get('googleanalytics_js_scope', 'footer');
 
     // Should a local cached copy of ga.js be used?
@@ -93,7 +94,7 @@ function googleanalytics_footer($main = 
 
   $id = variable_get('googleanalytics_account', '');
 
-  if (!empty($id) && _googleanalytics_visibility_pages() && _googleanalytics_visibility_user($user)) {
+  if (!empty($id) && _googleanalytics_visibility_pages() && _googleanalytics_visibility_user($user) && arg(0) != 'admin') {
 
     // Add User profile segmentation values.
     if (is_array($profile_fields = variable_get('googleanalytics_segmentation', '')) && ($user->uid > 0)) {
