Thursday, June 09, 2005

Fix your Google Ads for Traffic Exchanges

Did you know that when your page appears in a frame, google takes the keywords from the parent frame by default? So when your page is in a frame in a traffic exchange surf (like blog explosion surf for traffic), google pulls up ads for the keyword "surf". You've probably not seen this on your own site since you don't typically see your site when you surf an ad exchange but maybe you have noticed it (or the unauthorized message) where the google ads should be on other people's blogs. To fix this, you just add a line of code to your google ad in your blog tempate:

google_page_url = document.location;

Just put it in there with the other google lines on a line by itself.

Hope this helps!

No comments: