Cookiebot HubSpot integration
This guide explains the steps needed to integrate Cookiebot with HubSpot.
You will need a Cookiebot account as well as a HubSpot account. If you do not already have a Cookiebot account, click here to get started.
Important note: The app should be used to implement Cookiebot on HubSpot hosted websites. For websites using WordPress, we recommend implementation using the Cookiebot WordPress plugin. For websites using another CMS, please refer to our knowledge base artikels (https://cookiemagic.eu/support/).
Getting started
You will find the app in the HubSpot App Marketplace. Click the Connect App button to add it.
- Login with you HubSpot account credentials if needed, and select the HubSpot account you want to integrate to. You will now be able to configure the integration.
- Scroll down to the section: Cookiebot settings for HubSpot websites
Here you must choose the HubSpot website you wish to implement Cookiebot on, and pair it with the Domain Group ID from your Cookiebot account. This pairing with the Cookiebot Domain Group ID ensures that the HubSpot website uses the correct (and active) configuration from Cookiebot for the domain in question.
- To fetch the Domain Group ID, log in to your Cookiebot account and select the Domain Group that you have configured. Navigate to the Your scripts pane under Settings.
- Copy the Domain Group ID value. Now return to the Cookiebot settings for HubSpot websites page and paste the ID into the settings for the corresponding website. Click the + button to add this configuration.
- Now your Cookiebot consent service is integrated and will show on your HubSpot website.
As default, Cookiebot will be running in autoblocking mode, making sure that cookies are prevented from being set until appropriate consent has been submitted by your visitors. More information on autoblocking mode can be found here (https://cookiemagic.eu/support/)
Cookie declaration
- To integrate the Cookiebot cookie declaration on your website, please copy the cookie declaration script from your account (Make sure you get the right script! It’s the bottom script found on the same page where you found your Domain Group ID). Insert this script on a page in your CMS where you want the cookie declaration to appear. This could typically be on a dedicated ‘Cookie Policy’ or ‘Cookies’ page linked to through the footer of your website.
Known issues:
- When uninstalling the app through the Hubspot control panel you may experience that the cookie banner is still active on your site. The correct way to uninstall the solution and remove the banner, is to first delete integrations within the app, and then proceed to deleting the app. This is an inconvenience we are currently working to remove.
- If you are removing the app and re-adding it you may experience that it does not appear in the control panel. In that case you must close the browser and add the app again.