Introduction
Updated for 2026 compliance practices.
If you run a Webflow site and use HubSpot for marketing, sales, or analytics, you’ve probably asked yourself: “How do I make sure my HubSpot tracking respects cookie consent?” This is not just a technical checkbox—it’s a core part of GDPR compliance that affects how you collect data, serve ads, and report on conversions. In this guide, we’ll walk through what HubSpot Tracking Webflow cookie consent means, why it matters, and how to implement it correctly. We’ll cover consent defaults, tag blocking, verification with GDPRChecker scans, and common pitfalls that trip up even experienced teams. This is a practical implementation and verification resource for GDPRChecker customers, part of our knowledge base expansion on platform integrations. Remember: this guide provides technical implementation guidance, not legal advice. Always consult a qualified privacy professional for your specific situation.
Requirements and Compliance Expectations
Before diving into implementation, let’s clarify the compliance landscape. The GDPR requires that processing of personal data be lawful, fair, and transparent. Cookies and similar tracking technologies often process personal data, so they fall under both the GDPR and the ePrivacy Directive (the “cookie law”). Key expectations include:
- Prior consent: Non-essential cookies must not be set until the user has taken affirmative action (e.g., clicking “Accept”).
- Granular choice: Users should be able to consent to specific purposes (e.g., analytics, marketing) separately, not just an all-or-nothing choice.
- Easy withdrawal: It must be as easy to withdraw consent as it is to give it.
- Transparency: Your cookie banner and privacy policy must clearly explain what data is collected, by whom, and for what purpose.
For HubSpot tracking on Webflow, this means you need to identify all HubSpot cookies and scripts, categorize them (e.g., functional, analytics, marketing), and block them until the appropriate consent is received. The European Data Protection Board (EDPB) has emphasized that cookie walls (forcing consent to access content) are not valid, and implied consent (like continuing to browse) is insufficient. You must implement a mechanism that actively prevents data collection before consent.
Additionally, if you use Google services alongside HubSpot (like Google Analytics or Google Ads), you’ll need to consider Google Consent Mode. Consent Mode allows tags to adjust their behavior based on consent state, but it requires a CMP that integrates with Google’s API. While HubSpot doesn’t have a native Consent Mode integration, you can still use a CMP that blocks HubSpot tags entirely until consent is given. For more on Consent Mode, see our Google Consent Mode v2 guide.
Finally, remember that compliance is not a one-time setup. You must regularly scan your site for new cookies, update your disclosures, and re-verify after any changes to your Webflow site or HubSpot configuration. GDPRChecker scans help verify pre-consent network requests, banner behavior, and disclosure gaps after changes.
Common Mistakes and How to Avoid Them
Even with careful setup, mistakes happen. Here are the most common ones we see when implementing HubSpot Tracking Webflow cookie consent:
- HubSpot fires before consent: This is the most critical error. It often happens because the CMP script loads too slowly, or the HubSpot code is placed in a location that executes before the CMP. Always place the CMP script first in the
<head>, and test thoroughly. - Ignoring the “Reject” flow: Many sites only test the “Accept” path. But if a user clicks “Reject” or simply closes the banner, no HubSpot cookies should be set. Test this explicitly.
- Not blocking all HubSpot domains: HubSpot tracking can load from multiple domains (e.g.,
js.hs-scripts.com,track.hubspot.com,forms.hubspot.com). Make sure your block list covers all of them. - Assuming GTM consent settings are enough: If you use GTM’s built-in consent controls, remember that they only work for tags fired through GTM. If you’ve hardcoded HubSpot outside GTM, those scripts won’t be blocked.
- Forgetting about embedded forms and chat: HubSpot forms and live chat widgets often load their own scripts. If you embed a HubSpot form on a Webflow page, that script must also be consent-blocked.
- Not testing after Webflow or HubSpot updates: Webflow’s custom code section can be overwritten, and HubSpot occasionally updates its tracking code. Always re-scan after changes.
- Using a notice-only banner: A banner that just says “We use cookies” without blocking scripts is not compliant. You need a mechanism that prevents data collection until consent.
To avoid these, adopt a verification routine using GDPRChecker (see next section).
How to Validate HubSpot Tracking Consent with GDPRChecker
After implementation, you must verify that everything works as expected. Manual testing (opening your site, checking browser cookies) is a start, but it’s error-prone. GDPRChecker’s scanner automates this and provides a detailed report. Here’s how to use it for HubSpot tracking on Webflow:
- Run a pre-consent scan: Use GDPRChecker to scan your site while simulating a first-time visitor who hasn’t interacted with the banner. The scanner will list all network requests and cookies set before consent. Look for any HubSpot domains or cookies. If you see
__hstc,hubspotutk, or requests totrack.hubspot.com, your blocking isn’t working. - Test the consent flow: After giving consent via the banner, run another scan. HubSpot cookies should now appear. Then, simulate consent withdrawal (if your CMP supports it) and scan again—cookies should be gone or inactive.
- Check banner behavior: GDPRChecker can verify that your banner appears correctly, that it offers granular options, and that it doesn’t use dark patterns (like pre-ticked boxes).
- Review disclosures: The scanner can check if your privacy policy mentions HubSpot and if the cookie list is accurate.
- Schedule regular scans: Set up recurring scans to catch regressions. This is especially important if multiple people edit your Webflow site.
GDPRChecker scans help verify pre-consent network requests, banner behavior, and disclosure gaps after changes. It’s a practical way to close the “Consent Mode gap” and ensure your HubSpot tracking is compliant.
Implementation Checklist
Use this checklist to ensure you’ve covered all bases:
- To do: Installed a CMP that supports script blocking and is compatible with Webflow.
- To do: Placed the CMP script before any other tracking scripts in the
<head>. - To do: Identified all HubSpot cookies and scripts (tracking code, forms, chat).
- To do: Categorized HubSpot cookies as analytics and/or marketing (non-essential).
- To do: Configured the CMP to block HubSpot scripts by default.
- To do: If using GTM, set up consent-based triggers for HubSpot tags.
- To do: Implemented default consent state of “denied” for non-essential cookies.
- To do: Ensured that consent withdrawal removes or blocks HubSpot cookies.
- To do: Updated privacy policy to list all HubSpot cookies with purposes and durations.
- To do: Tested the “Reject” flow: no HubSpot cookies set.
- To do: Tested the “Accept” flow: HubSpot cookies set correctly.
- To do: Ran a GDPRChecker pre-consent scan and confirmed no HubSpot network requests.
- To do: Scheduled regular GDPRChecker scans to monitor ongoing compliance.
FAQ
What is HubSpot Tracking Webflow cookie consent? It’s the practice of ensuring HubSpot’s tracking scripts on a Webflow site only load and set cookies after a visitor gives explicit consent, as required by GDPR and ePrivacy laws. This involves using a consent management platform to block scripts until opt-in.
Do I need HubSpot Tracking Webflow cookie consent for GDPR? Yes, if you use HubSpot tracking for non-essential purposes like analytics or marketing, you must obtain prior consent before setting cookies. Even if you only use HubSpot for analytics, consent is required under most interpretations of the ePrivacy Directive.
How do I implement HubSpot Tracking Webflow cookie consent? Install a CMP on your Webflow site, categorize HubSpot scripts as non-essential, configure the CMP to block them by default, and set up triggers to fire them only after consent. Test thoroughly using a scanner like GDPRChecker.
How can I verify HubSpot Tracking Webflow cookie consent with a scanner? Use GDPRChecker to scan your site as a first-time visitor. It will detect any HubSpot cookies or network requests that fire before consent. You can also test consent withdrawal and banner behavior to ensure full compliance.
What are common HubSpot Tracking Webflow cookie consent mistakes? Common mistakes include HubSpot scripts loading before consent, not testing the reject flow, forgetting to block embedded forms or chat, using a notice-only banner, and failing to re-scan after site updates.
Next Steps for Ongoing Compliance
Implementing HubSpot Tracking Webflow cookie consent is not a set-it-and-forget-it task. Regulations evolve, your site changes, and HubSpot may update its tracking mechanisms. To stay compliant:
- Regularly review your cookie list and update your privacy policy.
- Re-scan your site with GDPRChecker after any design or code changes.
- Monitor guidance from authorities like the EDPB.
- If you use Google services, ensure your setup aligns with Consent Mode v2 requirements. Our Google Consent Mode v2 guide and Consent Mode v2 vs Google Certified CMP article can help.
- For sites not running Google Ads, you might wonder if a CMP is still needed—see our piece on whether you need a CMP if you don’t run Google Ads.
By following this guide and using GDPRChecker for verification, you can confidently manage HubSpot tracking on your Webflow site while respecting user privacy. Ready to close the gaps? Run your first GDPRChecker scan today and see where you stand.
Next step
Run a GDPRChecker scan to validate consent behavior, trackers, and disclosures after you implement the checklist above.
Copyright and editorial notice
© GDPRChecker
This original AI-assisted editorial draft was selected, reviewed, and published by GDPRChecker. All rights are reserved where protected by applicable law. Do not reproduce the article without permission.