If there are DOM traversing issue then Query can be used to track outclicks (rather than GTM).

Example links:

<div>

<a href=”http://www.otherdomain.com/” target=”_blank”>Link</a>

</div>

 

AnalyticsAgency will set GTM to inject following via auto-events or jQuery:

<div>

<a href=”http://www.otherdomain.com/”

onclick=”dataLayer.push({

‘event’: ‘onclick_<xxx>‘, // change <xxx> to onclick_outclick

‘eventCategory’:’onclick_<xxx>‘,//same as dataLayer.push.event

‘eventAction’: ‘sub-cat’,

‘eventLabel’: ‘label’,

‘eventValue’: parseInt(0.00),

‘eventNonInteractive’: false, // Is onload action? Y|N

‘pageVirtual’: ”,

‘pageTitle’: ”

});” target=”_blank”>

Link</a>

</div>

 

AnalyticsAgency will add a 100ms delay using SetTimeout to increase tracking accuracy and prevent a browser race condition.

setTimeout(

function()

{document.location.href = link.href;}, 100);

}

See this help file for details of setTimeout:

http://support.google.com/analytics/bin/answer.py?answer=1136920

 

0117 3361103