diff --git a/google_analytics.module b/google_analytics.module
index 3fdfe0b..537597a 100644
--- a/google_analytics.module
+++ b/google_analytics.module
@@ -170,15 +170,6 @@ function google_analytics_page_attachments(array &$page) {
       }
     }
 
-    // Track access denied (403) and file not found (404) pages.
-    if ($status == '403') {
-      // See http://www.google.com/support/analytics/bin/answer.py?answer=86927
-      $url_custom = '"/403.html?page=" + document.location.pathname + document.location.search + "&from=" + document.referrer';
-    }
-    elseif ($status == '404') {
-      $url_custom = '"/404.html?page=" + document.location.pathname + document.location.search + "&from=" + document.referrer';
-    }
-
     // Add custom dimensions and metrics.
     $custom_var = '';
     foreach (['dimension', 'metric'] as $google_analytics_custom_type) {
