# ReCaptcha

[ReCaptcha](https://www.google.com/recaptcha/) is an exceptional free software by Google that helps to spot bots and automated web behaviour.

ReferralHero's ReCaptcha native integration allows you to substantially reduce (or eliminate completely) spammers and bots trying to cheat in your campaign.

**Important**: ReCaptcha is a Premium feature. If you want to use you must have a Premium account or upgrade to one.

Let's see how you can enable ReCaptcha for your campaign:

### Step 1

[Go to this page](https://www.google.com/recaptcha/admin) and create a free account on Google ReCaptcha.

![](https://d33v4339jhl8k0.cloudfront.net/docs/assets/57e920a8c697914f21031685/images/5aba0ac82c7d3a0e9366c36e/file-8kVBVp20ko.png)

### Step 2

Once in your admin, register a new site. The important things are:

* choose the INVISIBLE Recaptcha
* add your domain to the whitelist (otherwise it won't work). Eg: if your website is [https://mywebsite.com](https://mywebsite.com/), add "mywebsite.com". If you want to test it in your local environment, you can add "localhost"
* accept the Terms of Service

![](https://d33v4339jhl8k0.cloudfront.net/docs/assets/57e920a8c697914f21031685/images/5aba0bca042863794fbea3e0/file-kT0CUQhJ2v.png)

### Step 3

Once you register a new site, copy the **Site Key** and **Secret key**. \
Below's a screenshot of what they will look like.

![](https://d33v4339jhl8k0.cloudfront.net/docs/assets/57e920a8c697914f21031685/images/5aba0c62042863794fbea3e4/file-RST31rNvyq.png)

### Step 4

Go to your campaign Overview> *Edit > Unique Identifier*.\
Enable Recaptcha and paste the Site Key and Secret Key in the corresponding fields on ReferralHero.

<figure><img src="/files/jllb2qKaw3yxpIoH2Hvn" alt=""><figcaption></figcaption></figure>

Save your changes and your campaign is officially ReCaptcha enabled!

### ReCaptcha badge

ReCaptcha will automatically add a small badge on the bottom right corner. This badge can't be disabled and SHOULDN'T be as expressed in the ReCaptcha's Terms of Service that you have agreed.

![](https://d33v4339jhl8k0.cloudfront.net/docs/assets/57e920a8c697914f21031685/images/5aba0db02c7d3a0e9366c386/file-fAMIIx3pr3.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.referralhero.com/campaign-builder/unique-identifier/recaptcha.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
