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
- From your HubSpot account, click the Settings gear icon on the top toolbar.
- On the left side panel, click Privacy and Consent.
- Click the Cookies tab.
- Select a HubSpot-hosted domain, or click Add an external domain to add an externally-hosted domain.
- On the 'Domain' page, click Create consent banner.
- On the 'Configuration' page, give your banner an internal name.
- 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.
- Under 'Countries', select the countries in the European Union, European Economic Area and the United Kingdom.
- Click Next.
- 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:
- Open the Actions drop-down, then click Edit.
- Choose an 'Opt-in' banner type.
- Click Choose a language and select a language from the drop-down list.
- 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.
- Click Publish.