← All posts

How to stop Salesforce Web-to-Lead spam without a captcha

Why honeypots alone don't stop Salesforce Web-to-Lead spam, and six no-captcha layers that do, including a server relay that hides your org ID.

By Ali Ajmal, Salesforce consultant at Modeverse · November 29, 2026 · 4 min read

How to stop Salesforce Web-to-Lead spam without a captcha

You can stop most Salesforce Web-to-Lead spam without a captcha by combining checks visitors never see (a hidden trap field, a minimum time to fill the form, content and email rules) with one change most guides skip: a server relay, so bots can no longer post straight into Salesforce. Add a review queue in Salesforce as a safety net, and real customers never notice any of it.

Why do I still get spam on my Web-to-Lead form?

A standard Web-to-Lead form is plain HTML. Its action points at Salesforce, and a hidden field called oid holds your org ID. Anyone who opens the page source can see both.

That means a bot does not need your page at all. It can send leads straight to Salesforce with your org ID, so anything you add to the page itself, like a hidden field or a JavaScript check, never runs. This is why many teams add a honeypot, see spam drop for a week, and then watch it come back.

Spam also costs more than clutter:

  • Salesforce accepts up to 500 Web-to-Lead submissions per org in 24 hours. Extra submissions wait in a pending queue until the limit refreshes, so a spam wave can delay real leads.
  • Spam leads get assigned to reps, trigger auto-responses and follow-up tasks, and inflate your marketing numbers.
  • Reps learn to ignore web leads, which is the worst outcome of all.

Why not just turn on reCAPTCHA?

Salesforce supports reCAPTCHA on Web-to-Lead, and for many forms it is a reasonable choice. But it has trade-offs:

  • Real visitors have to do extra work, and some give up rather than pick out traffic lights.
  • Salesforce supports reCAPTCHA v2 only, the checkbox version, not the invisible score-based v3.
  • If the reCAPTCHA keys or domain settings are wrong, real leads are rejected silently.

If your form is your main source of business, protection people never see is the friendlier option.

The six layers that stop spam without a captcha

  1. A hidden trap field (honeypot). A field hidden from people with CSS. Bots fill in every field, so any submission with a value there is dropped quietly.
  2. A minimum time to fill the form. Nobody types a name, email and message in under two or three seconds. Submissions faster than that are held. A real visitor who happens to be quick sees a short message and presses send again, which is what we do on our own contact form.
  3. Content rules. Block web links in first and last name fields, obvious gibberish, repeated submissions from the same address in a short time, and words you choose. Links in a name field are the single most common sign of a bot.
  4. Email checks. Reject throwaway email domains and domains that cannot receive email, with a friendly message, so a real person can fix a typo instead of being rejected.
  5. A server relay. This is the layer that makes the others work. Instead of posting to Salesforce, the form posts to your own website. Your server runs all the checks, then sends only clean submissions on to Salesforce. Your org ID is no longer in the page source, so bots cannot skip your checks.
  6. A safety net in Salesforce. A small Flow or assignment rule sends anything that still looks suspicious to a "Spam review" queue instead of a sales rep. Nothing is deleted automatically, so a real lead caught by mistake is never lost.

How does a server relay work on WordPress or a static site?

On WordPress, the relay is a small endpoint in a custom plugin or your theme: the form posts to your site, the code checks the submission and forwards it to Salesforce. On static or headless sites, a small serverless function does the same job.

The relay can forward to Web-to-Lead as before, or create the lead through the Salesforce API instead. Using the API removes the Web-to-Lead daily limit, but needs an API-enabled edition and an integration user. The relay can also log every submission, so a lead Salesforce rejects is never lost, which fixes the silent failures we describe in Salesforce Web-to-Lead not working?

How do I check my current form?

Paste your form HTML into our free Web-to-Lead form checker. It shows whether you have any spam protection, whether debug mode is still on, whether the org ID and custom field IDs look right, and which fields Salesforce will ignore.

Then look at the last month of web leads in Salesforce. If more than a handful have links in the name, nonsense company names or the same email over and over, the form needs protection.

Summary

Honeypots and timing checks help, but on their own they only stop bots that use your page. Bots that post straight to Salesforce skip them. A server relay closes that gap, and a review queue in Salesforce catches what is left, all without asking real customers to solve a puzzle.

Want it done for you? Our Web-to-Lead spam protection package sets up all six layers for $149 per form, tested in a sandbox, with a two-week report on what was blocked.

Want us to look at your setup?

Book a free 30-minute call. We will look at your Salesforce or CRM and tell you honestly what we would change first.