/ Published in: jQuery

URL: http://www.nealgrosskopf.com/tech/thread.php?pid=71
Learn how to track outgoing links in Google Analytics with jQuery.
Expand |
Embed | Plain Text
$(document).ready(function(){ $("a[href^='http://']").click(function(){ pageTracker._trackEvent("links", "external", $(this).attr("href"), 0); }); });
Comments

You need to login to post a comment.
the 8 best unlocked phones with verizon the8best