Template:Gatracker

From Documentation
Revision as of 07:11, 31 May 2018 by Matthieu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$(function () {

function handleWikiClicks(event) {
  ga('send', 'event', {
    eventCategory: 'Outbound Link',
    eventAction: 'click',
    eventLabel: event.target.href
  });
}
$('.galink').each(function(each){each.find('a').click(function(event){handleWikiClicks(event)});

}());