Skip to content
Sign up

Honeypot and CAPTCHA

Add a hidden trap field or a CAPTCHA provider to a form, and choose what happens when a bot trips it.

Catch bots before they reach the inbox with a hidden trap field (a honeypot), a CAPTCHA, or both. Atomicity doesn’t render your form, so both work the same way: you add something to the form’s markup, and Atomicity checks it on every post.

Both are set per form, under Settings → Spam.

Add a honeypot field

A honeypot is a field people never see. A bot that fills in every field fills it in too.

  1. Choose a field name

    Under Hidden trap field (honeypot), enter a Field name and select Save field name. Pick a name that looks like a real field, so bots take it for one, such as website or company. The settings suggest names this form doesn’t already receive.

    Use a name your form doesn’t have and won’t add later, or a real visitor could be caught as a bot.

  2. Add the field to your form

    Paste the field inside your <form> tag. Keep it off-screen, out of the tab order, and away from autofill:

    <div style="position: absolute; left: -9999px" aria-hidden="true">
      <input type="text" name="website" tabindex="-1" autocomplete="off" />
    </div>

    Don’t use type="hidden". Bots skip hidden inputs, so the trap would never be filled.

  3. Choose what a filled trap does

    Under When it’s filled in, pick one:

    • Add to the spam score: adds 60 points; other signals still count. This is the default.
    • Send straight to Spam: holds the submission as spam, whatever else it scores.
    • Discard without saving: drops the submission. It isn’t saved, counted, or sent. The sender still sees the normal success page, so a bot isn’t told it was caught. A submission dropped by mistake can’t be recovered.

Fields named _gotcha and _honeypot are always checked, on every form, without any setup. Once you’ve saved a field name, trap fields are removed from the submission, so they don’t appear in the inbox, emails, or webhooks.

Add a CAPTCHA

Your site embeds the provider’s widget, and Atomicity checks the token it adds to the post using your own secret key from the provider.

Provider Notes
Cloudflare Turnstile Free, usually invisible.
reCAPTCHA v2 Google’s checkbox.
reCAPTCHA v3 Google’s invisible score. You set a minimum score.
hCaptcha Privacy-minded checkbox. The site key is optional.
Friendly Captcha Invisible proof of work, EU-hosted. The site key is required.
  1. Set up the widget

    Create a widget in the provider’s dashboard for your client’s domain, and add it to the form on the site, following the provider’s instructions. The widget adds its token to the post as a field; leave its name as the provider sets it.

  2. Connect the provider

    Under the CAPTCHA settings, pick the provider and paste your Secret key. For Friendly Captcha, and optionally for hCaptcha, also paste Your site key: the public key on your widget.

    For reCAPTCHA v3, set the Minimum score, a whole number from 1 to 100. The default is 50. Scores below it count as failed.

  3. Choose what a failed CAPTCHA does

    Under When it fails, pick one:

    • Hold in Spam: a failed or missing CAPTCHA holds the post in Spam, where you can recover it. A post is never lost.
    • Reject the post: a failed or missing CAPTCHA is refused with an error your site can show: “The CAPTCHA wasn’t solved. Reload the page and try again.” The post isn’t saved or counted.
  4. Test it

    Submit the form from the site. The submission’s Why it scored this shows whether the CAPTCHA passed.

The token is removed from the submission, so it never appears in the inbox, emails, or webhooks. If the provider can’t be reached within a few seconds, the post goes on to the other spam checks, and the submission notes the CAPTCHA couldn’t be checked.

To remove a CAPTCHA, remove it in the same settings. Posts are then scored by the other spam checks only.

Type to search…

↑↓ navigate↵ selectEsc close