reCaptcha v3 on Squiz

(Douglas (@finnatic at @waikato)) #1

**Matrix Version:

Does anyone have any tips for getting Google reCaptcha v3 working with a Squiz custom form?


Hi Douglas,
That version of Matrix only supports reCAPTCHA v2.

(Douglas (@finnatic at @waikato)) #3

Thanks James - are you aware if there any future plans for reCAPTCHA v3? (No worries if not, I believe we’ve got a catchup with Bart in a week or so)

Alternatively - has anyone setup a form hosted in Squiz - via a Standard Page for example - that is using reCAPTCHA v3 and are there any issues to watch out with that approach?


Yeah, Bart would definitely be the guy to talk to about reCAPTCHA v3 support.

Regarding adding reCAPTCHA v3 to your site - that’s something you can certainly do in Matrix but it will require some additional steps.

As v3 works on a scoring system, you will need to add the necessary scripts to other pages of the website (all pages, if you follow Google’s recommendations). This might slow down your site performance.

You will also need to write some JavaScript to generate and capture the unique ID for the user’s site interactions and then POST that to your Custom Form with the rest of the form values.

Finally, in Matrix you will need a Form Submission Action to get the user score from a Google API endpoint and then parse the response to determine if you think the score is high enough to pass as human.

As you can see, there are a lot of steps and considerations there but it’s all pretty well documented by Google and in forums like Stack Overflow.

It’s not a trivial amount of work, so this is why so many people stick to the “I’m not a robot” checkbox in reCAPTCHA v2.