HubSpot Forms

HubSpot Forms

HubSpot Forms is HubSpot's embedded lead capture form tool for collecting contact information on websites. Form scripts submit visitor data directly to HubSpot CRM, creating or updating contact records. Sets cookies to identify form submitters on return visits and pre-populate known contact fields for improved conversion rates.

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, the hubspotutk value 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 __hssrc are set alongside hubspotutk as part of the tracking infrastructure that accompanies the forms.
  • Pre-population — for returning visitors whose hubspotutk matches 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.

Is HubSpot Forms GDPR compliant?

HubSpot Forms typically loads marketing and analytics trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So HubSpot Forms can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads HubSpot Forms, not on HubSpot Forms itself.

Visit website

Consent Categories

Also Known As

hubspot formshubspot lead capturehubspot form embedhubspot popupshubspot form tracking

Industries

Programming and Developer SoftwareComputers Electronics and Technology

Tracked Domains (2)

hsforms.netMarketing

hsforms.net is a marketing domain operated by HubSpot Forms, used to serve ads, build audiences, and measure ad conversions.

forms.hubspot.comMarketing

forms.hubspot.com is a marketing domain operated by HubSpot Forms, used to serve ads, build audiences, and measure ad conversions.

Frequently Asked Questions

Other HubSpot Products

HubSpot Analytics
HubSpot Analytics
HubSpot Analytics is HubSpot's built-in web analytics module tracking visitor behavior across HubSpot-managed websites and landing pages. Scripts record page views, sessions, traffic sources, and conversion events. Sets __hstc and hssc cookies to identify returning visitors and attribute user journeys across sessions for marketing reporting.
HubSpot CMS Hub
HubSpot CMS Hub
HubSpot CMS Hub is HubSpot's website content management platform for building and hosting marketing sites. Sites built on CMS Hub automatically include HubSpot's tracking infrastructure, setting cookies for visitor identification, analytics event collection, and marketing attribution across all pages served by the platform.
HubSpot Conversations
HubSpot Conversations
HubSpot Conversations is HubSpot's live chat and chatbot platform embedded on websites. The chat widget script loads asynchronously on page load, sets cookies to identify returning visitors, and captures conversation data linked to HubSpot CRM contact records for sales and support team follow-up and automated nurturing workflows.
HubSpot Email
HubSpot Email
HubSpot Email is HubSpot's email marketing module for sending and tracking campaigns. Tracking pixels embedded in outbound emails report open events and click-throughs back to HubSpot. Recipients who click through to landing pages have subsequent website sessions tracked by HubSpot's web analytics and attribution cookies.
HubSpot Marketing Hub
HubSpot Marketing Hub
HubSpot Marketing Hub is HubSpot's inbound marketing automation platform. Scripts track website visitor behavior for lead identification and nurturing, set cookies to attribute traffic sources, and enable email, social, and ad campaign automation. Visitor behavioral data feeds into HubSpot CRM contact profiles and lifecycle stage scoring.
HubSpot Operations Hub
HubSpot Operations Hub
HubSpot Operations Hub is HubSpot's data sync and process automation product for connecting CRM data with third-party systems. Primarily a server-side integration layer with minimal browser-side footprint. May contribute to the HubSpot tracking infrastructure on sites using HubSpot CMS or Marketing Hub integrations.
HubSpot Sales Hub
HubSpot Sales Hub
HubSpot Sales Hub is HubSpot's CRM and sales intelligence platform. The HubSpot tracking script identifies website visitors, monitors which pages prospects view, and surfaces activity data to sales teams. Sets cookies to recognize returning visitors and tie their browsing sessions to CRM contact records for pipeline management.
HubSpot Service Hub
HubSpot Service Hub
HubSpot Service Hub is HubSpot's customer service platform covering ticketing, knowledge base, and customer feedback tools. Tracking scripts associate support interactions and knowledge base page visits with HubSpot CRM contact records. Session cookies persist visitor identity across service touchpoints for context-aware support experiences.

Related Vendors

HubSpot Email
HubSpot Email
HubSpot Email is HubSpot's email marketing module for sending and tracking campaigns. Tracking pixels embedded in outbound emails report open events and click-throughs back to HubSpot. Recipients who click through to landing pages have subsequent website sessions tracked by HubSpot's web analytics and attribution cookies.
HubSpot Marketing Hub
HubSpot Marketing Hub
HubSpot Marketing Hub is HubSpot's inbound marketing automation platform. Scripts track website visitor behavior for lead identification and nurturing, set cookies to attribute traffic sources, and enable email, social, and ad campaign automation. Visitor behavioral data feeds into HubSpot CRM contact profiles and lifecycle stage scoring.
Salesforce Pardot
Salesforce Pardot
Salesforce Pardot (now Marketing Cloud Account Engagement) is a B2B marketing automation platform. The Pardot tracking pixel and JavaScript identify website visitors by company, monitor page visits and form submissions, and sync lead activity data back to Salesforce CRM for lead scoring and sales follow-up.
Target Roundel
Target Roundel
Target Roundel is Target's proprietary retail media advertising network serving ads on Target.com and partner publisher sites. Scripts load targeted display advertisements, track impressions, clicks, and conversions, and match audiences against Target's first-party shopper data. Sets cookies and pixels to enable retargeting and closed-loop attribution.
Braze
Braze
Customer engagement platform for mobile-first marketing automation across push, email, SMS, and in-app channels. The Braze SDK tracks user events and attributes for segmentation and campaign targeting. On web, it manages push notification permissions and fires behavioral analytics events.
Salesforce Marketing Cloud Email Studio
Salesforce Marketing Cloud Email Studio
Salesforce Marketing Cloud Email Studio is the email marketing component of Salesforce Marketing Cloud. Tracking pixels embedded in outbound emails report opens and click-throughs back to Salesforce. Landing pages associated with campaigns load additional scripts for form tracking, conversion attribution, and lead capture into the CRM.

Manage consent for HubSpot Forms

ConsentStack automatically detects and manages HubSpot Forms trackers so your site stays compliant with global privacy regulations.