I want to track exit links on my website and also exit ads like Google Adsense etc. I mean by exit ads is that when click on add I get ads dimension and ads type like Google or other ads. In short I want this: Google Adsense 160x600 like in statcounter.com
.
|
||||
|
i have made a script which works on links but not on iframe generated by google adsense. I have added click event on iframe but it is not working.
It works when i change click to load |
|||
|
Burhan, I'm trying to answer this as short as possible. Click-tracking is something you cannot do with PHP on the click itself. It is possible to have the backend do the tracking (via unique IDs, It is also possible to do with Javascript, if you have your own tracking solution another way would be to trigger the clicktrack through Ajax via Javascript and have a PHP-script count the clicks. For Google Adsense ads a clicktracking solution is also possible, but it will definately break the terms and conditions, since you are not allowed to change, alter or modify anything inside or over the ads. |
|||||||
|