Free account
CIPA § 631 Risk

Is HubSpot Tracking legal in California?

Marketing Automation / Tracking · Updated 2026

The HubSpot tracking script profiles visitors across pages and forms for marketing automation. Whether a particular implementation is lawful depends on its configuration, the information transmitted, disclosures, consent, and other facts. A request observed before a recorded consent choice is a technical signal to investigate, not a legal conclusion.

Is this tracker on your site? Find out free in 30 seconds.

Real browser scan, no signup to run it. You see a summary of the findings; the full report with every tracker unlocks with your email.

Why HubSpot Tracking can trigger CIPA claims

California's Invasion of Privacy Act (CIPA), Penal Code § 631, addresses specified forms of interception and related conduct. Plaintiffs have asserted that some website session-replay, chat, and pixel implementations fall within the statute when they capture interactions without valid consent. Courts assess the statute's application to the particular parties, data flow, timing, and other facts. The HubSpot tracking script profiles visitors across pages and forms; firing before consent contributes to CIPA/CCPA exposure.

CIPA § 637.2 authorizes statutory damages of up to $5,000 for a qualifying violation. Plaintiffs may argue that multiple sessions support multiple counts; RegSentry does not determine whether a violation occurred or predict recoverable damages.

Real-world enforcement

The California Attorney General reached a $1.2M CCPA settlement with Sephora over allegations involving sale disclosures and opt-out (Global Privacy Control) signals. That was a CCPA enforcement action, not a session-replay or CIPA case. Separately, private CIPA complaints involving session-replay and chat tools have named businesses in several industries. Those matters arise under different laws and facts and should not be treated as proof that a particular technical finding is unlawful.

How to reduce consent-timing risk involving HubSpot Tracking

  1. Enable HubSpot's built-in consent banner OR gate the tracking code (js.hs-scripts.com) behind your own CMP.
  2. Use the HubSpot consent API: _hsp.push(['doNotTrack']) by default, then revoke after opt-in.
  3. Re-scan with 'Verify fix' to confirm no requests reach hs-scripts.com / hscollectedforms.net pre-consent.

Consent-gating snippet

var _hsp = window._hsp = window._hsp || [];
_hsp.push(['doNotTrack']);                       // suppress until consent
// After the visitor accepts:
cmp.onConsent('analytics', () => _hsp.push(['revokeCookieConsent']) /* re-enables */);

Prefer HubSpot's native consent banner (Settings → Privacy & Consent) if you don't already run a CMP.

HubSpot Tracking's official privacy/consent documentation →

Check your own site

RegSentry runs a browser against authorized public pages and records when supported HubSpot Tracking and other third-party requests are observed relative to the test's consent state. Where supported, test-generated form interactions can help show the technical data flow. The scan does not decide whether a provider intercepted a communication or whether applicable law was violated.

Is this tracker on your site? Find out free in 30 seconds.

Real browser scan, no signup to run it. You see a summary of the findings; the full report with every tracker unlocks with your email.

← See all tracker compliance guides