On May 28, 11:17 am, Merlin <ngro...@fastmail.fmwrote:
Hi there,
I am wondering if it is possible to track a click on my webpage and
record the destination URL. There is no possibility to ad code into the
<a href tags as I am trying to track the clicks on google adsense banners.
Does anybody have an idea on how to do that? My JS skills are pretty
limited.
Thank you in advance,
Merlin
I suppose you might be able to build a system that would rebuild the
add bar? It might be able to reassign all the links in the google
adds to shoot to your site which would store the string and or url of
the advertisement (you can do this via scraping the dom right?) into
your database and then construct this link to the original google
url? Google would still get their click and you would get the stats.
I wonder if this breaks some of their terms of agreement? Can't you
just access this information through google anyway? I have never used
google ads though so have no idea. Not sure if this would work
-David