GDPRChecker

Home / Knowledge Base / LinkedIn Insight Tag Cookie Consent on HubSpot CMS: Setup, Blocking, and Testing

Website Compliance

LinkedIn Insight Tag Cookie Consent on HubSpot CMS: Setup, Blocking, and Testing

A practical guide for website owners on implementing LinkedIn Insight Tag cookie consent on HubSpot CMS to comply with GDPR. Covers step-by-step setup, common mistakes, and validation using GDPRChecker scans.

Run a free GDPR compliance scanPreview the findings before choosing a CMP.

Author

GDPRChecker Editorial Team

Reviewed by

Privacy & Compliance Research Team

Last updated

July 2026

Reading time

8 min read

Educational guidance for compliance readiness — not legal advice. Requirements vary by jurisdiction and your specific processing activities.

Introduction

Updated for 2026 compliance practices.

Website owners using HubSpot CMS and LinkedIn Insight Tag face a practical challenge: ensuring that the tag respects user consent choices under GDPR. This guide covers what LinkedIn Insight Tag HubSpot CMS cookie consent means, how to implement it, common mistakes, and how to verify your setup with GDPRChecker scans. We focus on technical implementation steps—not legal advice—so you can close compliance gaps and maintain trustworthy data practices.

Requirements and Compliance Expectations

GDPR requires that non-essential cookies and trackers—like LinkedIn Insight Tag—only be activated after the user has given informed, unambiguous consent. See EDPB Guidelines 05/2020 on consent. This means:

  • Prior consent: No Insight Tag network requests before consent.
  • Granular choice: Users must be able to consent to marketing cookies without being forced to accept all.
  • Easy withdrawal: Users must be able to change their mind and have the tag stop firing.
  • Transparency: Your privacy policy must disclose the use of LinkedIn Insight Tag, its purpose, and data sharing.

Authorities like the European Data Protection Board (EDPB) emphasize that consent must be a clear affirmative action. Pre-ticked boxes or implied consent are not valid. For HubSpot CMS users, this translates into configuring the cookie consent banner to block the Insight Tag until the user clicks “Accept” for the relevant category.

Note: This guide provides technical implementation guidance, not legal advice. Consult your legal team for jurisdiction-specific requirements.

Common Mistakes and How to Avoid Them

Even with the right tools, mistakes happen. Here are frequent pitfalls when setting up LinkedIn Insight Tag HubSpot CMS cookie consent:

  1. Tag fires before consent interaction: This is the most critical error. It occurs when the Insight Tag is placed in the page head without any consent check. Always verify that no network requests to px.ads.linkedin.com occur before the user clicks “Accept.”
  2. Incorrect consent category mapping: If the Insight Tag is tied to the wrong category (e.g., “Analytics” instead of “Advertising”), it may fire when the user only accepts analytics cookies. Double-check your category assignments.
  3. Ignoring the “Reject” flow: Some implementations only handle the “Accept” case. If a user clicks “Reject” or closes the banner without choosing, the tag must remain blocked. Test the reject path thoroughly.
  4. Not respecting withdrawn consent: If a user changes preferences and withdraws advertising consent, the tag must stop firing immediately. Your implementation should listen for consent change events and remove the tag if necessary.
  5. Hardcoding the tag without a consent wrapper: Even if you plan to add consent later, a hardcoded tag will fire on every page load. Always start with a consent-gated implementation.

How to Validate with GDPRChecker

After implementing consent controls, you must verify that they work correctly. Manual testing can miss edge cases, so automated scanning is recommended. GDPRChecker scans help verify pre-consent network requests, banner behavior, and disclosure gaps after changes.

Here’s how to validate your LinkedIn Insight Tag HubSpot CMS cookie consent setup:

  1. Run a pre-consent scan: Use GDPRChecker to crawl your site in a state where no consent has been given. The scanner will detect any requests to LinkedIn domains (px.ads.linkedin.com, www.linkedin.com) and flag them as potential compliance issues.
  2. Test the accept flow: Simulate a user accepting advertising cookies and run another scan. The Insight Tag should now be allowed to fire. GDPRChecker can confirm that the tag is present and that consent is properly recorded.
  3. Test the reject flow: Simulate a user rejecting advertising cookies and scan again. No LinkedIn requests should appear.
  4. Check consent withdrawal: After accepting, change preferences to revoke advertising consent and scan. The tag should be absent.
  5. Review banner disclosures: GDPRChecker can also check that your cookie banner and privacy policy mention LinkedIn Insight Tag and its purpose.

Regular scanning after any site changes (theme updates, new plugins, tag modifications) helps maintain compliance over time. For a deeper dive into consent mode and tag management, see our guide on Google Consent Mode v2.

Implementation Checklist

Use this checklist to ensure your LinkedIn Insight Tag consent setup on HubSpot CMS is complete:

  1. Enable HubSpot’s cookie consent banner in opt-in mode.
  2. Define consent categories, ensuring “Advertising” is separate and clearly described.
  3. Place LinkedIn Insight Tag code inside a consent check (using HubSpot API or GTM).
  4. Verify that no LinkedIn network requests occur on page load before consent.
  5. Test the “Accept All” flow: tag fires after consent.
  6. Test the “Reject All” flow: tag never fires.
  7. Test granular consent: if user accepts only analytics, tag does not fire.
  8. Test consent withdrawal: after revoking advertising consent, tag stops firing.
  9. Update privacy policy to disclose LinkedIn Insight Tag usage and data sharing.
  10. Run a GDPRChecker pre-consent scan and confirm zero unauthorized requests.
  11. Run a GDPRChecker post-consent scan to confirm tag presence when expected.
  12. Schedule regular scans (e.g., monthly or after site updates) to catch regressions.

FAQ

What is LinkedIn Insight Tag HubSpot CMS cookie consent?

It is the practice of configuring the LinkedIn Insight Tag on a HubSpot CMS website to fire only after a visitor has given explicit consent for advertising cookies, as required by GDPR. This involves using HubSpot’s consent banner and API or a tag manager to block the tag by default.

Do I need LinkedIn Insight Tag HubSpot CMS cookie consent for GDPR?

Yes, if you use LinkedIn Insight Tag and your website targets users in the EEA or UK. The tag sets tracking cookies and processes personal data, which requires prior consent under GDPR. Implementing consent ensures you respect user choices and reduce regulatory risk.

How do I implement LinkedIn Insight Tag HubSpot CMS cookie consent?

Enable HubSpot’s cookie consent banner, categorize the Insight Tag under “Advertising,” and wrap the tag code in a consent check using HubSpot’s JavaScript API or Google Tag Manager triggers. Always block the tag by default and test all consent flows.

How can I verify LinkedIn Insight Tag HubSpot CMS cookie consent with a scanner?

Use GDPRChecker to scan your site before and after consent interactions. The scanner detects network requests to LinkedIn domains and verifies that they only occur when advertising consent is given. It also checks banner disclosures and consent state persistence.

What are common LinkedIn Insight Tag HubSpot CMS cookie consent mistakes?

Common mistakes include firing the tag before consent, mapping it to the wrong consent category, not handling the reject flow, ignoring consent withdrawal, and hardcoding the tag without a consent wrapper. Regular scanning and testing help avoid these issues.

---

Properly managing LinkedIn Insight Tag HubSpot CMS cookie consent is essential for GDPR compliance and user trust. By following the steps above and validating with GDPRChecker, you can ensure your HubSpot site respects visitor choices while still leveraging LinkedIn’s advertising tools. For more on related topics, explore our guides on Google Analytics GDPR compliance and cookie banner requirements.

Ready to verify your setup? Run a GDPRChecker scan today and close the consent gap.

GDPRChecker guides are educational resources and do not constitute legal advice. Use them to understand technical and operational privacy requirements, and consult qualified counsel for legal interpretation.

Check Your Website in Under 60 Seconds

  • Sign in required
  • GDPR-focused checks
  • Cookie banner detection
  • Privacy policy verification