Support » Plugin: Ajax Pagination and Infinite Scroll » Google Adsense not supporting on ajax infinite

  • Hi there!
    I liked your plugin but I cant figure out how can I get Google Ads on ajax. It loads the first ads on the post loop, but after 1st loop, it stops showing. I’ve used:
    (adsbygoogle = window.adsbygoogle || []).push({});

    but it still isn’t working.
    Any solutions?

Viewing 1 replies (of 1 total)
  • TWIR

    (@mtgarmorydotcom)

    This is what I did which seems to work fine. Just throw it in the Callback Settings part

    $(window).on('ajaxComplete', function() {
    (adsbygoogle = window.adsbygoogle || []).push({})
    });
Viewing 1 replies (of 1 total)
  • The topic ‘Google Adsense not supporting on ajax infinite’ is closed to new replies.