> For the complete documentation index, see [llms.txt](https://support.referralhero.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.referralhero.com/campaign-builder/unique-identifier/recaptcha.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
