recaptcharecaptcha-v3

Google reCAPCTHA v3 should go in every page or not?


I'm migrating from Google reCAPTCHA v2 to v3. As they are quite different, I have a question.

I used to place my reCAPTCHA v2 only inside web pages where a form exists, to make users click and avoid bots. That's understood, ok, but with reCAPTCHA v3 there is NOT a checkbox where to click on (reCAPTCHA v3 analyzes the user behaviour and clicks).

So... should I place the reCAPTCHA v3 just in forms pages or should I place it in all and every pages I have (to make recaptcha observe how the user interacts with the web)?


Solution

  • I would disagree with Galzor’s answer. The documentation says that

    The score is based on interactions with your site and enables you to take an appropriate action for your site.

    It’s “site” and not page. It goes on to say

    reCAPTCHA works best when it has the most context about interactions with your site, which comes from seeing both legitimate and abusive behavior. For this reason, we recommend including reCAPTCHA verification on forms or actions as well as in the background of pages for analytics.

    To me that last sentence means “every page with analytics on my site” — i.e. every page, whether it has a form on it or not. Which then gives rise to all sorts of privacy concerns, see also here.

    Now my question is: what does the “reCAPTCHA verification” refer to? Including the api.js script or executing something or… 🤔

    Unfortunately, the docs don’t spell this out clearly.

    Addendum

    (Feb 2023)

    I switched to hCaptcha and their docs are also somewhat unclear. However, their customer service responded with

    You should add the script and the DOM container with hCaptcha widget only on the contact form page and then call our /siteverify endpoint to validate the user.

    and

    Same scenario for second case, add it only on the sign up page and if validated within our side the user should be able to log in.

    Based on that response I added the CAPTCHA only to the Contact page of my website and to the Sign Up page of the webapp.

    Not sure this would also apply to Google’s CAPTCHA, though.