Template:Gatracker

From Documentation

$(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)});

}());