CMS · Install guide
Cookie consent for HubSpot CMS
Updated
HubSpot sites load HubSpot's own tracking on every page. Kiescy adds regional consent rules, records and Consent Mode v2 on top, through the site header HTML setting.
- Setup time
- About 5 minutes
- Coding
- None: copy and paste
- Laws covered
- GDPR, UK GDPR, CCPA, DPDP
- Google Consent Mode v2
- Built in, basic or advanced
Set up cookie consent on HubSpot CMS in 3 steps
- Create a free accountAdd your website. Kiescy scans it and finds the trackers that need consent.
- Paste one script into HubSpot CMSYour banner appears and starts holding back trackers until visitors choose.
- Check it worksOpen your site in a private window and run the free check to confirm nothing loads early.
Why HubSpot CMS sites need cookie consent
HubSpot is a marketing platform: its tracking code follows visitors to build contact timelines, which is exactly the kind of tracking that needs opt-in consent in the EU and an opt-out in California.
Your options on HubSpot CMS
| Approach | Good for | Watch out for |
|---|---|---|
| HubSpot's built-in cookie banner | HubSpot-only sites | Covers HubSpot's tracking; regional rules and Consent Mode support are limited compared with a dedicated tool |
| Kiescy | Sites mixing HubSpot with Google, Meta or LinkedIn tags | Turn off HubSpot's banner to avoid two prompts |
Add your privacy policy
Put the embed where your privacy policy should appear, or link straight to your hosted policy URL from the footer:
<div data-kiescy-doc="privacy"></div>
<script src="https://script.kiescy.com/embed/policy/YOUR_SITE_KEY.js" async></script>Good to know
HubSpot's tracking code loads from hs-scripts.com, which Kiescy treats as advertising once a scan finds it. HubSpot also offers a JavaScript privacy API (_hsq.push(['doNotTrack'])) if you prefer to control its tracking directly.
Check that it works
Open your site in a private window: the banner should appear for a first-time visitor. Then run the free privacy check, which opens your site as a new EU visitor and lists anything that still loads before consent.
Kiescy's monitoring repeats that check on a schedule and emails you if a new script starts tracking before consent.
What your HubSpot CMS visitors see
Kiescy detects where each visitor is and shows the version their law requires, so you don't have to choose between the strictest banner for everyone and no banner at all.
Trackers HubSpot CMS sites usually load
These are the tools that most often need consent on HubSpot CMS sites, and how Kiescy treats them. Run a cookie scan to see exactly what yours loads.
| Tool | Category | What happens |
|---|---|---|
| HubSpot tracking code | Advertising | Builds contact activity timelines |
| HubSpot forms and chat | Functional | Forms collect personal data; add a notice |
| LinkedIn Insight Tag, Meta Pixel | Advertising | Common on B2B sites |
| Google Analytics / Google Ads | Analytics / advertising | Consent Mode signals from Kiescy |
Google Consent Mode v2 on HubSpot CMS
Google tags added in HubSpot's header HTML below Kiescy get Consent Mode v2 defaults and updates from Kiescy.
New to Consent Mode? Read basic vs advanced Consent Mode v2.
Troubleshooting
Two banners appear
Turn off HubSpot's cookie consent banner for the domain under Settings → Privacy & Consent.
Form submissions don't link to contacts for EU visitors who decline
That's expected: without the hubspotutk cookie, HubSpot can't connect anonymous browsing to the submission.
Compliance checklist for HubSpot CMS
- A consent banner that blocks non-essential trackers until the visitor agrees (opt-in for the EU, UK and India).
- A "Do Not Sell or Share" option for California visitors, and Global Privacy Control honored.
- A privacy policy that names the tools above, linked from every page.
- A cookie policy listing the cookies your scan finds.
- A way for people to request, correct or delete their data.
- Records of each consent choice, kept as proof.
- Form notices and marketing-consent checkboxes on HubSpot forms.
- Privacy policy that names HubSpot as a processor.
Guides for HubSpot CMS site owners
Questions
Does it work on HubSpot landing pages and blogs?
Yes, site header HTML applies to all pages, landing pages and blog posts on that domain.
Can I keep HubSpot's banner and use Kiescy?
Not on the same domain; two banners give conflicting choices. Pick one per domain.
Official HubSpot CMS documentation
Menus move. If a step above doesn't match what you see, HubSpot CMS's own docs show the current way to add code.
Get compliant this afternoon, not this quarter.
Set up your policies, banner and request form in one place. Free while Kiescy is in early access.