HubSpot
This guide explains how to integrate the Openli cookie widget on a site that is hosted by HubSpot.
Last updated
This guide explains how to integrate the Openli cookie widget on a site that is hosted by HubSpot.
Last updated
This courtesy guide is no longer actively tested by Openli, although it might still work.
Our cookie-consent widget intentionally uses a highly-compatible, highly-generic approach to integration. In most cases, it will be possible for your developers to adapt this guide's steps to any changes that might have been made to the target platform, in combination with their own general documentation. Our consent-state events might be useful for this.
A Openli cookie widget, with a published cookie policy, ready to install
A website hosted on HubSpot
HubSpot do not currently provide an adequate way for us to communicate consent status to their own platform, so you must activate HubSpot's built-in cookie-consent banner. Openli's cookie widget will then use this behind the scenes, supplementing our own consent management, and providing the best current level of integration with HubSpot.
HubSpot have a general guide to enabling their banner here, and your cookie-banner settings should look like this:
HubSpot's built-in cookie-consent banner, when used on its own, is not sufficient to ensure compliance with the GDPR and other similar privacy laws. Using Openli's cookie-consent widget helps to close this compliance gap.
Add this code to the head (not the footer) of your site, following HubSpot's general guide:
Because HubSpot provide only an "accept all"/"reject all" option for their cookies, consent must be given to analytics and marketing cookies before HubSpot's cookies can be enabled. We strongly recommend using the option in your Openli cookie widget to present an "Accept all" button to users, to make it simpler to opt in to the categories HubSpot use.
Add code like this, from your cookie-widget settings, to the footer (not the head, unlike before) of your site, following HubSpot's general guide again:
The approach used in the guide is very similar to HubSpot's own recommendation for integrating third-party cookie-consent solutions like Openli. We therefore expect HubSpot to continue to support it, but all changes they make are outside our control.