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.
    Add a label Add reCAPTCHA to prevent spam 1
  2. Add a Label to identify this instance. 
  3. Use the radio button to select Score based (v3).
    Add a domain name Add reCAPTCHA to prevent spam 3
  4. Enter the Domains you wish to secure.  
    Click submit Add reCAPTCHA to prevent spam 5
  5. Agree to Google’s terms and conditions and click Submit.
    Site and Secret Keys Add reCAPTCHA to prevent spam 7
    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.
    Add a label Add reCAPTCHA to prevent spam 1
  2. Add a Label.
    click v2 Add reCAPTCHA to prevent spam 11
  3. Use the radio button to select Challenge (v2).
  4. Use the radio button to choose between:
    choose a type of recaptcha Add reCAPTCHA to prevent spam 13
    • “I’m not a robot” Checkbox
    • Invisible reCAPTCHA badge
      enter a domain name v2 Add reCAPTCHA to prevent spam 15
  5. Enter the Domains you wish to secure.
    accept tc v2 Add reCAPTCHA to prevent spam 17
  6. Agree to Google’s terms and conditions and click Submit
    Site and Secret Keys Add reCAPTCHA to prevent spam 7
    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. 
    Recaptcha section Add reCAPTCHA to prevent spam 21
  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.
    Add reCAPTCHA to prevent spam in Elementor Form 1
  3. Click Edit With Elementor. An editable page opens in Elementor.
    Add reCAPTCHA to prevent spam in Elementor Form 7
  4. Drag in a Form widget.
    Add reCAPTCHA to prevent spam in Elementor Form 9
  5. Click the edit icon Add reCAPTCHA to prevent spam in Elementor Form 3 to edit your form. The Edit Form panel shows.
    Add reCAPTCHA to prevent spam in Elementor Form 11
  6. Click Add Item
  7. Enter the following:
    Add reCAPTCHA to prevent spam in Elementor Form 5
    • 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.

Add reCAPTCHA to prevent spam in Elementor Form 8

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

Stuck?
Our Elementor Expert is Ready

Book a 45-min video consultation call with an Elementor expert and elevate your site!