Last updated: April 24, 2026
Turn on CAPTCHA in the legacy form editor
- In your HubSpot account, navigate to Marketing > Forms.
- Hover over a form and click Edit.
- In the left panel, on the Existing properties tab, click to expand the Other form elements section.
- Toggle the CAPTCHA (spam prevention) switch on.
- In the top right, click Update or Publish.
Mark form submissions from excluded traffic sources as spam
If you exclude specific IP addresses or referrer domains in your traffic analytics, you can automatically mark form submissions from these sources as spam. For example, if you’ve blocked traffic for an IP address associated with spam, any form submission that comes from that IP address will automatically be listed on your spam submissions index page. Learn more about excluding traffic from your site analytics.
To turn this setting on or off:
-
In your HubSpot account, click the settings icon in the top navigation bar.
- In the left sidebar menu, navigate to Marketing > Forms.
- Click the Submissions Settings tab.
- Toggle the Mark form submissions from excluded IP/referrers as spam switch on or off. This setting is turned on by default.
- When this setting is turned on, form submissions from excluded IP addresses or referrer domains will be marked as spam.
- When this setting is turned off, form submissions from excluded IP addresses or referrer domains will be captured as regular form submissions, but no analytics will be recorded.
Please note: all form submissions originating from excluded IP addresses or referrer domains will not be recorded in your traffic analytics.
Use gibberish detection to mark form submissions as spam
Subscription required A Marketing Hub or Content Hub Professional or Enterprise subscription is required to use gibberish detection in forms.
Please note: to access this feature, your Super Admin can opt your account into the Improved AI-powered Gibberish detection for form submissions beta.
Use AI-powered gibberish detection to identify and filter form submissions containing a random series of characters. If gibberish is detected in any text fields, except Sensitive Data fields, the submission will be marked as spam.
Gibberish detection is turned on by default when you opt into the Improved AI-powered Gibberish detection for form submissions beta. T o turn this setting off:-
In your HubSpot account, click the settings icon in the top navigation bar.
- In the left sidebar menu, navigate to Marketing > Forms.
- Click the Submissions Settings tab.
- Toggle the Gibberish detection switch on or off.
Block specific email domains or free email providers
Subscription required A Marketing Hub or Content Hub Starter, Professional, or Enterprise subscription is required to block specific email domains or free email providers.
Block specific email domains or free email providers to encourage your visitors to submit high-quality business email addresses. These settings are configured on an individual form level. Learn more about blocking email domains in your form.