Inersha
12-05-2008, 07:16 PM
Lately I have had growing concerns with geotargeting. I'm not a pro PHP coder, so I am using a geotargeting script called MySimpleAds to help me geotarget ads/banners/links on my site.
The Problem.
I have noticed that the geotargetted ads/links are taking longer to load than they would if they were not geotargeted. I expected there to be a very small delay, but it does seem quite noticeable.
I like to think that the script has been constructed well, so is this something that I should just expect? The script uses a MySQL database to identify which country a visitor is from.
The Bigger Problem.
Now I don't mind there being a slight (if somewhat noticeable) delay to deliver the ads, but there is a bigger problem.
Whilst the scripts are working to be delivered, the rest of page will not load. As you can imagine, this can cause problems if the geotargeted ad is in a sidebar and above the content code, which means it takes longer for visitors to get to see the main area of a page.
Possible Solution.
To be honest, I am not sure how to get around this. The main thing I would like to achieve is to have the ads load on their own accord without affecting the loading of the rest of the page. So even if the ad takes a while to be delivered, the rest of the page will load without being affected by the ad.
I have heard that I can call the script as an external page like Google adsense does, but I am not sure how this works or if it will.
Any suggestions would be much appreciated.
Thanks!
The Problem.
I have noticed that the geotargetted ads/links are taking longer to load than they would if they were not geotargeted. I expected there to be a very small delay, but it does seem quite noticeable.
I like to think that the script has been constructed well, so is this something that I should just expect? The script uses a MySQL database to identify which country a visitor is from.
The Bigger Problem.
Now I don't mind there being a slight (if somewhat noticeable) delay to deliver the ads, but there is a bigger problem.
Whilst the scripts are working to be delivered, the rest of page will not load. As you can imagine, this can cause problems if the geotargeted ad is in a sidebar and above the content code, which means it takes longer for visitors to get to see the main area of a page.
Possible Solution.
To be honest, I am not sure how to get around this. The main thing I would like to achieve is to have the ads load on their own accord without affecting the loading of the rest of the page. So even if the ad takes a while to be delivered, the rest of the page will load without being affected by the ad.
I have heard that I can call the script as an external page like Google adsense does, but I am not sure how this works or if it will.
Any suggestions would be much appreciated.
Thanks!