Menu

How to Сonfigure Google reCAPTCHA on Magento 2 Forms and Popups

What is Google reCAPTCHA

Google reCAPTCHA is a free Google solution that protects your website from abusive activities such as spam and fraud. It ensures security by using an advanced risk analysis engine that distinguishes between humans and bots. Being very easy to configure, it becomes an affordable tool for every store owner.

Regarding Magento, it provides the functionality that allows adding Google reCAPTCHA into the website frontend and backend. As a result, you can defend both storefront and admin login forms from bots and other malicious mechanisms that try to access or attack your website. Furthermore, if you use Newsletter Popup Extension to display newsletter popups on your website, you can enable reCAPTCHA right from the extension’s configuration.

The configuration process is simple and takes less than 10 minutes of your time.

How to Configure MSP reCAPTCHA on Magento 2

  1. Register a new site on Google reCAPTCHA to get Site Key and Secret Key. Follow the official guide on how to create reCAPTCHA keys if you have any difficulties

    how to add google recaptcha keys
  2. Go to Stores -> Settings -> Configuration in your Magento 2 backend
  3. Open the Security tab -> Google reCaptcha
  4. Enter the reCAPTCHA keys into the corresponding fields

    magento 2 newsletter popup extension goole recatcha configuration
  5. Set the Enable option to Yes under the Backend and Frontend

    magento 2 newsletter popup extension goole recatcha configuration 2
  6. You can enable or disable Google reCAPTCHA for various Magento forms by scrolling down the page and setting the Enable option to Yes.

However, if you’d like to enable reCAPTCHA on Newsletter Popups, it is not required to configure it in Magento. Instead, you can enable it in the Newsletter Popup extension configuration.

How to Configure Google reCaptcha on Newsletter Popups

  1. Register a new site on Google reCAPTCHA and get Site Key and Secret Key. Follow the official guide on how to create reCAPTCHA keys if you have any difficulties. 
  2. Go to Plumrocket tab in the main Magento menu -> Newsletter Popup extension -> Configuration
  3. Scroll down the page to the Google reCAPTCHA section and enter the Site and Secret Keys

    magento 2 newsletter popup extension google recaptcha configuration 4
  4. Navigate to Plumrocket -> Newsletter Popup -> Manage Popups
  5. Open a particular popup you would like to add the reCAPTCHA to
  6. Go to the General tab and scroll down the page to the Signup Form section
  7. Check the Google reCAPTCHA box in the Enable Form Fields grid and click Save to apply changes

    magento 2 newsletter popup extension google recaptcha configuration 3


Here is how the successfully configured reCAPTCHA in Newsletter Popup looks like:

magento 2 newsletter popup extension google recaptcha configuration 3

Having difficulties configuring the Google reCAPTCHA? Contact our Support Team. We are always happy to help you!



Still Need Help?

See other FAQ for Magento 2 Newsletter Popup Extension