Load reCAPTCHA only on pages that have forms

It seems that reCAPTCHA is loaded on all pages. Even pages that do not have forms include reCAPTCHA. This slows down page loading unnecessarily on those pages.

Please have reCAPTCHA load only in pages that have forms.

  • Shahar Or
  • Sep 28 2020
  • Reviewed
  • Joseph Tosi commented
    22 Nov, 2022 02:29am

    I just reduced my home page's Time to Interactive from 7.5 sec to 4.0 by removing the reCAPTCHA. I also improved PageSpeed rank from 67 to 79. 😳 And page load feels much snappier. 🤔 I realize reCAPTCHA may need to running stuff in the background during the user's session in order to determine if the user is real, but… there's gotta be a better way…

  • Joseph Tosi commented
    22 Nov, 2022 02:19am

    recaptcha__en.js is 399.9 KiB uncompressed?? 🤦🏻‍♂️ I'm not using a form on my home page…

  • Almog Koren commented
    3 Sep, 2022 03:06am

    Whats the deal with this

  • Matt Wheeler commented
    22 Jul, 2021 05:41pm

    Yes, please take a look into this. My site is failing LCP core web vitals with reCAPTCHA taking 26% of the resources when loading.

  • Shahar Or commented
    25 Jun, 2021 12:42am

    Thank you for reviewing this, WebFlow.

  • Julien Vanwinsberghe commented
    4 Feb, 2021 06:41am

    This would help a lot for improving Google PageSpeed score!

  • +22