Skip to content

Instantly share code, notes, and snippets.

@reservationlive
Created May 14, 2010 14:23
Show Gist options
  • Save reservationlive/401217 to your computer and use it in GitHub Desktop.
Save reservationlive/401217 to your computer and use it in GitHub Desktop.
$(document).ready(function() {
$("a[rel=external]").click(function(){
_gaq.push(['_trackPageview', '/outgoing/' + $(this).attr('href')]);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment