/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("a").click(function() { // all links are outbound for this project $anchor_element = $(this); pageTracker._trackPageview ('/outgoing/' + $anchor_element.attr("href")); window.open($anchor_element.attr("href")); return false; });