The other problem can be when the visitor use some software which blocks affiliate links. I have heard that some firewalls do that... What do you think about this solution: <form> <input type="button" value="VISIT OUR PARTNER SITE" onClick="parent.location='http://www.affiliate-link.com/affiliate.php?id=myID'"> </form> ??? ...when the visitor clicks the button, will the firewall block the link?
I've used PHP Click Counter from http://www.phpjunkyard.com/php-click-counter.php to do this. It's free. You install it on your site (must be easy cos I worked it out!) then you just enter an affiliate link and it will convert that link to something like h ttp://www.yourdomain.com/go/click.php?id=1 It will tell you the number of clicks on each link as well. It's pretty basic, but does the job. Another thing you can do is make a new page ... say you were promoting a hosting company, a page called yourdomain.com/hostco.html... then on that page just put the following html.. <html> <head> <title>Page Title</title> <meta http-equiv="REFRESH" content="0;url=http://your-affiliate-link-here"></HEAD> <BODY> </BODY> </HTML> HTML:
Thanks, I know about this solution (and use similar script on some of my websites) but the solution using the form seems to be more easier (because you only copy and paste the affiliate link in the html source of current page but if you use cloaking script, you must work with two files - current file and clocking script). I am building large website so I try to find the easier solution