Index: sites/all/modules/contrib/crazyegg/includes/admin.inc
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- sites/all/modules/contrib/crazyegg/includes/admin.inc	(date 1395317815000)
+++ sites/all/modules/contrib/crazyegg/includes/admin.inc	(revision )
@@ -13,6 +13,20 @@
       '#default_value' => variable_get('crazyegg_enabled', TRUE),
   );
 
+  $form['crazyegg_excluse_roles'] = array(
+    '#type' => 'fieldset',
+    '#title' => t('Exclude roles'),
+    '#collapsible' => TRUE,
+    '#collapsed' => FALSE,
+  );
+
+  $form['crazyegg_excluse_roles']['crazyegg_roles_excluded'] = array(
+    '#type' => 'checkboxes',
+    '#options' => user_roles(),
+    '#title' => t('Which roles should be excluded?'),
+    '#default_value' => variable_get('crazyegg_roles_excluded', array()),
+  );
+
   $form['crazyegg_account_id'] = array(
       '#type' => 'textfield',
       '#title' => t('Crazy Egg Account ID'),
\ No newline at end of file
Index: sites/all/modules/contrib/crazyegg/crazyegg.module
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- sites/all/modules/contrib/crazyegg/crazyegg.module	(date 1395317815000)
+++ sites/all/modules/contrib/crazyegg/crazyegg.module	(revision )
@@ -48,23 +48,34 @@
   $account_id = variable_get('crazyegg_account_id', '');
   $crazyegg_enabled = variable_get('crazyegg_enabled', TRUE);
 
+
   if ($account_id && $crazyegg_enabled) {
 
+    $exclude = FALSE;
+    foreach ($user->roles as $rid => $role) {
+      if (in_array($rid, variable_get('crazyegg_roles_excluded', array()))) {
+        $exclude = TRUE;
+        break;
+      }
+    }
+
+    if ($exclude == FALSE) {
-    $scope = 'footer';
-    
-    $account_path = str_pad($account_id, 8, "0", STR_PAD_LEFT);
-    $account_path = substr($account_path, 0, 4) . '/' . substr($account_path, 4, 8);
-    $account_path = "pages/scripts/" . $account_path . ".js";
+      $scope = 'footer';
+
+      $account_path = str_pad($account_id, 8, "0", STR_PAD_LEFT);
+      $account_path = substr($account_path, 0, 4) . '/' . substr($account_path, 4, 8);
+      $account_path = "pages/scripts/" . $account_path . ".js";
 
-    $script_host = "dnn506yrbagrg.cloudfront.net";
+      $script_host = "dnn506yrbagrg.cloudfront.net";
 
-    $script = '
+      $script = '
       setTimeout(function(){var a=document.createElement("script");
       var b=document.getElementsByTagName(\'script\')[0];
       a.src=document.location.protocol+"//' . $script_host . '/' . $account_path . '";
       a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}, 1);
       ';
 
-    drupal_add_js($script, array('scope' => $scope, 'type' => 'inline'));
+      drupal_add_js($script, array('scope' => $scope, 'type' => 'inline'));
+    }
   }
 }
\ No newline at end of file
