ReCaptcha and WordPress PHP8

Hi there,
We are building a website on WordPress PHP8 and having issues with our HubSpot forms and ReCaptcha. The developer used the embed form code to link our forms to CTA’s, however, there is an issue because a new ReCaptcha script is added every time a page gets refreshed. Is it possible to have the option to call a ReCaptcha only once for all forms (not an individual ReCaptcha for each form)?

Hi @JPieters,

I’d say yes and no.

While it’s technically possible to set the ReCaptcha via cookie and let the page test if there’s a corresponding cookie available I highly advise you not to do it. The reason is quite simple: Cookies can be affected by malicious actions so basicaly you will have a ReCaptcha which won’t do anything.

My recommendation: Set the reCaptcha settings in HubSpot and recaptcha. An “invisible” reCaptcha is a good thing to go!

best,

Anton

I understand the issue you’re facing with ReCaptcha on your WordPress PHP8 website. Ensuring a seamless user experience is crucial. It seems like having a new ReCaptcha script added every time a page is refreshed is causing inconvenience.You should definitely discuss this with your developer to see if there’s a way to implement a single ReCaptcha instance that covers all forms on your site. This could help streamline the process and make it more user-friendly.If you’re looking for expert advice or more solutions related to web development, you can check out frogstonemedia.com. They might have some valuable insights and resources that could be beneficial for your project.