WP Configurator Pro

⌘K
  1. Home
  2. WP Configurator Pro
  3. Apply reCAPTCHA v2 on Default Request A Quote From

Apply reCAPTCHA v2 on Default Request A Quote From

Issue:
Secure your “Get a Quote” form from unwanted spam using Google reCaptcha v2 in the configurator. Without a verification mechanism, the form is vulnerable to bots and automated spam, leading to unnecessary workload and inefficiencies.

Solution:
Our experienced development team has implemented a solution using reCAPTCHA v2 to secure your “Get a Quote” form. This integration effectively distinguishes between legitimate users and automated bots, preventing spam submissions and ensuring a smooth and secure experience for your potential customers. With reCAPTCHA v2, your form remains user-friendly while adding a robust layer of protection.

Note: You must back up your site to prevent any inconvenience during the process

To install Google reCAPTCHA v2 on your website, follow these steps:

1. Get reCAPTCHA Keys

  1. Visit the Google reCAPTCHA website.
  2. Log in with your Google account.
  3. Under Register a new site:
    • Label: Enter a name for your site.
    • reCAPTCHA type: Select reCAPTCHA v2 and choose the appropriate option (e.g., “I’m not a robot” Checkbox).
    • Domains: Add your domain name (e.g., example.com).
    • Accept the reCAPTCHA Terms of Service.
    • Click Submit.
  4. Copy your Site Key and Secret Key.

2. Insert the following script into the <head> section of your HTML file

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

3. Paste this code on Code Snippet

GET THE CODE HERE -> DOWNLOAD:

3.1 Adding the code through a custom code plugin. Install and activate the snippets plugin. We suggest using the Code Snippets:

3.2 Replace YOUR_SITE_KEY with the key you got from Google.

3.3 Replace YOUR_SECRET_KEY with the secret key from Google.

Replace site and secret key

4. Test Your Implementation

4.1 Visit your site and fill out the form.

4.2 Confirm the reCAPTCHA widget appears and works as expected.

How can we help?