• Hi,

    I have Contact Form 7 integration with reCaptcha v3.

    I’m trying to defer the reCaptcha script using the plugin: WPO Tweaks & Optimizations (https://www.ads-software.com/plugins/wpo-tweaks/)

    <script type='text/javascript' src='https://www.google.com/recaptcha/api.js?render=XXXX&ver=3.0'></script>

    But it throws the error “Uncaught ReferenceError: grecaptcha is not defined
    ” in the inline code as follow:

    } )(
    	grecaptcha,
    	'XXXXXXXX',
    	{"homepage":"homepage","contactform":"contactform"}

    How to solve it ?
    Thanks.

  • The topic ‘Cannot async / defer reCaptcha script’ is closed to new replies.