Index: googleanalytics.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/google_analytics/googleanalytics.js,v
retrieving revision 1.11.2.9
diff -u -r1.11.2.9 googleanalytics.js
--- googleanalytics.js	10 Feb 2011 20:46:56 -0000	1.11.2.9
+++ googleanalytics.js	10 Feb 2011 20:51:34 -0000
@@ -1,4 +1,4 @@
-// $Id: googleanalytics.js,v 1.11.2.9 2011/02/10 20:46:56 hass Exp $
+// $Id: googleanalytics.js,v 1.11.2.8 2011/02/06 19:22:05 hass Exp $
 (function ($) {
 
 $(document).ready(function() {
@@ -36,6 +36,7 @@
         }
         else if (isInternalSpecial.test(this.href)) {
           // Keep the internal URL for Google Analytics website overlay intact.
+          event.preventDefault();
           _gaq.push(["_trackPageview", this.href.replace(isInternal, '')]);
           setTimeout('document.location = "' + this.href + '"', 100);
         }
@@ -48,15 +49,20 @@
         else if (ga.trackOutbound && this.href) {
           if (ga.trackDomainMode == 2 && isCrossDomain.test(this.href)) {
             // Top-level cross domain clicked. document.location is handled by _link internally.
+            event.preventDefault();
             _gaq.push(["_link", this.href]);
           }
           else if (ga.trackOutboundAsPageview) {
             // Track all external links as page views after URL cleanup.
             // Currently required, if click should be tracked as goal.
+            event.preventDefault();
             _gaq.push(["_trackPageview", '/outbound/' + this.href.replace(/^(https?|ftp|news|nntp|telnet|irc|ssh|sftp|webcal):\/\//i, '').split('/').join('--')]);
             setTimeout('document.location = "' + this.href + '"', 100);
           }
           else {
+            // Cancel default browser behavior of clicks on links.
+            event.preventDefault();
+
             // External link clicked.
             _gaq.push(["_trackEvent", "Outbound links", "Click", this.href]);
 
