This is the recommended method, since it results in fewer server requests and smaller file sizes:
// @codekit-prepend "crema-captcha.js";
Copy the compiled captcha plugin to your site, insert a link to it at the bottom of the
<body> tag. You'll also need to copy location-data.php into your website's root folder.
This option is not yet available.
For the past few years, we've noticed an uptick in the amount of contact form spam we get from our website. Scammers will often deploy a special program called a bot that searches the internet for contact forms, emails, etc. Once a bot finds one, it can send you fake advertisements, phishing scams, links to malware-ridden sites, etc.
When I rebuilt our company website in early 2017, I decided to try out an official captcha plugin for our CMS. As you can see below, it was a complete failure. In July, I started saving all the spam that came in, so that I could analyze it when I had an opportunity. I've parsed and compiled one-and-a-half years of daily spam data into the interactive chart below.
July 2017 – November 2018
We finally took action after our spam count started spiking at the end of 2018. Since previous versions of our plugin were working really well on client websites, we decided to give our homebrew captcha a much needed upgrade1. So in December, I rewrote our previous loose collection of captcha and validation functions into my first jQuery plugin — adding cool new features like Russian and Profanity filters along the way.
Why rebuild what works? Since all previous versions were functions built for FormMail forms (not plugins) — we started running into compatability issues when implementing it on new sites. Some sites used one type of form; others used a different CMS. This resulted in us having different versions for different purposes, which made everything more difficult to maintain.
As you can see below, our contact form spam dropped to zero the day we implemented this captcha.
This chart represents daily spam before and after implementing this captcha.
After being implemented on our company website, this plugin went through several rewrites to add new filters, reduce alternate versions, remove jQuery, and make it more efficient. Crema Captcha v4.0 has already been deprecated, due to incompatible changes. The latest plugin is v4.3.8.
To read more about the differences between versions, please view the version history.Version History