Commit 757f4da5 authored by hass's avatar hass
Browse files

#877754 by retrodans: Lots of external clicks in GA, but no detail

parent ea6a5a24
......@@ -33,7 +33,7 @@ $(document).ready(function() {
// Mailto link clicked.
_gaq.push(["_trackEvent", "Mails", "Click", this.href.substring(7)]);
else if (ga.trackOutgoing) {
else if (ga.trackOutgoing && this.href) {
// External link clicked.
_gaq.push(["_trackEvent", "Outgoing links", "Click", this.href]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment