Menu
I want to keep track of how many times a link is clicked and display this to a users, it’ll help determine what’s a great read. So not a 1990’s visitor counter.
Last time I tried something similar is doing
refer.php?linkID=$$$
Then look up the ID in a database, increment the counter field by 1 before getting the URL and redirecting the user.
The issue was robots used to increase it by one all the time and it wasn’t realistic.
What’s the best practice way of doing something like this?