help center

Search
Close this search box.
On this page

Add reCAPTCHA to prevent spam

Last Update: November 19, 2024

reCAPTCHA is one of the most popular ways to prevent spam and abuse by preventing bots from being able to submit forms.

To add a reCAPTCHA, you first need to get the reCAPTCHA keys from the Google website. 

You can choose from:

  • reCAPTCHA v3
  • reCAPTCHA v2

We recommend v3 as it is the new more secure, less intrusive method to use.

Note
Elementor and reCAPTCHA integration does not support the Enterprise version of Google’s reCAPTCHA API.

reCAPTCHA v3

reCAPTCHA v3 enables verification of the legitimacy of interactions without requiring any user input. Version 3 operates discreetly in the background, generating a score based on user behavior. A higher score indicates a higher likelihood that the user is human.

Register reCAPTCHA v3

Follow these steps:

  1. Go to the Google reCAPTCHA site.
  2. Add a Label to identify this instance. 
  3. Use the radio button to select Score based (v3).
  4. Enter the Domains you wish to secure.  
  5. Agree to Google’s terms and conditions and click Submit.

    Your Site Key and Secret Key are displayed.

reCAPTCHA v2

reCAPTCHA v2 comes in two forms:

  • “I am not a robot” Checkbox: the user has to mark a checkbox to prove they are not a robot.
  • Invisible reCAPTCHA badge: reCAPTCHA operates in the background to determine whether or not the visitor is a robot.

Register reCAPTCHA v2

Follow these steps:

  1. Go to the Google reCAPTCHA site.
  2. Add a Label.
  3. Use the radio button to select Challenge (v2).
  4. Use the radio button to choose between:
    • “I’m not a robot” Checkbox
    • Invisible reCAPTCHA badge
  5. Enter the Domains you wish to secure.
  6. Agree to Google’s terms and conditions and click Submit

    Your Site Key and Secret Key are displayed.

Set up keys in Elementor

After registering reCAPTCHA with Google, you need to add the site and secret keys to your Elementor site.

Follow these steps:

  1. In a separate tab, login to WP Admin. 
  2. Go to Elementor > Settings > Integrations.
    Note
    reCAPTCHA v2 is called reCAPTCHA in the Integrations screen.
  3. Copy the following from the Google tab and paste into the Elementor reCAPTCHA fields:
    • Site Key
    • Secret Key
    • (Optional for v3) Add a Score Threshold. If bots manage to get around the reCAPTCHA, increase the score. For details, refer reCAPTCHA v3 | Google for Developers
  4. Click Save Changes.

Set up reCAPTCHA in form

Follow these steps:

  1. Login to WP Admin.
  2. Go to Add New Page.
  3. Click Edit With Elementor. An editable page opens in Elementor.
  4. Drag in a Form widget.
  5. Click the edit icon to edit your form. The Edit Form panel shows.
  6. Click Add Item
  7. Enter the following:
    • Type – Choose reCAPTCHA3 or reCAPTCHA for v2.
    • Label – Give a label to identify.
    • Badge – Choose where to place the badge – right, left or inline.
  8. Click Publish to save. You can also Save Draft.

You will now see the badge on the page.

Have more questions? We’re more than happy to assist.

Link is copied to clipboard!
On this page

Is this article helpful?

Share this article