diff --git a/googleanalytics.js b/googleanalytics.js
index 629ffea..ce8b958 100644
--- a/googleanalytics.js
+++ b/googleanalytics.js
@@ -49,8 +49,11 @@ $(document).ready(function() {
             _gaq.push(["_link", this.href]);
           }
           else {
-            // External link clicked.
-            _gaq.push(["_trackEvent", "Outbound links", "Click", this.href]);
+            // Making sure it's external link
+            if (this.href.match(/^\w+:\/\//i)) {
+              // External link clicked.
+              _gaq.push(["_trackEvent", "Outbound links", "Click", this.href]);
+            }
           }
         }
       }
