I want to track the ad clicks I get and store some information (namely the url of the page the ad was clicked on, as well as some other info) in a database.
Is there any way to do this (assuming I'm using AdSense or ad code which is generated in an iframe?