×

Understanding HubSpot Cookies

Understanding HubSpot Cookies in Your Visitors’ Browsers

When you use HubSpot on your website, the platform sets a variety of cookies in each visitor’s browser to enable analytics, messaging, security, and personalization. Knowing what these cookies do helps you stay compliant with privacy laws and build transparent trust with your audience.

This guide explains which cookies may be set, how they work, and how you can manage consent and configuration in your own portal.

How HubSpot Cookies Work

HubSpot cookies are small text files stored in a visitor’s browser. They help identify sessions, remember preferences, and track interactions across pages, forms, and tools within your account.

Most of these cookies fall into categories such as:

  • Analytics and reporting
  • Chat and conversations
  • Security and authentication
  • Content delivery and personalization
  • Consent and privacy management

The exact cookies used will depend on which HubSpot features you have enabled, such as the tracking code, live chat, or payments tools.

Core HubSpot Analytics and Tracking Cookies

The primary analytics cookies are set by the tracking code you install on your website. These enable reporting on traffic, sessions, and engagement.

Key HubSpot Identification Cookies

  • hubspotutk: Stores a unique visitor identifier used to deduplicate contacts when they submit forms and to associate analytics data with a specific browser.
  • __hstc: The main tracking cookie for visitors. It contains timestamps for first visit, last visit, current visit, and a session number.
  • __hssc: Tracks whether the session number and timestamps in the main tracking cookie need to be updated. Helps determine when a new session begins.
  • __hssrc: Set when the session changes to determine if a visitor has restarted their browser. If this cookie is missing, the session is considered a new session.

These cookies are essential for the standard analytics reports you see in your HubSpot dashboard.

HubSpot Cookies for the Tracking Code Script

In addition to identification cookies, the tracking code may set technical cookies required to load resources or manage script behavior. These typically handle:

  • Performance of the tracking script
  • Prevention of duplicate script loading
  • Stability and reliability across pages

They do not usually store personally identifiable information on their own but support the overall analytics system.

HubSpot Cookies for Chat and Conversations

If you use the conversations inbox or live chat, additional cookies will be set to support messaging, routing, and visitor experience.

Visitor and Session Cookies for HubSpot Chat

  • messagesUtk: Identifies a visitor who uses the chat tool. It allows past conversations to be associated with the same browser and helps your team see conversation history.
  • Session-related cookies: Manage the state of the chat widget, such as whether a chat is open, minimized, or closed on a page.

These cookies enable seamless conversations even as visitors navigate between different pages on your site.

HubSpot Cookies for Targeting Chatflows

Chatflows and pop-up messages in HubSpot often rely on cookies to determine when and where to display specific chats. Cookies may be used to:

  • Trigger chatflows only on certain pages
  • Show or hide messages based on returning visitor status
  • Limit how often a pop-up or chat prompt appears

This ensures a smoother experience without repeatedly spamming the same visitor.

HubSpot Cookies for Forms and Lead Capture

When visitors submit forms powered by HubSpot, cookies are used to connect form submissions with existing analytics data and contact records.

How HubSpot Cookies Support Forms

  • Link form submissions to previous page views through the unique visitor ID.
  • Help deduplicate contacts that submit multiple forms from the same browser.
  • Improve attribution reporting by connecting conversions to prior sessions.

Without these cookies, your reporting on leads, sessions, and conversion paths would be much less accurate.

HubSpot Security and Authentication Cookies

Some cookies are created when users log in to the HubSpot app or when advanced tools such as payments and content membership are enabled.

HubSpot Cookies for Logged-in Users

When you sign in to the HubSpot interface, the system uses cookies to maintain your authenticated session. These cookies help:

  • Verify your identity between requests
  • Protect accounts from unauthorized access
  • Manage multi-factor authentication flows

These cookies are critical to platform security and are generally not used for marketing or analytics outside the app environment.

HubSpot Cookies for Payments and Membership

If you use HubSpot payments tools or gated content with membership features, additional cookies may appear. They can:

  • Remember logged-in membership status
  • Support secure payment flows
  • Maintain continuity between checkout steps

Because these cookies may touch sensitive workflows, they are carefully scoped for security and compliance.

HubSpot Cookies for Consent and Compliance

Privacy laws such as GDPR, ePrivacy, and similar regulations require transparency and consent for many types of cookies. HubSpot provides built-in tools to help you manage this.

HubSpot Cookies for Consent Banners

When you enable the HubSpot cookie banner, the system sets cookies to remember each visitor’s choices. These typically store:

  • Whether the visitor accepted or declined tracking cookies
  • The date and time of consent
  • Which categories of cookies were approved, where applicable

This prevents the banner from appearing on every page load and helps you honor user preferences across sessions.

Managing Consent Settings in HubSpot

You can control cookie consent behavior directly in your account. To manage this:

  1. Sign in to your portal and navigate to your settings.
  2. Locate the privacy or cookie policy settings associated with your domain.
  3. Configure when to display a banner and which types of cookies require opt-in.
  4. Customize banner text and links to your privacy policy.
  5. Publish the updated banner and test it on your live site.

Always review your configuration with your legal or compliance team to align HubSpot cookie usage with local regulations.

How to Review the Exact HubSpot Cookies in Use

The cookies present on your own site depend on which features you have turned on. To see the exact list and technical details maintained by the platform, you should reference the official documentation.

You can review the full, current catalog of cookies, including names, purposes, and expiration times, directly in HubSpot’s knowledge base at this official cookie reference. That page is continuously updated as new tools and regulations evolve.

Best Practices for Using HubSpot Cookies Responsibly

To balance data-driven marketing with user privacy, follow these practical steps:

  • Audit which HubSpot tools you have enabled and identify their associated cookies.
  • Document purposes for each category: analytics, chat, security, preference, and consent.
  • Enable a clear cookie banner if required in your region.
  • Provide an accessible privacy and cookie policy that references HubSpot technologies.
  • Review retention periods and minimize data collection to what you truly need.

Pair the platform’s functionality with an honest explanation of how you use tracking data so visitors can make informed choices.

Implementing HubSpot Cookies on Your Site

If you are planning or refining an implementation, a structured approach will help you keep control over cookies from the start.

Step-by-Step HubSpot Implementation Checklist

  1. Install the tracking code on all relevant pages and verify that core cookies such as hubspotutk and __hstc are present.
  2. Decide which conversation, form, and membership tools you require so only necessary HubSpot cookies are set.
  3. Configure cookie consent banners and test acceptance and rejection flows.
  4. Review reports to ensure analytics and chat tools work while respecting consent preferences.
  5. Document your deployment for future audits and updates.

If you need strategic support, you can consult a specialized partner like Consultevo to align your HubSpot setup with both marketing goals and compliance requirements.

Keeping Your HubSpot Cookie Knowledge Up to Date

Because tools and regulations change over time, review your configuration regularly and monitor the official documentation for any updates to cookie behavior. This ensures you continue to use HubSpot effectively while maintaining trust and legal compliance across your digital properties.

By understanding what each cookie does and how it supports analytics, messaging, security, and consent, you can confidently deploy HubSpot on your website and provide clear, accurate information to your visitors.

Need Help With Hubspot?

If you want expert help building, automating, or scaling your Hubspot , work with ConsultEvo, a team who has a decade of Hubspot experience.

Scale Hubspot

“`

Verified by MonsterInsights