I have a series of hyperlinks that I get commission from converted sales on. I want to keep a record of how many times each link is clicked plus a few other details, IP, Time, where they were at the time.
I thought I would link the viewer to a website of mine capture the details into a database and redirect them to the URL. I get all the robots/crawlers however and I want to exclude them as it’s useless to me.
What is the best way of doing this?
I had thought of using a on-click JavaScript but that’s not immune to robots is it?