How to Add Captcha to Magento Form – Avoid Spam Emails

Ever had a spam email? Oh who am I kidding, everyone has. But owning a website with contact forms can be a massive headache when it comes to spam messages.

A great way to combat this is to use the internets go-to service Google Invisible reCAPTCHA – you can add this to any form on your website to help combat those nasty spammers.

This particular extension for Magento 2 helps you to protect your forms from bots, without having to modify the core of Magento. Phew!

So, now we have the extension and the service, what actually is Google reCAPTCHA, and more importantly the invisible one.

Google Invisible reCAPTCHA

Google Invisible reCAPTCHA was and is designed to significantly reduce the number of bot submissions you receive via forms on your website and is ideal for use across Magento 1 and Magento 2 websites, it also works with WordPress forms.

Adding an additional layer of security to your website from fraudulent activity. While letting real paying customers pass through easily.

Unlike previous versions, potential customers don’t need to fill out any quizzes or check the “I’m not a robot” button.

Instead, Invisible reCAPTCHA is enabled when the user clicks on an existing button on your site or via a JavaScript API call. Approved visitors will be able to progress without having to take further action, while any traffic deemed to be suspicious will be prompted to solve a CAPTCHA.

I want Google Invisible reCAPTCHA On My Website.

So you’ve decided you want to implement the Google reCAPTCHA, good. It’s a great asset to have on your website. We can help you achieve this, simply drop us an email hello@awaredigital.co.uk or use our contact form to have one of our development team take care of this for you.

Before we can add the Google Invisible reCAPTCHA to your website you’ll need to register for it through the Google Admin Console.

  1. Go to https://www.google.com/recaptcha/intro/v3.html
  2. Click the Admin Console button in the top right of the screen
  3. Provide a label that can help you identify your badge – i.e. your website name or URL
  4. Under ‘reCAPTCHA type’, Select ‘reCAPTCHA v2’ then ‘Invisible reCAPTCHA badge’
  5. Enter your website domains under ‘Domains’
  6. Check the email address is correct under ‘Owners’
  7. Accept the terms and conditions
  8. Click ‘Submit’ – and you’re done.

Need help with your current Web Site?

If you’re not currently with aware but need help with your current website, let’s talk. Whether it’s digital marketing, Web updates, security enhancements or UX.

Our team of digital experts can audit your current platform and advise of the next best steps for your business needs.