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

New Member
29 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
New Member
29 0 0

Can anyone help me please?

0 Likes
New Member
1 0 0

Did you ever get any help?

0 Likes
New Member
29 0 0

@Albercook wrote:

Did you ever get any help?


Nope. Does anyone know how to solve this problem?

0 Likes
Highlighted
New Member
29 0 0

Is there anyone that can help me?

0 Likes
New Member
4 0 0

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

0 Likes