Okay, what I need to accomplish is to track Links that are clicked that go outside of my site. For example: http://www.google.com For SEO purposes I need the link to remain as it without changing it to some kind of tracker.php page which records the click. So I don't want all of my links to look like <a href="http://mysite.com/tracker.php?id=1" title="Keywords." >Your Text and Link</a> On the click of the link, I also need to track who the Vbulletin user is, as well as count the # of times that link was clicked. Get my drift? I'm sure many of people have run into this sort of situation. What's the best way to go about it? Any examples would be great.
Yea, I've seen that, but if you had read my thread you would have seen that it does exactly what I don't want to do.
Record the click with javascript, like: <a href="http://outside-site.com" onClick='somefunction(link_name)'>Outsidelink</a> In somefunction() you need to a call an image , like: <img src="counter.php?link=link_name"> So you can count that way all users which click the link (if they have javascript enabled, of course), also their vbulletin_user_id you need to get it from session, in counter.php file. Hope is not too confusing....