How to setup Google ReCaptcha

Step 1

First, you will need to sign up for Google Recaptcha (https://www.google.com/recaptcha/).

Step 2

Select Recaptcha V2. Add the necessary domains your site will be accessed by into the fields provided.

Step 3

Take note (or keep the browser tab open) of both the Site Key and the Secret Key. You will need these for the next step.

Step 4

Login to the CMS.

Step 5

In the tree menu, go to 'Configuration'.

Step 6

From the grid, select 'Global Settings'.

Step 7

Go to the Form tab and Paste your Site Key and Secret Key into the respective fields provided.

Step 8

The pre-built Contact Form and Newsletter Form supplied with your Umbraco theme from uSkinned will now work with Google Recaptcha validation.

Step 1

First, you will need to sign up for Google Recaptcha (https://www.google.com/recaptcha/).

Step 2

Select Recaptcha V2. Add the necessary domains your site will be accessed by into the fields provided.

Step 3

Take note (or keep the browser tab open) of both the Site Key and the Secret Key. You will need these for the next step.

Step 4

Login to Umbraco CMS.

Step 5

Go to the Content section

Step 6

Expand Website Configuration

Step 7

Click on Global Settings

Step 8

Scroll to Form Settings > Paste your Site Key and Secret Key into the respective fields provided.

Step 9

The pre-built Contact Form and Newsletter Form supplied with your Umbraco theme from uSkinned will now work with Google Recaptcha validation.

Bonus Step (Umbraco Forms)

If you plan on using Umbraco Forms then you will need to take this additional step to successfully set up Google Recaptcha for any Umbraco Form you create.

Open your website in a code editor such as Visual Studio Code. Locate the file ~/App_Plugins/UmbracoForms/UmbracoForms.config:

<setting key="RecaptchaPublicKey" value="sHZZenninFziVUV9TN24FqhwZvc2b4e8BLrG" />
<setting key="RecaptchaPrivateKey" value="sHZZenninFziVUV9TN24FqhwZvc2b4e8BLrG-" />

Enter the site keys you have already created and update the code above. 

 

#h5yr

Get started today

Join thousands of agencies, freelancers, enterprises & start ups worldwide who use uSkinned Site Builder for Umbraco to deliver results.

NEW Site Builder!

We have launched a brand new, game-changing product for Umbraco CMS.