Template:Gatracker

From Documentation
Revision as of 07:06, 31 May 2018 by Matthieu (talk | contribs)

$(function () {

function handleOutboundLinkClicks(event) {
  ga('send', 'event', {
    eventCategory: 'Outbound Link',
    eventAction: 'click',
    eventLabel: event.target.href
  });
}

$('.galink').each(function(each){each.find('a').click(function(event){handleOutboundLinkClicks(event)}); }());