• Hello, I’ve been using this plugin for about 3 weeks and I noticed a problem yesterday. The plugin causes adsbygoogle.js to be loaded repeatedly on all pages, making the page load time endless. And the problem goes away when I disable the plugin. This is a huge problem in terms of SEO. I disabled the plugin because of this problem, I hope you can fix it.

    Screenshot: https://i.imgur.com/IJfG2Nv.png

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Suresh Chand

    (@sureshchand12a)

    Hi @frkn64,
    By default, the plugin will check ads blockers on a 0.1 seconds interval. You can increase this interval to any extends but right now, You cannot disable this repeatedly checking process completely. Hope, We will add this feature in upcoming versions.

    To increase this interval time, add the below code to the theme’s functions.php file

    /**
     * Filter to change Request Time Interval
     * 
     * @param int $time
     * @return int $time
     */
    
     add_filter( 'adb/check/interval', function($time){
     	return 100000;  //100 seconds
     });

    Note: Your time interval must be in milliseconds.
    1 seconds = 1000 milliseconds

    You can disable the google ads request also. But after disabling google ads requests, some of the ad blockers may not be detected.

    Hope it will work. For more details, Check documentation

    Thanks
    Suresh

    • This reply was modified 2 years, 9 months ago by Suresh Chand.
    • This reply was modified 2 years, 9 months ago by Suresh Chand.
    • This reply was modified 2 years, 9 months ago by Suresh Chand.
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin causes adsbygoogle.js to load repeatedly’ is closed to new replies.