HubSpot cookies5 of 8 need consent
HubSpot sets 8 cookies we know of. 5 cookies may only be set after the visitor opts in; 3 are strictly necessary and exempt.
Reviewed · Provider: HubSpot, Inc., Help Scout PBC / HubSpot, Inc.
List of HubSpot cookies
hubspotutkMarketingConsent required13 monthsKeeps track of a visitor's identity. Passed to HubSpot on form submissions and used for contact deduplication.
__hstcAnalyticsConsent required13 monthsMain cookie for tracking visitors to a HubSpot-connected website.
__hs_opt_outNecessaryNo consent needed13 monthsStores the visitor's opt-out preference for HubSpot/Help Scout tracking.
__hs_do_not_trackNecessaryNo consent needed13 monthsStores the visitor's do-not-track preference for HubSpot analytics and chat.
__hssrcFunctionalConsent requiredSessionSet by HubSpot whenever a new session starts. Used to determine whether the visitor has restarted their browser.
__hsscAnalyticsConsent required30 minutesKeeps track of sessions for HubSpot analytics — counts page views in a session and increments the session count.
messagesUtkFunctionalConsent required13 monthsIdentifies the visitor for HubSpot's chat conversations. Links chat history to the visitor so previous messages are shown on return.
__hs_cookie_cat_prefNecessaryNo consent needed13 monthsRecords which cookie categories the visitor consented to in the HubSpot banner.
How to handle HubSpot cookies
- 1Load it only after consent
Hold the HubSpot script until the visitor accepts marketing / analytics / functional cookies. Blocking the script is what stops the cookies; hiding them in a banner does not.
- 2Make Reject work
After a visitor rejects, none of the 5 consent-requiring cookies below may be set or kept.
- 3Name every cookie in your policy
List each cookie by name with its purpose, provider (HubSpot, Inc., Help Scout PBC / HubSpot, Inc.) and lifetime.
- 4Check the result, not the settings
Open your site in a private window, reject cookies, and look at what was stored. Or run a scan and compare the three stages.
Tools that help: tracking script blocker · Consent Mode v2 generator
Other vendorsAnd the cookies they set
Does HubSpot wait for consent on your site?Scan it in 2 minutes
Free scan · every cookie before consent, after Reject and after Accept