How to integrate Secure Privacy with Hubspot
This tutorial explains how to install Secure Privacy on a Hubspot website
What is Hubspot
HubSpot helps marketers manage all aspects of their inbound marketing, from SEO, blog posts, social media, marketing automation, personalization to segmentation.
Inbound marketing, in opposition to traditional or outbound marketing such as ads and direct mails, is marketing by means of creating relevant content, that is search-friendly and attracts the customers to you.
How to make your Hubspot web pages GDPR complaint
Getting proper consent to the use of cookies from your visitors is a crucial part of rendering your website compliant with the GDPR. To be compliant, the consent has to be…
- Obtained prior to the setting of the cookies on the user’s browser (strictly necessary cookies are excepted from this rule)
- Given based on clear and specific information about what the consent is given to
- Withdrawable. The user must have access to their settings and make changes to what cookies they want to accept and reject.
- Kept as documentation that the consent has been given.
Installing Secure Privacy on Hubspot websites
To install Secure Privacy on Hubspot you can follow these simple steps
- Navigate to your HubSpot website and open it in Edit mode

2. Go to Settings > Advanced options

3. Paste your Secure Privacy code to "Additional code snippets.
4. Click on Publish to save your changes.
NOTE: Hubspot injects some cookies into the webpages which are essential for the website to work. It is not possible to block those cookies or plugins. You can move these cookies or plugins to the Essential category inside our admin app.
To block other cookies and plugins on HubSpot pages. You can follow this guide: Block cookies with JavaScript Rewrite
Other Tutorials
- How to integrate Secure Privacy with Hubspot
- How to install Secure Privacy with Google Tag Manager (GTM)
- How to install Secure Privacy on Wix
- Install Secure Privacy with Adobe Dynamic Tag Manager
- How to install Secure Privacy on SquareSpace
- How to install Secure Privacy on Joomla
- How to install Secure Privacy with Google Tag Manager (GTM)

Personalization Without Privacy Violations: Tactics & Tools for GDPR & CCPA Compliance
Your personalization strategy is a privacy violation waiting to happen. While customers demand tailored experiences, personalization privacy compliance has become the make-or-break factor that determines whether your customization efforts build trust or trigger devastating regulatory penalties.
- Legal & News
- Data Protection
- GDPR

First-Party Data Collection & Compliance: Best Practices for GDPR & CCPA in 2025
Your marketing strategy depends on first-party data collection compliance, but navigating the complex web of privacy regulations can feel overwhelming. With GDPR fines reaching €20 million, CCPA penalties expanding under CPRA, and 20+ US states enacting comprehensive privacy laws by 2025, collecting customer data legally has never been more critical—or complicated.
- Legal & News
- Data Protection
- GDPR
- CCPA

Customer Journey Mapping Under GDPR & CCPA: How to Embed Privacy at Every Touchpoint
Your customer journey maps are exposing you to massive privacy violations and regulatory penalties — and you might not even realize it. Most organizations approach customer journey mapping GDPR compliance as an afterthought, failing to integrate privacy requirements into each touchpoint where personal data flows through their customer experience.
- Legal & News
- Data Protection
- GDPR