Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Of late recaptcha images have become excessively difficult to decipher. Is there any way to get analytics on unsuccessful attempts before a successful one for your website? I'm pretty certain the numbers are going to be bad and something needs to be done about it.

share|improve this question

migrated from Apr 30 '11 at 6:57

This question came from our site for professional and enthusiast programmers.

1 Answer 1

If you use reCAPTCHA, you can use their API to log the number of failed attempts (code shown uses the reCAPTCHA Ruby gem):

if validate_recap(params)
      #user validated the captcha, create an account
      #user failed to validate, log the attempt and show a new captcha

Using the reCAPTCHA library helps digitise books while reducing scripted signups, so it's worth sticking with it, but if you're worried that its affecting signups and want an alternative, you might consider using Mollom, Akismet, or Defensio, all of which attempt to grade form input to assess whether its human or not.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.