> ## Documentation Index
> Fetch the complete documentation index at: https://developer.onetrust.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HubSpot

# HubSpot and the OneTrust Script

*Last Updated: Jan 4, 2022*

## Integration Steps

1. In your HubSpot account, click the Settings icon in the main navigation bar.

2. In the left sidebar menu, navigate to **Website** menu.

3. Select **Pages**.

![Pages](https://my.onetrust.com/servlet/rtaImage?eid=ka03q000000qPEg\&feoid=00N1Q00000TQMLt\&refid=0EM3q000001wdap)

4. Select the domain that you want to edit.

5. Under the **Templates** tab, add the Cookie Banner script to the **Site header HTML** field.

![Site Header HTML](https://my.onetrust.com/servlet/rtaImage?eid=ka03q000000qPEg\&feoid=00N1Q00000TQMLt\&refid=0EM3q000001wdaq)

6. Click the **Save** button.

> Please note, you must turn off the default **HubSpot Cookie Policy Notice** or else you will have two banners displayed on your site. In order to turn off the HubSpot Cookie Policy, follow these directions:

## Disabling the HubSpot Cookie Banner

1. In your HubSpot account, click the Settings icon in the main navigation bar.

2. In the left sidebar menu, navigate to **Cookies**.

3. Select **Default policy**.

* **Use cookies:** click the switch to track your visitors with cookies.
* **Notify visitors that your site uses cookies:** click the switch to display a notification to your visitors to show that your site uses cookies.
* **Require opt-in:** click the switch to require users to opt in to cookie tracking.

4. Make sure to disable **Notify visitors that your site uses cookies** as well as **Require opt-in**.

## Additional HubSpot Resources

* [Customize cookie tracking settings and privacy policy alert](https://knowledge.hubspot.com/reports/customize-your-cookie-tracking-settings-and-privacy-policy-alert#set-up-your-cookie-policy)
* [Cookies Set by HubSpot](https://knowledge.hubspot.com/reports/what-cookies-does-hubspot-set-in-a-visitor-s-browser#cookies-from-third-party-systems)