Last updated: May 7, 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 site analytics, any form submissions that come from those sources are excluded from your form analytics by default. In your form submission settings, set whether the form submissions are also marked as spam.
To manage this setting across your forms:
-
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 are marked as spam.
- When this setting is turned off, form submissions from excluded IP addresses or referrer domains are captured as regular form submissions, but no analytics are recorded.
Please note: form submissions originating from excluded IP addresses or referrer domains are not recorded in your traffic analytics.
Mark form submissions containing gibberish 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 filter form submissions containing a random series of characters. If gibberish is detected in text fields, except Sensitive Data fields, the submission is marked as spam.
Gibberish detection is turned on by default when you opt in to the Improved AI-powered Gibberish detection for form submissions beta.
To manage this setting across your forms:
-
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.
- Once this setting is turned on, new form submissions are analyzed for gibberish.
- Existing form submissions aren't retroactively analyzed.
- Once this setting is turned on, new form submissions are analyzed for gibberish.
Manage gibberish detection for custom properties
Permissions required Edit property settings permissions are required to create or edit properties.
By default, single-line and multi-line text properties are included in gibberish detection, except for Sensitive Data properties. If you’re using custom properties in your form, you can customize whether the property is included or excluded in gibberish detection.
To manage gibberish detection for a custom property:
- In your HubSpot account, click the
settings icon in the top navigation bar. - In the left sidebar menu, under Data Management, navigate to Properties.
- Click the Select an object dropdown menu, then select [Object] properties to edit a property for that object.
- Click the name of the custom property you want to edit.
- In the left sidebar menu, click the Rules tab.
- In the Visibility options section, select or clear the Include property in Gibberish detection for form submissions checkbox.
- Once this setting is turned on, any new form submissions using this property are analyzed for gibberish.
- Existing form submissions aren't retroactively analyzed.
- In the top right, click Save.
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.