Use non-HubSpot forms
Last updated: January 17, 2023
Applies to:
All products and plans |
Non-HubSpot forms are HTML forms on your external site that weren't created in HubSpot. When you install the HubSpot tracking code on your external page or use the HubSpot WordPress plugin, submissions to non-HubSpot forms will be collected in HubSpot.
For form submissions to be collected in HubSpot, your form must:
- be a static HTML form.
- be wrapped in HTML <form> tags.
- not be in an <iframe>.
- have an email input field.
If your form isn't capturing submissions, learn more about common issues with non-HubSpot forms.
Before you get started
When using non-HubSpot forms, do take note of the following:
- Non-HubSpot form submissions are collected whenever a visitor clicks the submit button. If there is validation on the external form, this can lead to multiple partial submissions. For example, if a visitor attempts submits the form without filling a required field, they would need to enter the required information and submit again. In HubSpot, both submissions would be collected, one partial and one complete.
- The non-HubSpot forms tool is dependent on the tracking code. HubSpot can only collect form submissions if the tracking code loads successfully. For example, if there are JavaScript conflicts on the page or a visitor's browser security extension blocking scripts, the form submission will not be collected.
- When using non-HubSpot forms, all submissions associated with the same cookie will be added to the same contact record. For example, if a visitor submits a specific form multiple times with the same device and browser, all submissions will be attributed to a single contact, even if each submission uses a different email address.
Because these behaviors are due to external factors, HubSpot cannot prevent them. Alternatively, you can consider working with a developer to connect your non-HubSpot forms directly using HubSpot's Submit data to a form API or an existing form integration.
Manage your non-HubSpot forms settings
Use the non-HubSpot forms tool to start collecting submissions on your website as soon as submissions occur. The tool is able to identify your website's external forms based on the <form>
tag in the HTML code. The form submission data is stored in localStorage and then pushed back into HubSpot to either create a new contact or update
Please note: each time the submit button is clicked on your non-HubSpot form it will trigger a form submission in HubSpot. This includes instances where a user has not filled out all required fields and clicks the submit button, HubSpot will record this action as a form submission.
To enable or disable the collection of information from non-HubSpot forms on your pages:
- In your HubSpot account, click the settings settings icon in the main navigation bar.
- In the left sidebar menu, navigate to Marketing > Forms.
- Click the Non-HubSpot Forms tab.
- Click to toggle the Collect data from website forms switch on/off to enable/disable non-HubSpot forms.
- To send email notifications on non-HubSpot form submissions, enter the email addresses of existing HubSpot users in the Send email notifications for collected forms submissions to field.
- If you have access to marketing contacts, click to toggle the Set new contacts created through non-HubSpot forms as marketing contacts switch on/off to set the default marketing status of these created contacts as marketing/non-marketing.
Mapping non-HubSpot form fields and HubSpot properties
All data submitted to non-HubSpot form fields will only match to single-line text field type properties in HubSpot. Non-HubSpot form fields cannot match with other field types.
If a corresponding single-line text field type property cannot be detected, the data submitted won't be stored on the contact record. The details submitted for that form field will still be available in the form submission data.
You can create form fields or labels to match HubSpot default properties or create a custom contact property to match the name or label of your form field. However, non-HubSpot form fields cannot be manually mapped. HubSpot will automatically try to map form fields to existing contact properties in HubSpot using logic in the following order:
- field name with contact property internal name
- field label with contact property name
- field label with contact property internal name
- field name with contact property name
Manage your non-HubSpot forms
- In your HubSpot account, navigate to Marketing > Lead Capture > Forms.
- In the upper left, click the Form type
dropdown menu and select Non-HubSpot. -
Hover over a non-HubSpot form and click the Actions dropdown menu to:
-
Rename: rename the form.
-
View Information: view the URL of the most recent page where a submission was collected for this form and the date of the first submission. Click Advanced information to show the selector for this form.
-
Edit email notifications: edit the form submission notification addresses.
-
Move: move the form into a folder.
-
Convert to HubSpot Form: convert the form into a HubSpot form.
-
Delete Form: remove the form from the forms dashboard. As non-HubSpot forms are not hosted on HubSpot, this will not delete the actual, live form on your external site.
-
Related content
-
Send follow-up emails after form submissions
You can automate lead nurturing by adding follow-up emails to your HubSpot forms. With any HubSpot account,...
Knowledge Base -
Troubleshoot HubSpot forms
HubSpot forms allow you to gather important information about your visitors and contacts in HubSpot. If...
Knowledge Base -
Create forms
Use forms to gather important information about your visitors and contacts. In HubSpot, you can easily create...
Knowledge Base