Lazy Load AdSense


Lazy Load AdSense plugin is a simple and lightweight plugin that allows you to place your Google AdSense script without affecting your website page speed.


Go to to download our plugin and install it to your WordPress System.

  1. Upload to the /wp-content/plugins/ directory. And extract it zip file
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. After installing and activating the plugin, go to “settings -> Lazy Load AdSense” to place your AdSense ID.
  4. Then, you will start see your AdSense ads displayed on your site! Enjoy.


Is it free?

Yes, this plugin is 100% free.

What does the Lazy Load AdSense Plugin actually do?

If there is no user activity, we will delay the AdSense script for 5 seconds. If the script detects the user scrolling or any mouse activity, the script will be placed immediately.

Why you need this plugin?

If you are using traditional AdSense plugin to install your AdSense script or place the AdSense script directly to your website. You may notice a sharp drop in your WordPress site page speed score especially for Core Web Vitals.

In this plugin, we use a combination technique of both delayed loading and lazy load of the Google AdSense script. When you use our plugin to place Google AdSense script, it will not affect your page speed score.

Will this plugin speed up my website?

Technically, this plugin doesn’t speed up your website. If your website has a score of 80 (Core Web Vitals) before placing the AdSense script, after using our plugin. The score will remain the same (80).

But if you place the code directly copied from official website without using this plugin. You may notice, your website core web vitals score might drop from 80 to 50 or even lower.

Does your plugin support manual ads?

Yes, we support both manual ads and auto ads placement.

How to add manual ads on my website?

Imagine you want to create a display ads on your website.
1. Log into your “AdSense account” -> “Ads” from menu -> “By Ad Unit” -> Create new ad unit “display ads”.
2. Once u created the display ad. From your “existing ad unit”, click on a button like “< >” to get the manual ad code.
3. Then go to the page/block template(block theme). Create a custom HTML code block, and paste the code.
4. Now you need to remove this line of code <script async src="" crossorigin="anonymous"></script>. Then, save the page/block template.
5. No worries the ads will works because our plugin already lazy load the adsbygoogle.js. If you don’t remove the adsbygoogle.js, your website performance will still degrade (core web vitals).

To make sure u understand. Here is the example of before you remove the code in step 4.

Incorrect code example (Before step 4)
<script async src="" crossorigin="anonymous"></script>
<!-- Your Custom Display Ads Name -->
<ins class="adsbygoogle"
(adsbygoogle = window.adsbygoogle || []).push({});

Correct code example (After step 4)
<!-- Your Custom Display Ads Name -->
<ins class="adsbygoogle"
(adsbygoogle = window.adsbygoogle || []).push({});

Note: If you placing multiple manual ads, always remove the adsbygoogle.js script.

Can I place ads for specific post types?

Our plugin does not have settings to place ads for specific post types because we want to keep our plugin simple and lightweight.

But if you still need to place ads for specific post type only. You can either use manual ads or you can use Plugin Load Filter. (Disclaimer: We are not affiliated with them)

More Questions?

If you have questions about the plugin, please use the support tab of this page. If you need help other than this plugin, please visit our forum at There is a dedicated forum for WordPress topic.


9 de noviembre de 2023 2 respuestas
Simple and easy plugin. My Pagespeed score with plugin 85-95. Without plugin 39-49. But later I see sometimes Pagespeed shows me error: Largest Contentful Paint Error! The page did not display content that qualifies as a Largest Contentful Paint (LCP). Ensure the page has a valid LCP element and then try again. (NO_LCP)
24 de febrero de 2022
So far, there is no Adsense Script optimization plugin that has good performance. This plugin can be a solution for wordpress users.
Leer todas las 3 reseñas

Colaboradores y desarrolladores

«Lazy Load AdSense» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


Traduce «Lazy Load AdSense» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


  • Improvement: Manual Ads is supported. (Read Plugin Page FAQs)


  • Fixed: Deprecation warning on PHP 8.2


  • Improvement: Optimize and Reduce the code.


  • Fixed: Error message no longer appears when activating the plugin


  • Enhancement : It’s now automatically placed the AdSense script once it detects any mouse activity.
  • Tweak : Change to the latest version of Google AdSense script.


  • First released of Lazy Load AdSense Plugin.