Complianz Privacy Suite

HubSpot Integration

Aert Hulsebos

Aert Hulsebos


Popular articles

TCF for WordPress

The Transparency Consent Framework () is an initiative by IAB Europe and IAB Tech Lab to provide a platform for vendors, publishers, and consent management

Read More

TCF V2.0 release (Update)

Update: Released on October 5th 2020 Since August 15th the Transparency and Consent Framework V2.0 from IAB Europe or V2 has been adapted by Google

Read More
Share on facebook
Share on twitter
Share on linkedin

If you want to comply with the GDPR, DSGVO, or other privacy laws, there are multiple ways how Complianz can help you, and integrate with Complianz.

  • From 4.9,0 onwards you can integrate Complianz with the consent module of HubSpot. (If you followed the link from the wizard, you can use this integration)
  • If you don’t want to use the consent module, or you want to integrate HubSpot with a prior release of Complianz, you can use our consent wrappers and script center.

We will explain both options below;

Integration between HubSpot and Complianz 4.9.0

In this description, we assume you’re using the HubSpot plugin, although configuring the HubSpot consent module is done in your account. If you add HubSpot features with Google Tag Manager, please follow the same instructions.

  1. How it works
    Complianz will use the consent module of HubSpot to handle consent for the HubSpot feature, where it will be categorized as “Marketing” on your Complianz cookie banner. The features will still be activated before consent, but won’t track any visitors. The HubSpot banner will be hidden for this purpose.
  2. Configuring HubSpot
    Go to your HubSpot account, and go to Settings. Here you will find Cookies in the left-hand menu. Click on Default policy, and make sure the settings are as shown below;

  3. Configuring Complianz
    Please make sure the HubSpot integration is enabled under Complianz -> Integrations. If you’re still in the wizard during set-up, please enable HubSpot as a third-party service and answer Yes on the subsequent question; “Did you enable the consent module in your HubSpot account?”.


This should be it! The HubSpot module will manage HubSpot cookies if Complianz registered consent.

HubSpot in the Script Center

Prior to Complianz 4.9.0 and/or without the use of HubSpot’s consent module, you can use the consent wrappers and script center to block HubSpot before consent. To disable HubSpot features before consent you can add the below script URL’s to the script center under:

(part of) URL’s or unique string from the inline scripts of third-party scripts & plugins that should be blocked before consent.

The URL’s:, hbspt.forms.create,

After you Brute Forced blocked all HubSpot scripts, your forms will not show up without consent. You can, therefore, choose to add a placeholder. You can use the consent shortcodes to wrap the form shortcode, as shown below. If you’re using a slide-in, or pop-up form we suggest wrapping the trigger of this slide-in in the consent wrapper.

cmplz-consent-area text="Enable this content by clicking this link"
hubspot type=form portal=803322859 id=66ef920b-453fb5-4679-b444-53f1397d0a73

You can find an example here to style your placeholder:

This will do the trick. If you need any help during this process, please feel free to reach out and log a support ticket.

Recent articles