Track Outbound Link Clicks
September 25th, 2009
I am looking for a javascript solution for tracking outbound clicks on my website.
For example, my URLs should look something as follows:
<a href=”http://www.external-website.com/whatever.html” onclick=”some function to record the click”>click me</a>
As you can see, the URL is for the external site. There is some javacript which records the click.
The click (date of click, full URL) needs to be written to a MySQL database.
The solution you implement needs to work in all browsers.
Any questions, just ask.
Thanks for reading.



