I am writing a click tracking program so that I can monitor how many times a link has been displayed and clicked.
I am currently using the onclick event because I want to pass on the PR to the destination link.
See source code output below:
<a href="http://www.articlerich.com/blogreview/" OnClick="return loadExternal('http://www.articlerich.com/advertise/clickcounter.php?url=http://www.articlerich.com/blogreview/')">Atomic Blogging Review</a>
Does anybody know if there are any reliability issues with using the onlick to execute php code as above?
I'm also using an iframe, are there any reliability issues with iframes?
Can anybody tell me if there is a more reliable way that I should be tracking clicks (apart from using a redirect page).
Thanks in advance.