ReCAPTCHA v3 is not working in a Shopify Contcact form, how can I solve it?

Highlighted
New Member
51 0 0

Yesterday I added Google ReCAPTCHA v3 in one of my client's Shopify website, but I don't think that it is working because he is still reporting to receive several spam e-mails.

 

I've followed Google's guide, but I don't know what to do for "Verifying user response" part of the guide. I'm not an expert in coding.

 

 

Basically I've added this code to the theme.liquid file:

 

<script src="https://www.google.com/recaptcha/api.js?render=*site key provided by google*"></script>

And then I've added this part in the page.contact.liquid file:

 

<script> grecaptcha.ready(function() {
  grecaptcha.execute('*site key provided by google*', {action: 'contact'}).then(function(token) {
     ...
  }); }); </script>

 

Have I missed out something? Can someone help me to fix this issue please?

0 Likes
Highlighted
New Member
51 0 0

Can anyone help me please?

0 Likes
Highlighted
New Member
1 0 0

Did you ever get any help?

0 Likes
Highlighted
New Member
51 0 0

@Albercook wrote:

Did you ever get any help?


Nope. Does anyone know how to solve this problem?

0 Likes
Highlighted
New Member
51 0 0

Is there anyone that can help me?

0 Likes
Highlighted
Explorer
48 1 13

Same here. No reply ? should be such a basic feature imho

0 Likes
Highlighted
New Member
51 0 0

Did anybody manage to solve this problem?

0 Likes
New Member
51 0 0

No reply at all?

0 Likes
Highlighted
Tourist
10 0 1

You need to run a server application of your own that does the validation part. I have solved it for the blog comments form with an app (https://apps.shopify.com/recaptcha-spambuster), if there is interest I can try to extend it to more of the Shopify forms.

0 Likes
Highlighted
Tourist
10 0 1

With the app https://apps.shopify.com/recaptcha-spambuster you can now also get reCAPTCHA v3 for the contact form. Any feedback is very much appreciated!

0 Likes