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.
- 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.
- 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;
- 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.
js.hs-scripts.com, hbspt.forms.create, js.hsforms.net
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 /cmplz-consent-area
You can find an example here to style your placeholder: https://complianz.io/wrapping-content-in-consent-shortcodes/
This will do the trick. If you need any help during this process, please feel free to reach out and log a support ticket.