Where to add may google recatpcha code for contact form

Solved
Tourist
14 0 2

Hi all.

 

I found a lot of posts which were searching a recaptcha solution for shopify. I just started and honestly i am really disappointed hat a such basic requirement isn't the by default. Only payment apps are available and imho it should be an stock feature for the most basic parts like contact form and customer registration.

 

So here my question:

 

I have these code codes which i tried to insert in the article.liquid file

 

<script src='https://www.google.com/recaptcha/api.js' async defer></script>

and

<div class="g-recaptcha" data-sitekey="---justmyapikey 99999999-------"></div>

i played around but nothing worked.

 

Somebody could help me please for my debut theme contact/registration form.

 

Thanks in advance

0 Likes
Highlighted

Success.

try this 

https://www.huratips.com/tech-tips/adding-recaptcha-for-the-forms-in-shopify-store.html

Thanks & Regards
Perennial Solution

Would like to add new functionality or customize an existing one, please hire us.
If helpful then please Like and Accept Solution .
Email: infoperennialsolution@gmail.com
Skype: infoperennialsolution
1 Like
Tourist
14 0 2
Thanks for reply. Looks a nice solution. In the time I solved with recaotcha 3.
It's the simplest I found
Just copy the cotcha code in top the
contact.liquid file and that's it. Also the newsletter and register form of your template works.
0 Likes

Success.

If helpful then please Like and Accept Solution

 

any task in future let m know

Email: info@perennialsolution.com
Skype: infoperennialsolution

Thanks & Regards
Perennial Solution

Would like to add new functionality or customize an existing one, please hire us.
If helpful then please Like and Accept Solution .
Email: infoperennialsolution@gmail.com
Skype: infoperennialsolution
0 Likes