Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    recaptcha__en.js is not referenced in your HTML, but loaded by https://www.google.com/recaptcha/api.js?onload=recaptchaCallback&render=explicit&ver=2.0, so you _could_ try asyncing (or deferring) that?

    I did a quick test on webpagetest.org and according to that test recaptcha__en.js is only loaded 1 time, but on the other hand in your HTML I do see 4 identical lines like this;

    
    var wpcf7 = {"apiSettings":{"root":"https:\/\/imlr.net\/wp-json\/","namespace":"contact-form-7\/v1"},"recaptcha":{"messages":{"empty":"Please verify that you are not a robot."}}};

    so (as a second assignment) try finding out why this is happening, setting that same variable (array) 4 times is … useless ??

    hope this helps,
    frank

    Thread Starter hiad99

    (@hiad99)

    Hello FRank thank you for your answer. I dont know what it’s loading 4 times. Code is generated by Contact form 4. I do have 4 contact forms in the page hidden as a pop up, Do you think it should be the reason?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    could be. maybe ask the contactform7 devs if this is the case and how this can be prevented?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Recaptcha loading multiple times’ is closed to new replies.