Try to Free Backlinks Your Guest Post Privacy Policy Try To Post Article!

Plus UI 2.6.1 How to Lazyload Adsense Ads Scripts Code

Plus UI 2.6.1 How to Lazyload Adsense Ads Scripts Code

  • Plus UI 2.6.1 Lazyload Adsense Scripts

The posts are updated based on the Latest Template, please follow the steps if you are using version 2.6.1

Table of Contents

Lazyload Adsense helps to improve your Site Performance and its loading time. If you want to lazyload your Adsense scripts, here are a few steps you have to follow.

You should not use lazyload AdSense, while it is under review, you must add the AdSense scripts in the head section at that time. It is recommended to use lazyload Adsense when Adsense has approved your domain, and Ads are ready to show on your domain.

* Follow the steps while your site is under review:

Plus UI 2.6.1 Find the following codes:

<!--[ Defer Adsense script use shinsenter/defer.js ]-->
<!--<script type='deferjs' src='' crossorigin='anonymous'/>-->

Uncomment the codes and replace the marked parts with your Publisher ID. It will look like this:

<!--[ Defer Adsense script use shinsenter/defer.js ]-->
<script type='deferjs' src='' crossorigin='anonymous'/>

Plus UI 2.6.1 Using Lazyload Adsense

* Follow these simple steps to use Lazyload Adsense:

Find the following codes:

adsenseAds: {
  publisherId: caPubAdsense.replace('ca-pub-',''), /* Auto or replace with Publisher ID i.e. "000000000000", */
  antiAdBClose: "true", /* "true", if you want to add a Close Button in Anti Ad Block popup */
  ignoreMaxAge: "86400",
  loadType: "defer" /* lazy, defer, scroll */

If your blog is connected with your Adsense, then no need to replace the mark caPubAdsense.replace('ca-pub-','') otherwise you have to replace it with your Adsense Publisher ID. For eg. replace caPubAdsense.replace('ca-pub-','') with 0123456789012345.

Set the script loading type. For eg. lazy, defer or scroll.

Plus UI 2.6.1 While adding Ad Units, add the marked parts only:

<script async src=""
<ins class="adsbygoogle"
     (adsbygoogle = window.adsbygoogle || []).push({});

Post a Comment

please do not enter the any spam link in comment box If anyone comments falsely on the website, it will automatically get blocked. Thank You
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.