# This patch file was generated by NetBeans IDE # It uses platform neutral UTF-8 encoding and \n newlines. --- Base (BASE) +++ Locally Modified (Based On LOCAL) @@ -39,8 +39,13 @@ // Track all external links as page views after URL cleanup. // Currently required, if click should be tracked as goal. _gaq.push(["_trackPageview", '/outbound/' + this.href.replace(/^(https?|ftp|news|nntp|telnet|irc|ssh|sftp|webcal):\/\//i, '').split('/').join('--')]); + if(this.target == '_blank'){ + return true; + } + else{ setTimeout('document.location = "' + this.href + '"', 100); } + } else { // External link clicked. _gaq.push(["_trackEvent", "Outbound links", "Click", this.href]); @@ -51,10 +56,15 @@ // that a user can click on the outbound link before the tracking code loads, // in which case the event will not be recorded. // See http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55527 + if(this.target == '_blank'){ + return true; + } + else{ setTimeout('document.location = "' + this.href + '"', 100); } } } + } }); }); });