Anti-Spam by CleanTalk is a cloud spam protection. Spam protection works invisible for visitors, and they do not need to prove that they are not bots.
Cloud capabilities allow you to view all processed requests in the anti-spam log and control the operation of the service.
Additional features of personal lists expand your options for protecting the site.
At the moment, protection is implemented only for spam protection for the Contact Form plugin. https://plugins.craftcms.com/contact-form
If you need to protect another types of forms, please, look at the Cloud Gray Pty Ltd solution, that let you use the CleanTalk service: https://plugins.craftcms.com/cleantalk?craft4
- Craft CMS 3.0.0 or later
- CleanTalk account https://cleantalk.org/register?product=anti-spam
To install the plugin, follow these instructions.
composer require cleantalk/craft-antispam
craft plugin/install craft-antispam
If you have your own custom forms, then to check the data from these forms for spam, you need to replace "YOUR_FORM_FIELD" in the file "cleantalk/craft-antispam/src/CraftAntispam.php " to the name of your fields "email" and "message" in the form
$params['email'] = $entry->YOUR_FORM_FIELD;
$params['message'] = $entry->YOUR_FORM_FIELD;
To configure the plugin, just add the api-key to the plugin's setting located at /admin/settings/plugins/craft-antispam