Set up HubSpot to obtain user consent

To capture valuable insights while protecting user privacy, you need to collect consent from your website users. We recommend you use a Consent Management Platform (CMP) or work with your Content Management System (CMS) to collect consent and send it to Google.

Learn more about how to Set up your consent banner with a consent management platform or a content management system.

Step 1: Set up a consent banner

  1. From your HubSpot account, click the Settings gear icon on the top toolbar.
  2. On the left side panel, click Privacy & Consent.
  3. Click the Cookies tab.
  4. Select a HubSpot-hosted domain, or click Add an external domain to add an externally-hosted domain.
  5. On the "Domain" page, click Create consent banner.
    An illustration that locates the "Create consent banner" button on Hubspot.
  6. On the “Configuration” page, give your banner an internal name.
  7. Specify a path under “URL Path” if you want your banner to only apply to that URL. Leave the path blank to apply the banner to the entire domain.
  8. Under “Countries”, select the countries in the European Union, European Economic Area, and the United Kingdom.
  9. Click Next.
    An illustration that shows how to create a consent banner in Hubspot.
  10. Choose an “Opt-in” banner type. Click Publish.

Step 2: Set up consent mode

Verify your consent mode set up

If you have an opt-in banner, consent mode is set up. If you have an opt-out banner already and you want to use consent mode you’ll need to follow these steps below:

  1. Open the Actions dropdown, then click Edit.
    An illustration showing how to edit consent banners in Hubspot.
  2. Choose an “Opt-in” banner type.
  3. Click Choose a language and select a language from the dropdown list.
  4. Edit the banner text content by opening the collapsable “Consent banner content” and “Consent banner categories” headings. Links and additional information can be added during this step to be displayed to website visitors.
    An illustration showing how to select a language for a consent banner in Hubspot.
  5. Click Publish.

Was this helpful?

How can we improve it?
true
Achieve your advertising goals today!

Attend our Performance Max Masterclass, a livestream workshop session bringing together industry and Google ads PMax experts.

Register now

Search
Clear search
Close search
Google apps
Main menu
10206905326024802636
true
Search Help Center
true
true
true
true
true
73067
false
false
false