I'm looking for a link tracker plugin that rewrites links in my new posts from "http://yahoo.com/" to something like "http://t.barrycarter.info/linktracker.pl?http://yahoo.com/", where linktracker.pl is a redirecting Perl script that I'd have written on t.barrycarter.info.
My log files would then show an access to "http://t.barrycarter.info/linktracker.pl?http://yahoo.com/", so I'd know someone clicked on an offsite link.
Notes:
I want to continue writing links the way I do now. I don't want to have to do "[plugin link href='http://yahoo.com/']" or anything.
Ideally, this plugin would scan existing posts and rewrite links in those as well.
I realize rewriting to "http://t.barrycarter.info/linktracker.pl?http://yahoo.com/" is a bad idea, because colons and slashes in the yahoo URL will be escaped. I just used that as an example. In reality, the link tracker plugin may change it to something like "http://t.barrycarter.info/linktracker.pl?aHR0cDovL3lhaG9vLmNvbS8=" where "aHR0cDovL3lhaG9vLmNvbS8=" is the MIME encode of "http://yahoo.com/". Then, my linktracker.pl script would MIME-uncode and redirect the browser.
I've installed WP-Click-Tracker, which supposedly does this for new and existing pages, but can't figure out how to configure it. It's possible that I read the description wrong and that it doesn't do what I want at all.