Subscription Forms
Settings
CAPTCHA
Updated
Content Notify features a built-in anti-spam honeypot to help prevent spam or fake subscriptions from being created. This is implemented by way of a hidden form field at the bottom of the Content Notify subscription form which will fail the form’s validation if changed. In addition to this, you can also use a CAPTCHA service to add a dedicated CAPTCHA field to the bottom of the Content Notify subscription form. Adding a CAPTCHA field can prevent fake/spam subscribers with high levels of success.
To use a CAPTCHA field in your forms, you must add captcha="true"
to any Content Notify form shortcodes that you wish to use it on.
You must then choose your CAPTCHA service and add your site and secrets keys (see steps of how to get one, below) under Subscriptions > Settings > Security in the WordPress Admin.
Cloudflare Turnstile CAPTCHA
Cloudflare’s Turnstile CAPTCHA service requires a free Cloudflare account in order to use it. To sign-up for this, and get the required ‘site key’ for this to work, here’s what you need to do:
- Sign up for a new account or log into an existing one at Cloudflare.com.
- Add a new site using the domain name you wish to use the CAPTCHA service on. For example, on this site, I used ‘contentnotify.com’.
- Choose ‘Free’ option when asked which plan you’d like and press ‘Continue’.
- Cloudflare may do a scan of your domain at this point.
- Press the back arrow icon under the Cloudflare logo in the top left of the screen (not the browser’s back button) to return to the main Dashboard page.
- Go to ‘Turnstile’ in the left sidebar menu.
- Click ‘Add Site’.
- Type a name for your site. For example, on this site, I used ‘Content Notify’.
- Choose your domain from the list of available domains below. This was the one created in step 2.
- Choose your Widget Type. If you don’t know which one to use, leave it on ‘Managed’.
- Click ‘Create’.
- Make a note of the ‘Site Key’ and ‘Secret Key’ shown next.
- Go back to the WordPress Admin and go to Subscriptions > Settings > Security.
- Choose ‘Cloudflare Turnstile’ under the CAPTCHA Service selection box.
- Click ‘Save Changes’.
- New ‘Cloudflare Turnstile Site Key’ and ‘Cloudflare Turnstile Secret Key’ fields should show. Add in your site key and secret key from step 12.
- Choose a theme (light or dark), or leave blank for the default theme, which will use either depending on the settings inside your computer’s operating system.
- Click ‘Save Changes’, again.
CAPTCHA has now been added to any of the Content Notify form shortcodes that you added captcha="true"
to.
Google reCAPTCHA v3
Content Notify supports Google’s reCAPTCHA v3 service which, unlike v2 which requires some kind of user input, is invisible and bases the outcome of the hidden v3 CAPTCHA field on a score instead.
Content Notify does not support reCAPTCHA v2 as it is now considered outdated.
To use Google reCAPTCHA v3, you must have a Google account. Once you have a Google account, here are the steps you need to take in order to create a reCAPTCHA for your site:
- Go to https://www.google.com/recaptcha/admin/
- Click the ‘+’ (Create) icon in the top right of the screen to register a new site for reCAPTCHA.
- Type a label for your site. This can be anything you like.
- Choose ‘reCAPTCHA v3’. Content Notify does not support reCAPTCHA v2.
- Add one or more domains to the next field.
- Tick the box to ‘Accept the reCAPTCHA Terms of Service’.
- Click ‘Submit’.
- Make a note of the ‘Site Key’ and ‘Secret Key’ shown next.
- Go back to the WordPress Admin and go to Subscriptions > Settings > Security.
- Choose ‘Google reCAPTCHA v3’ under the CAPTCHA Service selection box.
- Click ‘Save Changes’.
- New ‘Google reCAPTCHA v3 Site Key’ and ‘Google reCAPTCHA v3 Secret Key’ fields should show.
- Add in your site key and secret key from step 8.
- Click ‘Save Changes’, again.
CAPTCHA has now been added to any of the Content Notify form shortcodes that you added captcha="true"
to.
hCaptcha
hCaptcha’s CAPTCHA service requires a free account in order to use it. To sign-up for this, and get the required ‘site key’ for this to work, here’s what you need to do:
- Sign-up for an ‘hCaptcha for Publishers’ account: https://www.hcaptcha.com/signup-interstitial
- Once signed-up and logged in, create a new site by going to ‘Sites’ in the top right of the main navigation.
- Click the ‘New Site’ button in the top right.
- Type a name for your sitekey. This can be anything you like.
- Add the domain name(s) you wish to use the CAPTCHA service on. For example, on this site, I used ‘contentnotify.com’.
- For ‘hCaptcha Behaviour’, choose ‘Mode: Always Challenge’. This is the only included option in the ‘hCaptcha for Publishers’ plan.
- Set the ‘Passing Threshold’ to ‘Moderate’.
- Click ‘Save’ in the top right.
- Click ‘Settings’ on your new site shown in the ‘Active Sites’ section.
- Make a note of the ‘Site Key’.
- Click the avatar icon in the top right of the main navigation and click ‘Settings’.
- Make a note of the ‘Secret Key’.
- Go back to the WordPress Admin and go to Subscriptions > Settings > Security.
- Choose ‘hCaptcha’ under the CAPTCHA Service selection box.
- Click ‘Save Changes’.
- New ‘hCaptcha Site Key’ and ‘hCaptcha Secret Key’ fields should show.
- Add in your site key from step 10 and secret key from step 12.
- Click ‘Save Changes’, again.
CAPTCHA has now been added to any of the Content Notify form shortcodes that you added captcha="true"
to.