×

Hupspot consent mode setup

Configure Hubspot with Google Consent Mode v2

Managing privacy and analytics together can feel complex, especially when you need Hubspot to work cleanly with Google Consent Mode v2. This guide explains what data is shared, how consent works, and how to align your tracking setup with Google requirements.

What Google Consent Mode v2 does for Hubspot tracking

Google Consent Mode v2 lets you adjust how Google tags behave based on a visitor’s consent choices. When you use it alongside Hubspot, you can better respect user privacy while still collecting useful analytics data through Google tools.

Rather than blocking all tags, Consent Mode v2 adapts them. For example, if a visitor declines marketing cookies, Google can still measure some activity using limited, cookieless signals while avoiding the creation of new identifiers.

How Hubspot shares data with Google services

When set up correctly, Hubspot can share certain analytics-related events with Google services so that your reporting remains accurate and privacy-aware. The data is sent through Google Consent Mode v2 friendly mechanisms.

The types of data that can be shared from Hubspot to Google may include:

  • Page view events and basic engagement signals
  • Conversion-related events such as form submissions
  • Aggregated metrics that support modeling and reporting

This sharing respects consent settings and does not override the preferences expressed by your visitors. The goal is to preserve measurement quality, not to bypass privacy choices.

Key consent states you must understand in Hubspot setups

To use Google Consent Mode v2 correctly, you need a clear picture of consent states. When you combine Consent Mode with Hubspot tracking, these states determine how and when data is sent to Google.

Hubspot and consent for ad-related cookies

The ad_storage consent state controls whether advertising cookies and identifiers are used. In a configuration that includes Hubspot and Google tags, this state affects:

  • Remarketing capabilities
  • Advertising conversion tracking quality
  • Use of advertising identifiers like Google Ads cookies

If visitors do not grant ad_storage consent, Google uses limited data without setting new advertising cookies.

Hubspot and consent for analytics cookies

The analytics_storage consent state controls whether analytics cookies are allowed. When you run Google Analytics along with Hubspot tracking, this state influences:

  • Use of client-side analytics cookies
  • Granularity and persistence of session data
  • How accurately user paths can be reconstructed

With denied analytics_storage consent, Google Analytics can still gather some high-level metrics via Consent Mode v2, but with significantly restricted identifiers.

How to align your cookie banner with Hubspot and Consent Mode

To operate lawfully and transparently, your cookie banner must clearly inform visitors how their data will be used and how Hubspot works with Google services. It must also allow users to choose or adjust their consent settings.

Step 1: Map your tracking tools, including Hubspot

Start by creating an inventory of all tools that place or rely on cookies or local storage, including Hubspot, Google Analytics, Google Ads, and any other marketing platforms.

  1. List each tool and purpose, such as analytics, advertising, or functionality.
  2. Identify which cookies are essential and which are optional.
  3. Note which tags or scripts depend on Google Consent Mode v2.

Step 2: Configure your consent categories

Next, map your banner categories to the Google consent signals and to tracking scripts such as Hubspot. Typical mappings look like this:

  • Strictly necessary: functional cookies that keep the site working.
  • Analytics: mapped to analytics_storage for measurement.
  • Marketing / Advertising: mapped to ad_storage for ads and remarketing.

Ensure these categories are consistent across your consent banner, Google Tag Manager, and Hubspot tags so that behavior is predictable.

Step 3: Implement Google Consent Mode v2 with Hubspot tags

Once categories are clear, configure Consent Mode v2 so that it dynamically updates consent states based on user choices. Then align your Hubspot tracking so it respects the same signals.

  1. Set default consent states for new visitors before they interact with the banner.
  2. Update consent states when users accept or reject cookie categories.
  3. Ensure Hubspot scripts do not place non-essential cookies before consent.

Because the exact code and deployment methods can vary, always follow the latest platform documentation and policy guidance.

Privacy best practices for Hubspot and Google Consent Mode v2

Beyond technical setup, you must handle consent in a way that aligns with privacy laws and user expectations. When you are combining Hubspot with Google technologies, make sure you:

  • Explain clearly which data you collect and why.
  • Provide granular options so visitors can accept only certain categories.
  • Allow users to change their choices later, not just on first visit.
  • Keep records of consent events where regulations require it.

You should also review the data retention settings in your analytics and marketing tools, including Hubspot, to avoid storing data longer than necessary.

Where to learn more about Hubspot and Consent Mode

The most detailed reference on how Hubspot supports Google Consent Mode v2 is the official product documentation. Use it to confirm integration details, technical limits, and the latest updates to the feature set.

You can read the full help article at Hubspot support for Google Consent Mode v2. That page covers which events are shared, how consent is interpreted, and how this affects your analytics reporting.

If you want strategic help designing a consent experience, configuring advanced analytics, or integrating Hubspot with other martech platforms, you can also consult privacy and analytics specialists such as Consultevo.

Summary: using Hubspot responsibly with Consent Mode

By linking Hubspot with Google Consent Mode v2, you can keep your measurement as accurate as possible while respecting visitor choices. The key is to understand the consent states, align them with your cookie banner, and ensure that every script, including Hubspot tracking, obeys those states consistently.

When in doubt, rely on the official documentation and, if needed, expert guidance to confirm that your configuration remains compliant as privacy standards evolve.

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