T0PS3O
Oct 22nd 2004, 8:51 am
I need to geotarget AdSense ads.
However, the page is static html. It won't even do virtual includes.
So I was wondering, knowing slim to none about javascript, whether it would be possible with some javascript. Perhaps by including some img from a dynamic page which on it's turn finds out the visitor's location and alters the img accordingly. Then according to which img is returned, the javascript outputs the ads or not.
Is this possible?
Our visitor tracking works like this with a javascript img pulled from the tracking server. By just that they know nearly everything about the visitor so I was hoping to port that back to my site and show relevant ads if the visitor is from the USA. (We only ship UK but rank well world wide so want to monetize on the traffic.) I have an IP database already and this idea works just fine on my PHP pages.
So... Is this possible?
( :) if yes, then I'll ask how later... )
Gracias in advance.
However, the page is static html. It won't even do virtual includes.
So I was wondering, knowing slim to none about javascript, whether it would be possible with some javascript. Perhaps by including some img from a dynamic page which on it's turn finds out the visitor's location and alters the img accordingly. Then according to which img is returned, the javascript outputs the ads or not.
Is this possible?
Our visitor tracking works like this with a javascript img pulled from the tracking server. By just that they know nearly everything about the visitor so I was hoping to port that back to my site and show relevant ads if the visitor is from the USA. (We only ship UK but rank well world wide so want to monetize on the traffic.) I have an IP database already and this idea works just fine on my PHP pages.
So... Is this possible?
( :) if yes, then I'll ask how later... )
Gracias in advance.