Looking to protect sign-up, login and contact forms on your Craft CMS site? Instantly safeguard your site against bots and spam with our sleek, easy-to-use and fully GDPR-compliant Captcha.eu plugin – without compromising on user experience. Get the Craft CMS captcha plugin now!
How to add captcha to your Craft CMS site
Enjoy maximum protection against unwanted bots and spam with the captcha.eu plugin for Craft CMS sites: Easily integrated, ready to use and fully GDPR-compliant, our sleek and powerful captcha solution will instantly add an extra layer of security to your sign-up, login and contact forms – including Formie. Here’s how to set up the Captcha.eu plugin for your Craft CMS site in a few simple steps:
1
Install the plugin either via the plugin store or via composer:
composer require captcha-eu/craftcms
./craft plugin/install captcha-eu
2
Next, you need to create a captcha.eu account. Log in and go to “domains” in the Dashboard to add a new domain. This will generate a Rest Key and Public Key, which you will need for the Step 3 of the installation process.
3
In Craft CMS, go to /admin/settings/plugins/captcha-eu to configure the captcha.eu plugin. Copy and paste the Rest Key and Public Key from your captcha.eu account into the corresponding field. Important: In staging environments, we strictly recommend using environment variables to configure each value.
4
In the HMTL site template, make sure to include the following in your <form> tag:
{{ craft.captchaEU.intercept() }}
That’s it! Your Captcha.eu plugin is all set up and ready to use on all types of login and contact forms across your site. Got any questions or issues setting up the plugin? Then head straight to our detailed documentation for more guidance. Alternatively, our support team is right at hand to help you get set-up: Just get in touch via our contact form!
The Captcha.eu plugin also supports Formie out of the box – and is the ultimate user-friendly solution for protecting your forms against bots and spam.
To enable it, simply go to to /admin/formie/settings/captchas#tab-FormieCaptchaEU and add both the Rest Key and Public Key from your captcha.eu account. Just like any other captcha used in Formie, you can fine-tune the configuration in the “integration” settings directly in Formie.
Whether you’re looking to protect one or multiple domains, the captcha.eu plugin offers you everything you need to keep your login and contact forms spam free. Customizable, ready to use and fully compliant with EU data protection rules and regulations, our sleek and powerful add-on will ensure maximum protection across your Craft CMS sites while putting user experience first – no more puzzle-solving required!