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.

Overview

HubSpot CMS Hub is HubSpot's website content management system that hosts and serves marketing websites, landing pages, and blogs. Because it is the underlying platform, any site built on CMS Hub automatically includes HubSpot's tracking infrastructure as part of the page rendering pipeline. This means the analytics and visitor identification scripts are deeply integrated into the platform rather than being optional add-ons.

What This Script Does

Sites built on CMS Hub load the HubSpot tracking code (hs-scripts or the hubspot.com tracking pixel) as part of the standard page template. This tracking infrastructure sets several cookies:

  • __hstc — the main HubSpot tracking cookie, a first-party cookie that stores the visitor's unique ID, first visit timestamp, previous visit timestamp, current visit timestamp, and session count. Expires after 13 months (previously 2 years, updated for compliance).
  • hubspotutk — stores the visitor's identity token used to recognize the visitor across the HubSpot platform. Also set for 13 months. This value is included when form submissions are sent to HubSpot, linking the form fill to the visitor's browsing history.
  • __hssc — session cookie tracking the current session and pageview count within that session. Expires after 30 minutes of inactivity.
  • __hssrc — used to determine if the visitor has restarted their browser, helping HubSpot distinguish between new sessions. Session-scoped.
  • messagesUtk — set when visitors interact with HubSpot's chat widget, linking the chat conversation to the visitor's contact record. Expires after 13 months.

The tracking script contacts js.hs-scripts.com, js.hscollectedforms.net, and js.hs-analytics.net to load additional modules. Collected data includes page URLs, referral sources, UTM parameters, visitor device information, and interaction events. All data flows into HubSpot's analytics dashboards and CRM contact records.

Beyond tracking, CMS Hub also serves essential platform functions: page rendering, template loading, SSL termination, and CDN delivery. These functions operate independently of the tracking cookies.

Consent & Compliance

CMS Hub occupies a dual essential and analytics classification. The page serving, CDN, and rendering functions are essential — without them the website does not load. However, the HubSpot tracking cookies (__hstc, hubspotutk, __hssc, __hssrc) are analytics cookies that track visitor behavior for marketing purposes and require consent.

Under GDPR, the tracking cookies require consent under Article 6(1)(a) because visitor behavioral profiling and CRM identity linking go well beyond what is necessary to display a web page. The ePrivacy Directive mandates consent for all cookies that are not strictly necessary for the service requested by the user — analytics tracking cookies do not qualify for the exemption.

Under CCPA/CPRA, the behavioral data collected through HubSpot's tracking scripts constitutes personal information. Businesses must disclose this collection and provide opt-out mechanisms, particularly since the data feeds into marketing automation and CRM profiling.

HubSpot provides a built-in cookie consent banner and a documented method for conditionally loading tracking scripts based on consent. Site operators should configure their CMS Hub implementation to defer tracking cookie placement until consent is granted while allowing the essential page rendering to proceed.

Should You Block This Without Consent?

Conditional. The essential CMS functions (page rendering, hosting, CDN) must not be blocked. However, the HubSpot analytics tracking scripts (__hstc, hubspotutk, and related cookies) must be blocked until the visitor consents to analytics tracking. Configure your consent management to allow the platform to render pages while gating the tracking code initialization.

Visit website

Consent Categories

Essential
Analytics

Also Known As

hubspot cmshubspot websitehubspot hostingcms hubhubspot content management

Industries

Programming and Developer SoftwareComputers Electronics and Technology

Frequently Asked Questions

Does HubSpot CMS Hub require cookie consent?

Conditionally. CMS Hub serves a dual role. The essential hosting, CDN, and page rendering functions do not require consent and must not be blocked. However, the HubSpot analytics tracking cookies (__hstc, hubspotutk, __hssc, __hssrc) require analytics consent before being placed on visitor browsers.

What cookies does HubSpot CMS Hub set?

CMS Hub sets __hstc (visitor ID, first/last/current visit timestamps, session count — 13-month expiry), hubspotutk (visitor identity token — 13-month expiry), __hssc (session pageview count — 30 minutes), __hssrc (browser restart detection — session), and messagesUtk when chat is active. Scripts load from js.hs-scripts.com.

How does ConsentStack handle HubSpot CMS Hub?

ConsentStack gives CMS Hub split treatment: essential platform functions are allowed without consent, while analytics tracking scripts are blocked until the visitor consents. ConsentStack detects the HubSpot tracking code served through CMS Hub and gates cookie placement on analytics consent using HubSpot's documented consent API.

Other HubSpot Products

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

Firebase
Firebase
Firebase is Google's mobile and web application development platform offering authentication, real-time database, cloud functions, and analytics. Web SDK scripts initialize Firebase services and may track app events via Firebase Analytics, which is powered by Google Analytics 4. Widely used in single-page apps and PWAs for backend infrastructure and usage tracking.
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 Tag Manager
Google Tag Manager
Google Tag Manager is a tag management system that lets marketers deploy and update analytics and marketing scripts without code changes. The GTM container script loads synchronously in the page head and injects configured tags, triggers, and variables on behalf of other vendors. No data collection of its own — acts as a loader for other scripts.
Google Fonts
Google Fonts
Google Fonts is a free font hosting service that serves hundreds of typeface families via a global CDN. Stylesheets and font files load from fonts.googleapis.com and fonts.gstatic.com to deliver web fonts to visitors. No advertising or tracking functionality is included.
reCAPTCHA
reCAPTCHA
Google reCAPTCHA is a bot detection and spam prevention service protecting web forms, login pages, and checkout flows. Scripts analyze user behavior, mouse movements, and browser fingerprints to distinguish humans from bots. The invisible reCAPTCHA v3 scores interactions without requiring user challenges.
Sign in with Google
Sign in with Google
Sign in with Google is an OAuth-based authentication service that enables users to log into websites using their Google account credentials. Scripts load the Google Identity Services library, display sign-in buttons, and handle token exchange for secure authentication. Stores session tokens and authentication cookies to maintain login state across page visits.

Manage consent for HubSpot CMS Hub

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