Spam Protection Best Practices
Freeform offers a robust set of spam protection options, but it's important you understand how each feature works, and the best practices for using them. Each site can be targetted by spam differently, so the most important thing you can do is closely monitor your website daily for a few weeks at the beggining (or after making changes to spam protection approaches) to ensure everything is working correctly. Follow the steps below, and you should have a smooth operation.
If you want to get on your way as quickly as possible, please skip the info below and go straight to the express setup section.
Setup
Choosing Your Approach
Freeform offers the following measures:
You can use all or any combination of these. In many cases, using a combination of just the Freeform Honeypot and Keyword Blocking is sufficient. If you want a no-nonsense approach, you should go straight to using reCAPTCHA (specifically v3).
Typically, the most effective spam controls (in order) are:
- Captchas (e.g. reCAPTCHA or hCaptcha)
- Freeform Honeypot and Javascript Enhancement
- Be careful when using the JS enhancement setting, as it could cause issues for you when you're caching the site and/or using something like Vue.js. Be sure to check out the overview and warnings about it here.
- Freeform Honeypot
- Keyword Blocking / Email Blocking
- When attempting to block individual characters (e.g. Russian letters) or partial words or strings, be sure to make good use of the wildcard
*
character! E.g.:*й*
,*Д*
,*url=http*
, etc.
- When attempting to block individual characters (e.g. Russian letters) or partial words or strings, be sure to make good use of the wildcard
Keyword Blocking
Keyword and email blocking can oftentimes alleviate spam with patterns. For example, if you never conduct business in Russian or with Russians, you can probably block all *.ru
email addresses. If your site does not discuss blockchain
or bitcoin
, etc, you can likely block these common spam words too. Some words might work for some sites, but not for others. It'll be up to you to carefully decide on keywords. Here's a few example lists:
Block Email addresses
*.ru
*@yahoo.co.jp
yourmail@gmail.com