How to protect the form with Cloudflare Turnstile

  • Contact form & privacy
  • Updated

Turnstile is Cloudflare’s free check that tells people from bots. It is an alternative to Google reCAPTCHA v3 for your calculators’ email forms: most visitors never see it, and it doesn’t need Google. Each calculator uses one or the other.

Get your keys

  1. Sign in to the Cloudflare dashboard (a free account is enough) and open Turnstile.
  2. Click Add widget. Give it a name, add your site’s domain (for example example.com) and keep the widget mode Managed.
  3. Click Create and copy the Site Key and the Secret Key.

Add them to the plugin

  1. In WordPress, go to Calorie Calc Pro → Settings and open the Integrations tab.
  2. In the Cloudflare Turnstile section, paste the Site Key and the Secret Key.
  3. Click Save all.

Turn it on for a calculator

  1. Go to Calorie Calc Pro → All Calculators and open the calculator.
  2. Open the Integrations tab and tick Enable Cloudflare Turnstile. If the calculator used Google reCAPTCHA, that turns off.
  3. Click Save Changes.

Turnstile protects calculators with a form: Send to Email and Instant View with Email request.

What visitors see

Usually nothing. When a visitor starts on the form, Turnstile checks the browser in the background, and the button sends the form as soon as the check is done. Only when Cloudflare is unsure does a small “Verify you are human” box appear above the button; one click and the form goes on.

Before anything is saved or sent, your server confirms the check with Cloudflare. A form that fails it gets the message “There was an error processing the form, please try again.” You can change that text under Calorie Calc Pro → Settings → Labels customization (Cloudflare Turnstile error).

Good to know

  • Cloudflare’s script loads only on pages with a calculator that uses Turnstile.
  • Add Cloudflare Turnstile to your privacy policy: the plugin’s suggested text under Settings → Privacy mentions it.
  • Turnstile works for calculators added with the shortcode or the WordPress block. The Elementor widget keeps reCAPTCHA for now.

More calculators from us