Answer the question
In order to leave comments, you need to log in
Catching bots with Google reCaptcha v3?
https://developers.google.com/recaptcha/docs/v3
eCAPTCHA v3 returns a score for each request without user friction.
The score is based on interactions with your site and enables you to take an appropriate action for your site.
grecaptcha.execute('_reCAPTCHA_site_key_', {action: 'homepage'}).then(function(token) {
grecaptcha.execute('_reCAPTCHA_site_key_', {action: 'homepage_login'}).then(function(token) {
grecaptcha.execute('_reCAPTCHA_site_key_', {action: 'homepage_load_more'}).then(function(token) {
grecaptcha.execute('_reCAPTCHA_site_key_', {action: 'homepage_page_2'}).then(function(token) {
...
reCAPTCHA v3 will never interrupt your users, so you can run it whenever you like without affecting conversion.
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.
Answer the question
In order to leave comments, you need to log in
After validating the captcha, set the user session parameter that he passed the captcha and do not use Google Captcha again in this session.
This will be enough to exclude most bots.
For everyone else, a behavioral filter is needed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question