HubSpot Integration

Full Consent Synchronization with HubSpot Cookie API

Intastellar Consents integrates directly with HubSpot’s Cookie API to ensure consent states remain synchronized between your website and HubSpot’s tracking system.

This allows you to:

  • Use a single consent banner (no double banners)
  • Prevent conflicting consent state
  • Maintain full control over banner design and consent categories
  • Keep HubSpot functional features operational without enabling tracking prematurely

What Is Allowed Before Consent

To preserve user-requested functionality, the following HubSpot features may load before marketing consent:

  • Embedded forms
  • Embedded chatbots

Only the specific HubSpot domains required to render forms and chat UI are allow-listed.

No marketing or tracking scripts are executed at this stage.

What Is Blocked Before Consent

Until the user grants marketing consent:

  • HubSpot tracking code is blocked
  • No marketing cookies are set
  • No visitor tracking identifiers are created
  • No analytics or behavioral tracking requests are sent
  • No beacon, fetch, or XHR calls to HubSpot marketing endpoints are permitted

All non-essential HubSpot endpoints remain blocked by default.

Network-Level Enforcement

Intastellar Consents enforces consent at the network level by:

  • Intercepting fetch
  • Intercepting XMLHttpRequest
  • Intercepting navigator.sendBeacon
  • Applying a strict vendor allow-list model

Only explicitly approved functional HubSpot domains are allowed prior to consent.

This prevents tracking scripts from bypassing script-level blocking.

Consent Mapping

HubSpot behavior is mapped to consent categories:

Consent Category Behavior
Functional Embedded forms and chat load
Marketing HubSpot tracking code enabled
Analytics Tracking and event collection enabled

If a user later updates their preferences, HubSpot tracking initializes only after consent is granted. No retroactive tracking occurs.

Google Consent Mode v2 Compatibility

This integration works seamlessly with Google Consent Mode v2.

Consent signals are synchronized so that:

  • ad_storage
  • ad_user_data
  • ad_personalization

reflect the user’s actual consent status.

This enables conversion modeling and measurement for:

  • Google Ads
  • Enhanced conversions
  • Remarketing
  • Audience building

while ensuring no advertising cookies are set before consent.