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.

Visit website

Consent Categories

Marketing
Analytics

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
forms.hubspot.comMarketing

Frequently 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

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 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

Google
Google
Google is the dominant provider of web analytics, advertising, and infrastructure tools. Scripts like Google Analytics, Tag Manager, Ads, and reCAPTCHA collect behavioral data, manage tag firing, serve targeted ads, and detect bots. Sets persistent cookies to track users and correlate activity across sites.
Google Ads
Google Ads
Google Ads is Google's advertising platform for search, display, and remarketing campaigns. Conversion tracking scripts fire on advertiser landing pages to measure actions taken after ad clicks. The remarketing tag builds audience lists for retargeting users across Google's ad network.
Microsoft Advertising UET Tag
Microsoft Advertising UET Tag
Microsoft Advertising UET Tag is the Universal Event Tracking pixel for Microsoft's ad platform, formerly Bing Ads. The JavaScript tag fires on advertiser websites to track page views, conversions, and custom events for campaign optimization. Sets cookies to identify visitors across sessions and attribute conversions to Microsoft Search and Audience Network ad clicks.
Microsoft Dynamics 365
Microsoft Dynamics 365
Microsoft Dynamics 365 is a suite of CRM and ERP applications that integrates with websites through tracking scripts and embedded forms. Web tracking code captures visitor behavior, page views, and form submissions to build customer profiles and score leads. Sets cookies to identify returning visitors and attribute marketing touchpoints across sessions.
Microsoft
Microsoft
Runs Clarity (session recording and heatmaps), the Microsoft Advertising UET tag (conversion tracking), and Bing's remarketing pixel. Clarity injects a recording script that captures mouse movements, clicks, and rage clicks. The UET tag fires conversion events to tie ad clicks to on-site actions across Microsoft's ad network.
LinkedIn Insight Tag
LinkedIn Insight Tag
LinkedIn Insight Tag is a JavaScript tracking pixel for LinkedIn's advertising and analytics platform. The tag fires on every page view to collect URL, referrer, IP address, and device data for conversion tracking, website demographics reporting, and retargeting audience building. Sets cookies to identify LinkedIn members across advertiser websites.

Manage consent for HubSpot Forms

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