# Google reCAPTCHA Setup

Google reCAPTCHA helps protect your affiliate forms from spam and automated bots.\
Once enabled, it adds a verification step to your affiliate registration page.

* You create reCAPTCHA keys in **Google reCAPTCHA Admin**
* You paste the keys into **Jaka Affiliate Marketing**
* Add the recaptcha block to the page
* reCAPTCHA is automatically applied to affiliate signup forms

***

### ⚙️ Step 1: Create reCAPTCHA Keys in Google

&#x20;1\. Sign in your Google account. > Visit the [reCAPTCHA Admin Console](https://www.google.com/recaptcha/admin)

&#x20;2\. Click on the “**+**” button or visit [this link](https://www.google.com/recaptcha/admin/create) to register a new site directly

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

&#x20;3\. Enter a **label** for this new site. This label will help you to identify the site in the future.

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

&#x20;4\. Choose the **reCAPTCHA type**

The available options are:

* **reCAPTCHA v2:** The reCAPTCHA v2 requires clicking the “I’m not a robot” checkbox and submitting an image recognition challenge. But, if you choose the “**Invisible reCAPTCHA badge**” option, Google will validate the request in the background.
* **reCAPTCHA v3:** The reCAPTCHA v3 runs in the background and generates a score based on a user’s behavior on your site. If the score is satisfactory, Google won’t bother the user with any verification challenge.

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

&#x20;5\.  Enter the **Domains**: add the domain names for your website where you want to use reCAPTCHA. You can enter multiple valid domains here.

For example: The page I want to add reCAPTCHA is <https://booking-nga.jaka.app/register>. I'll add the domain [booking-nga.jaka.app](https://booking-nga.jaka.app/register) to the reCAPTCHA config.&#x20;

&#x20;6\. Then accept the reCAPTCHA terms and click on the **SUBMIT** button&#x20;

&#x20;7\. You’ll get your Site Key and Secret Key right after clicking on the ‘Submit’ button

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

***

### ⚙️ Step 2: Add Keys to Jaka Affiliate Marketing

&#x20;1\. Open the app > click **Settings** > **Third-Party integration**

2. In Google **reCAPTCHA**, click **Set up**
3. Add **Site key** and **Secret key** of reCAPTCHA&#x20;
4. Click **Save**

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

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

***

### ⚙️ Add reCaptcha Block to Landing Page&#x20;

1. From  the app menu on left side, click **Portals**
2. Click **Customize** button of the page template you want to edit

&#x20;4\. Click **Add items** > add **reCAPTCHA** element  > **Save**

&#x20;5\. Preview the page to check the the result

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

***

### ▶️ Tutorial video&#x20;

{% embed url="<https://youtu.be/bWc5CRFXCfo>" %}

***


---

# 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://docs.jaka.app/shopify/pages-and-links/google-recaptcha-setup.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.
