Overview
HubSpot Forms is HubSpot's embedded lead capture tool for collecting contact information through forms placed on any website. Form submissions feed directly into HubSpot CRM, creating or updating contact records and triggering marketing automation workflows. The forms infrastructure also includes non-HubSpot form tracking, which monitors and captures submissions from native HTML forms that are not built with HubSpot.
What This Script Does
HubSpot Forms deploys scripts that handle form rendering, submission processing, and visitor identification:
- Form embed script — loaded from
js.hsforms.net, this script renders HubSpot-designed forms on the page, handling validation, multi-step form logic, progressive profiling (showing different fields to known vs. unknown contacts), and dependent field logic. - Collected forms script — loaded from
js.hscollectedforms.net, this script monitors all form submissions on the page, including forms not built with HubSpot. When a visitor submits any form containing an email field, the script captures the submission and sends it to HubSpot, creating a contact record. This behavior is opt-in at the HubSpot account level but is enabled by default for many accounts. hubspotutk— the visitor identity cookie is critical to Forms' operation. When a form is submitted, thehubspotutkvalue is included in the submission payload, linking the form fill to the visitor's entire browsing history. This retroactively associates all previous anonymous page views with the now-identified contact.- Standard HubSpot cookies —
__hstc,__hssc, and__hssrcare set alongsidehubspotutkas part of the tracking infrastructure that accompanies the forms. - Pre-population — for returning visitors whose
hubspotutkmatches a known contact, form fields may be pre-populated with previously submitted values, showing the visitor's name and email already filled in.
Data collected through forms is transmitted to forms.hubspot.com or forms.hsforms.com. Smart forms may also load additional scripts for A/B testing different form variants.
Consent & Compliance
HubSpot Forms is classified under marketing and analytics. While form submission itself is a user-initiated action, the surrounding tracking infrastructure serves marketing purposes. The hubspotutk cookie that retroactively links anonymous browsing history to identified contacts is a marketing profiling mechanism. The collected forms feature that monitors non-HubSpot form submissions without the visitor's awareness raises additional consent concerns.
Under GDPR, the form submission data processing can be justified under Article 6(1)(a) (consent given through the form submission) or Article 6(1)(b) (pre-contractual measures). However, the tracking cookies set before the visitor interacts with any form, and the retroactive linking of browsing history to the contact record, constitute additional processing that requires separate consent under Article 6(1)(a).
The ePrivacy Directive requires consent for the hubspotutk and __hstc cookies, which are set on page load regardless of whether the visitor submits a form. These persistent tracking cookies are not strictly necessary for the form submission functionality.
Under CCPA/CPRA, the combination of form submission data, browsing history, and contact profiling constitutes personal information that must be disclosed. The collected forms feature that captures submissions from non-HubSpot forms requires particular attention in privacy disclosures.
Should You Block This Without Consent?
Yes. While the form submission itself is user-initiated, the HubSpot Forms infrastructure sets marketing tracking cookies on page load and retroactively links browsing history to contacts upon form submission. The collected forms feature adds passive monitoring of all form submissions on the page. Block the HubSpot Forms scripts until the visitor consents to marketing cookies. If you need forms to work without consent, use native HTML forms that do not depend on the HubSpot tracking infrastructure.
Consent Categories
Also Known As
Industries
Tracked Domains (2)
hsforms.netMarketingforms.hubspot.comMarketingFrequently Asked Questions
Do I need consent to use HubSpot Forms?
Yes. HubSpot Forms sets marketing tracking cookies on page load before any form interaction, including hubspotutk and __hstc. The collected forms feature can also passively monitor non-HubSpot forms on the page. These activities require consent under GDPR and ePrivacy. HubSpot Forms is classified as marketing and analytics.
What does HubSpot Forms track?
HubSpot Forms scripts load from js.hsforms.net and js.hscollectedforms.net, setting hubspotutk and __hstc cookies (13-month expiry). On form submission, the visitor's anonymous browsing history is retroactively linked to their CRM contact. The collected forms script can also capture submissions from native HTML forms containing email fields.
How does ConsentStack manage HubSpot Forms consent?
ConsentStack detects HubSpot Forms by its script domains including js.hsforms.net and js.hscollectedforms.net. It classifies the vendor as marketing and blocks all form tracking scripts until the visitor consents. ConsentStack prevents the retroactive browsing history linkage and passive form monitoring until explicit opt-in is granted.
Other HubSpot Products
Related Vendors
Manage consent for HubSpot Forms
ConsentStack automatically detects and manages HubSpot Forms trackers so your site stays compliant with global privacy regulations.