From 83d5a13e910279d80f0df05758f00ee4de020be3 Mon Sep 17 00:00:00 2001 From: Joshua Roy Date: Thu, 19 Mar 2015 11:29:15 -0400 Subject: [PATCH] Update to link tracking --- js/linktracking.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/linktracking.js b/js/linktracking.js index 9458a1f..64161d1 100644 --- a/js/linktracking.js +++ b/js/linktracking.js @@ -11,6 +11,7 @@ function _gaLt(event){ if(el && el.href){ if(el.href.indexOf(location.host) == -1){ /* external link */ _gaq.push(["_trackEvent", "Outgoing Links", el.href, document.location.pathname + document.location.search]); + _gaq.push(["b._trackEvent", "Outgoing Links", el.href, document.location.pathname + document.location.search]); /* if target not set then delay opening of window by 0.5s to allow tracking */ if(!el.target || el.target.match(/^_(self|parent|top)$/i)){ setTimeout(function(){