Google interview question

Code a program that records clicks per link to a website