Hubspot: GDPR, cookies and installation

Analytics
Consent-controlled integration
Hubspot
5 cookies listed Privacy policy
service hubspot
13.3M
requests / 30 days

29.27% consent


Hubspot and GDPR: how to manage consent

Hubspot is an audience measurement or analytics service. Depending on its configuration, its use may involve browser storage, tracking technologies or the transmission of data to a third-party provider.

When the configuration of Hubspot requires consent, the service should only be activated after the visitor has made a choice. tarteaucitron can condition its loading on that decision.

Managing Hubspot with tarteaucitron

When Hubspot is integrated through tarteaucitron, its activation is managed according to the visitor's consent choice. The service can therefore be loaded only when the corresponding permission has been granted and the visitor can later change this choice through the consent interface.

Cookies and storage used by Hubspot

The current tarteaucitron integration declares 5 cookies associated with Hubspot:

  • hubspotutk
  • __hstc
  • __hssrc
  • __hssc
  • __cfduid

This list corresponds to the cookies currently declared in the tarteaucitron service definition. The service provider may change its technical implementation over time.

Configuring Hubspot

Add the following code to your website after initializing tarteaucitron. Replace the example values with those provided by Hubspot.

<script>
tarteaucitron.user.hubspotId = 'API_KEY';
(tarteaucitron.job = tarteaucitron.job || []).push('hubspot');
</script>

Additional code

The following code can already be present on your website and should be kept where the service is used.

<script>tarteaucitron.user.hubspotBusinessUnitId = 'UNIT_ID';</script>

Code to remove

Default HTML code to remove from your website:

<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/API_KEY.js?businessUnitId=UNIT_ID"></script>

For a complete guide, read the documentation to install tarteaucitron.js.

Privacy information

For detailed information about the processing of data by Hubspot, cookies and applicable retention periods, refer to the documentation or privacy policy published by the service provider:

Hubspot privacy information

Frequently asked questions about Hubspot

Does Hubspot require consent?

It depends on how Hubspot is configured and which data is processed. Audience measurement tools using non-exempt tracking technologies generally need to be conditioned on the visitor’s consent.

How does tarteaucitron block Hubspot?

tarteaucitron controls the activation of Hubspot according to the consent choice recorded for the visitor. The service code is triggered through tarteaucitron instead of being loaded independently from the consent manager.