Menù

How to get reCAPTCHA key

Differences between Captcha Version 2 & Version 3

  • Version 2 (Checkbox reCAPTCHA): This version presents users with a checkbox to confirm they're not robots.
  • Version 3 (Invisible reCAPTCHA): Version 3 runs in the background without requiring any interaction from the user. It assigns a score to each user action and allows website owners to take appropriate actions based on the score. This version offers a smoother user experience as it's less intrusive.

fHffX8KlI2D0SdtC7CS7gbEhqOdaYYQhC7pPpdfMaT4FfWgkp_xGCAufO9qwO4Oq7ErMe_GdFA5IUZP7vgU03wcWMN8KY3ptIPee5N-an1ZSH_pW-Vx81aEgXgc4xptvy65EMsGt8a-Mtcd1_wJ8JLQ

How to Obtain Site Key and Secret Key for Each Version

  1. Login to your Google account then go to the reCAPTCHA Admin Console: https://www.google.com/recaptcha/admin/create.
  2. Click on the "+ New Site" button and fill in the required information, including:
    • Label: A name to help you identify your site.
    • reCAPTCHA type: Choose either "reCAPTCHA v2" or "reCAPTCHA v3" depending on your needs.
    • Domains: List the domains where you want to use reCAPTCHA.
  3. Click "Submit". This will generate a Site Key and a Secret Key for your chosen reCAPTCHA version.

KKqp0Oe9yYOQlvMy9CoiQ3HOnBbGIMApSZQESF8a8BaT_Vb9012BYBbgdeQLB6zszJnBNCuqbXPEZFMXALGQZG0fMTHp4Eai2smAEODXKNPGtu1a_LTjAmbjBhqIf1A2nV9GCHw7tQ-r8V-SDkeUs6s

e8fAAY0SRUjWpQGH02qm6kmbTZWpq6vq2IK9QMQx1xxMmhejFn8hotVLuMIf3DmjNVw6geJPxwICfiXDPg_RoNItIMaH-c2uUN_JaixAMRAdl0AK-CRWr-i40MdGLGE440ZE6Oq_GFR88cVJ7G6QXq4

Below is an example reCAPTCHA v3 configuration via PrestaHero's CAPTCHA-reCAPTCHA module using the Google reCAPTCHA API key pair we showed you how to obtain above:

  • Go to your PrestaShop back office and navigate to Modules > Module Manager.
  • Search for the CAPTCHA - reCAPTCHA module and click Configure.
  • Select the Google reCAPTCHA v3 option, and enter your Site key and Secret key.
  • Click Save.

hLdZzzB4uye2s_tKrzKKh7GeGedBE4-DqD0VdW7WEjP7X4CmFgTb-U5lq2M6Vf9EiI5-_nUMd9hiCEM2c5XK91XW-jAVtLT2Gi2QEz8Vnu6RtcGCULDAcNJ2i3jcCC3NgUPzvbJc_9V-jeZmTk0fRwQ

Once you have saved your settings, reCAPTCHA v3 will be displayed on the selected forms. Users will need to pass the reCAPTCHA challenge before they can submit the form.

Conteggio visualizzazioni articolo: 2298 visualizzazioni