CODE to delay adsense (easy)

hh2489

Junior Member
Joined
Mar 10, 2019
Messages
141
Reaction score
176
Hello puppies, I share with you this code that what it does is to load adsense ads when the user scrolls.

the steps are quite simple, modify the pub -XXXXXX put yours and add it in the head tag of your wordpress or html template.

adsense delay - Pastebin





share your results if you found it useful ;)
 

Attachments

  • 1653258853861.png
    1653258853861.png
    144 KB · Views: 91
  • 1653259457809.png
    1653259457809.png
    56.2 KB · Views: 88
Hello puppies, I share with you this code that what it does is to load adsense ads when the user scrolls.

the steps are quite simple, modify the pub -XXXXXX put yours and add it in the head tag of your wordpress or html template.

adsense delay - Pastebin





share your results if you found it useful ;)
1653284926292.png


Hey dude, thanks for share the code :D
 
This is what I use in WPRocket, delaying Adsense. It works great and got me to 100%. However, there MIGHT be some earnings losses, as it takes about 2-3 seconds for ads to show.
 
This is what I use in WPRocket, delaying Adsense. It works great and got me to 100%. However, there MIGHT be some earnings losses, as it takes about 2-3 seconds for ads to show.
Do you know how it can be disabled in wp rocket?
 
Do you know how it can be disabled in wp rocket?
It's not enabled automatically. You have to do it manually, by pasting the script into the delayed script section. So if you didn't do that manually, it won't affect you. I did it because of slow metrics.
 
To delay scripts I often use Flying Scripts, it´s a free plugin and it works like a charm!

This can come in handy if the only script I need to delay on a site is the one coming from Google AdSense.

Thanks!
 
Back
Top