Heres an example to track what links get clicked on your website! ( simple script, needs php & mysql )
You need this table :
DROP TABLE IF EXISTS `traffic_exploit`;
CREATE TABLE `traffic_exploit` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`date` datetime DEFAULT NULL,
`url`...