> For the complete documentation index, see [llms.txt](https://docs.jaka.app/shopify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jaka.app/shopify/~/revisions/rpY9mFDjQMRHRtjRdnC9/pages-and-links/google-recaptcha-setup.md).

# Google reCAPTCHA Setup

Google reCAPTCHA uses an advanced risk analysis engine to protect your website from. aka provides you with the option to add Google reCAPTCHA verification to the register page of the affiliate portal.

## Set up Google reCAPTCHA v2/v3 Site Key and Secret Key

&#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="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2FpLy0lIBfn2ItDPmZwpL6%2F2024-03-13_15-32-23.png?alt=media&amp;token=48e349f9-c47e-409e-8f84-cd800150bc46" 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="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2FBtDl6yRMv2px6JHS9liZ%2F2024-03-13_15-32-04.png?alt=media&amp;token=38f85322-b9ad-4668-86b5-d947b0961be0" 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="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2FpyhjNXHiwczhAqfmUMgk%2F2024-03-13_15-33-12.png?alt=media&amp;token=bdad3ac6-5ed0-4aaa-a7b5-e7b1642db397" 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="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2FMrxDGUjsBd8Ux5EpyoXw%2Fimage.png?alt=media&amp;token=6473a0b3-9c0f-4f7d-bd16-539eed3c859b" alt=""><figcaption></figcaption></figure>

## Add reCAPTCHA to the page&#x20;

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

&#x20;2\. Add **Site key** and **Secret key** of reCAPTCHA > **Save**

<figure><img src="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2F2bHzHCGJ6FHOmFbEa06r%2F2024-03-15_15-37-33.png?alt=media&amp;token=d89b668d-193e-4729-91ff-050dcf34a0d2" alt=""><figcaption></figcaption></figure>

&#x20;3\. Then from  the app menu on left side, click **Portals** > click **Customize** button of the page template you want to edit

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

<figure><img src="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2Fngpve15WyuGIQzeoBHoj%2F2024-03-15_15-31-06.png?alt=media&amp;token=a279327b-a1b1-43fc-ba96-cd192eba7899" alt=""><figcaption></figcaption></figure>

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

## Tutorial video&#x20;

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