Forum Moderators: DixonJones
You need to be able to 'capture' the clicks via some sort of re-direct. Instead of pointing directly to the off-site URL, you would use a re-director script that would get logged (in your server access log for instance) on your site.
For example, instead of:
<a href="www.thatsite.com">Click me</a>
<a href="/cgi/clickout.php?www.thatsite.com">Click me</a>
<?php
header("Location: http://".$_SERVER['QUERY_STRING']);
exit;
?>
Larry
Thanks for this. I understand what you are saying as to the first part, i.e., how to code the link and what that would accomplish.
However, I don't know how to do the PHP script part of it. I know that I am using an ENSIM Linux server, but I cannot begin to figure where the snippet of code goes and, even if I did, where I would begin to look for and pull the stats or even reset the stats.
Looks like it could be really simple though. Any ideas on next steps would be great. PM or otherwise.
thanks sir,
gc