Analytics from HubSpot
HubSpot tracking code and website tracking lawsuits
What Suitcast knows about HubSpot tracking code
Medium risk
- Type
- Analytics
- Complaints naming it, 12 months
- 2
Requests the scanner matches to it
- js.hs-scripts.com
- js.hs-analytics.net
- track.hubspot.com
- js.hsadspixel.net
- js.hs-banner.com
- js.usemessages.com
- js.hscollectedforms.net
- .hs-scripts.com
- .hs-analytics.net
- .hubspot.com
- .hsadspixel.net
- .usemessages.com
- .hscollectedforms.net
The short answer
HubSpot tracking code is an analytics script from HubSpot. Suitcast rates its risk under the California Invasion of Privacy Act, CIPA, as medium, because complaints describe scripts like it recording visitors before they consent. It is named in 2 verified complaints in the last 12 months. The fix is to load it only after a visitor accepts, or to remove it when it is not used.
Why complaints name it
Complaints describe it as building a profile of a visitor's page views and form entries before the visitor agreed.
The act allows $5,000 per violation, which is why firms look for scripts that run the moment a page opens.
The fix
How to stop HubSpot tracking code firing before consent
In HubSpot, go to Settings, then Privacy & Consent, and turn on the cookie consent banner or connect HubSpot to the banner you already use so tracking waits for an accept.
If you no longer use HubSpot, remove the code.
How the scan checks this
- Loads your pages like a first visit. A real browser, nothing clicked, nothing accepted.
- Checks every request before the banner is answered. A request to js.hs-scripts.com is matched to HubSpot tracking code and recorded with the millisecond it fired.
- Clicks reject and watches again. When the banner has a reject button, the scan presses it; if HubSpot tracking code keeps firing, the report says so.
Scanner rules and limits are on the methodology page.
Trend
Complaints naming HubSpot tracking code, month by month
Website accessibility (ADA) Website tracking (CIPA)
October 2025 to September 2026, current month to dateCourt records
Latest verified complaints naming HubSpot tracking code
- TrackingCourt recordfor Howard Clark Jr v. Centene Corporation (opens in a new tab)
Howard Clark Jr v. Centene Corporation
C.D. California, filed by Maynard Nexsen Pc
- TrackingCourt recordfor Chamberlain v. Granola, Inc. (opens in a new tab)
Chamberlain v. Granola, Inc.
N.D. California, filed by Schubert Jonckheer & Kolbe. Attributed to Delaware
Same type
Other analytics scripts the scanner checks
Questions owners ask
- Is having HubSpot tracking code on my site illegal?
- No. The complaints do not claim the script is illegal; they claim it recorded a visitor before the visitor consented, or kept recording after the visitor declined. Loading HubSpot tracking code only after consent, or removing it when it is not used, is what removes the pattern the complaints describe.
- How do I know if HubSpot tracking code fires before consent on my site?
- Run the free scan. It loads your pages without clicking anything and checks every request that leaves the browser against its tracker catalog, recording the millisecond each match fired. If HubSpot tracking code appears, it fired before consent. When your banner has a reject button, the scan clicks it and reports whether the script kept firing.
- Where do the case counts on this page come from?
- From the complaint text of verified California Invasion of Privacy Act filings. When a complaint names this script, the case is linked to it. Complaints that are not yet available in the public record are not counted, so the number is a floor.
Keep going
- Every tracking script the scanner recognizesGrouped by type, with the risk and fix for each.
- Which scripts appear most in privacy lawsuitsWhat each records and how to gate it.
- I got a CIPA demand letter. What now?What the letter means and the first week.
- Website lawsuits in CaliforniaWhere most tracking suits are filed.
Does HubSpot tracking code fire before consent on your site?
Suitcast identifies risk indicators. It is not legal advice and does not determine compliance.