Current time: 02-22-2020, 09:30 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adsense IFrame Asynchronous Trick
11-21-2010, 03:58 AM
Post: #2
RE: Adsense IFrame Asynchronous Trick
(11-21-2010 12:16 AM) Wrote:  This solves the problem of AdSense slowing down the website. The body onload event occurs early and all my scripts execute very fast now. Please let me know what you think of my solution I found and expanded upon.

If i were doing this, I would get a confirmation directly from a google rep if this is ok or not...

Unlike this method which basically has same effect as source ordered content, what you are doing is delaying adsense until onload event...

Alternately what you could do is:-

1) use aaron's method to put adsense just before </body>
2) instead of attaching your logic to onload, attach it to a custom trigger which fires just before starting to load adsense...

Personally i messed with iframes with adsense years ago (regular iframe not dynamic one) and saw my eCPM go down.... dont know if thats still the case... but something you should consider. We help you select the right CDN
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Adsense IFrame Asynchronous Trick - sajal - 11-21-2010 03:58 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)