• Resolved wp-anis

    (@anis1287)


    Hello,

    When i test on google pagespeed, there’s you ad script that is render-blocking.

    can it be deferred, or does it have to load at the start?

    thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Hi there,

    Thanks for reaching out. If ads are appearing as an opportunity within your PageSpeed Insights reports then you can reach out to the AdSense product experts at the AdSense Help Center. We can only assist with Site Kit queries here in plugin support. There is a recent AdSense Help Center response from a similar question below which you may find useful:
    https://support.google.com/adsense/thread/123192856/deferring-ads-for-improving-pagespeed-score?hl=en

    can it be deferred, or does it have to load at the start?

    Site Kit places the Auto ads code as per recommended guidelines from the AdSense network. It’s not recommended to alter the position, whether you’re using Site Kit or not to place ads.

    If you’re site is suitable for AMP you may be able to benefit from amp-ads. Alternatively you can try methods such as changing your ad load settings within your Auto ads configurations at adsense.google.com.

    Thread Starter wp-anis

    (@anis1287)

    I see.

    Thank you very much for the explanation 🙂

    Plugin Support James Osborne

    (@jamesosborne)

    No problem at all, thanks again for getting in touch! If you have any further queries you know where to find us.

    If you’ve been using the plugin for a while be sure to also leave your plugin feedback. Best of luck.

    Thread Starter wp-anis

    (@anis1287)

    Ok.

    The example in the recommended guideline, the script have the async tag

    But in my case, the script don’t have the async tag

    <!-- Google AdSense snippet added by Site Kit -->
    <script src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2864365836899232" crossorigin="anonymous"></script>
    • This reply was modified 2 years, 3 months ago by wp-anis.
    • This reply was modified 2 years, 3 months ago by wp-anis.
    • This reply was modified 2 years, 3 months ago by Steven Stern (sterndata).
    Plugin Support James Osborne

    (@jamesosborne)

    Great question! I’ll check this with the team and report back to you here if that’s ok. Note that it may be tomorrow before I have an update. Let me know if that suits.

    Thread Starter wp-anis

    (@anis1287)

    Ok.

    Thanks

    Thread Starter wp-anis

    (@anis1287)

    Hi there,

    Any news on this?

    Thanks.

    Plugin Support James Osborne

    (@jamesosborne)

    @anis1287 Many thanks for checking in. I’ve spoken with the team and we’ve since created the below GitHub issue:
    https://github.com/google/site-kit-wp/issues/4398

    Many thanks for bringing this to our attention. We expect this to be addressed with the next plugin release, due in early December. In the meantime if you prefer to include the async attribute you can of course place your own AdSense snippet in the meantime. If doing so you can then remove the Site Kit placed snippet while keeping the AdSense module connected within Site Kit in order to be able to view your AdSense data within the Site Kit dashboards.

    Let me know if you have any further questions with the above.

    Thread Starter wp-anis

    (@anis1287)

    Ok.

    Thank you very much for this @jamesosborne

    Plugin Support James Osborne

    (@jamesosborne)

    No problem at all. Thank you for your contribution and improvement to the plugin. Be sure to reach out if you have any further queries. If you’ve been a Site Kit user for some time we’d also love to hear your plugin feedback.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘render blocking script’ is closed to new replies.