Free scan
LinkedIn Insight Tag · troubleshooting

The LinkedIn Insight Tag fires before consent

The Insight Tag is a standard ad pixel: paste it in the page, it runs on load, contacts LinkedIn, and drops identifiers. There is no built-in wait-for-consent behavior — if you did not gate it, it fires with the page, on every page, for every visitor.

The short answer

It is easy to miss because it is quiet. There is no widget, no visible change, and B2B marketers usually install it once during a campaign launch and never look again. In our own scan of 3,891 small-business sites, the LinkedIn Insight Tag was firing before consent on 327 sites — fourth behind Google's ad tags, the Meta Pixel, and Microsoft Clarity.

The fix is the same shape as any other ad pixel: hold the tag until the visitor accepts advertising cookies, using either your consent platform's script blocking or a consent requirement on the GTM tag.

Last reviewed: September 1, 2026Diagnostic + fix checklistGeneral information, not legal advice

What it looks like

Fresh incognito window, DevTools → Network, filter on licdn, banner untouched. An ungated install loads snap.licdn.com/li.lms-analytics/insight.min.js with the page and then calls a collection endpoint on px.ads.linkedin.com carrying your partner ID. Application → Cookies shows LinkedIn identifiers such as li_sugr and, for visitors with a LinkedIn session, bcookie / lidc on the .linkedin.com domain.

The confirming evidence is in Campaign Manager: your website-demographics reporting shows traffic volumes that match your total sessions rather than your consented sessions.

DevTools → Network — fresh incognito, banner untouched:
GET snap.licdn.com/li.lms-analytics/insight.min.js ← loads with the page
GET px.ads.linkedin.com/collect/?pid=…&fmt=gif ← fires before any banner click
Cookie: li_sugr=… ← identifier set on first paint

Verify it yourself in five minutes

Two minutes in the browser, three in Tag Manager. You are establishing one fact: does anything reach LinkedIn before the visitor answers the banner?

  1. Fresh incognito window, DevTools → Network, Preserve log and Disable cache ticked. Load your homepage and leave the banner alone.
  2. Filter for licdn. If insight.min.js appears, the script loaded pre-consent. Filter for px.ads.linkedin.com — that is the request that actually reports the visit.
  3. Check the payload. Click the collect request and look at the query string: pid is your partner ID, and the referrer and page URL travel with it. That is what was transmitted before anyone agreed to anything.
  4. Check storage. Application → Cookies: look for li_sugr on your domain and LinkedIn cookies on .linkedin.com.
  5. Find every install path. View source (or search the rendered DOM) for _linkedin_partner_id, then check your GTM container for a LinkedIn tag, and check any marketing plugin or site-builder integration that offers a one-click LinkedIn pixel. Duplicate installs are common — one gated, one forgotten.
  6. Repeat on a gated-content or demo-request page, since those are the templates B2B sites add conversion tags to first.

What a healthy result looks like: A gated install shows nothing on licdn.com or ads.linkedin.com until you click Accept, and then shows both.

Why it happens

1. The base snippet is hardcoded in the theme

LinkedIn's install instructions produce a raw script block with _linkedin_partner_id that goes straight into the site's header. Raw snippets execute as written, before any consent tool can intervene, unless the CMP explicitly rewrites the tag.

2. The GTM tag has no consent requirement

Installed via Tag Manager on an All Pages trigger with the default "no additional consent required", the tag fires the moment the container loads.

3. The CMP does not recognize the domains

Auto-blocking works from a recognition list. snap.licdn.com and px.ads.linkedin.com are sometimes missing or uncategorized, and many platforms default unknown scripts to allowed.

4. Conversion tracking was added separately

The Insight Tag and its conversion events are often installed by different people at different times — the base tag by an agency at campaign launch, event tracking by whoever built the demo-request form. Gating one does not gate the other.

The risk context

California's Invasion of Privacy Act (CIPA), Penal Code § 631, prohibits intercepting a communication without the consent of all parties. Since 2022, plaintiff firms have applied that decades-old wiretapping statute to websites — arguing that transmitting a visitor's page views and professional-audience signals to LinkedIn for ad targeting before the visitor consents is an intercepted communication. Statutory damages under § 637.2 run up to $5,000 per violation, and plaintiffs argue each affected visitor session is a separate count, which is why even small sites receive demand letters. Similar all-party-consent statutes in Pennsylvania (WESCA), Florida (FSCA), and Massachusetts have produced parallel filings.

B2B sites sometimes assume the litigation wave is a consumer-retail problem. It is not: the claims turn on whether a third party received the contents of a visitor's interaction before consent, and a B2B visitor is as much a California resident as a retail shopper.

To be precise about what a network log can tell you: a tracker firing before consent is a technical finding — it establishes when a script transmitted data, not whether any law was broken. But timing is exactly what these claims are built on, which is why fixing the timing is the practical response.

How to fix it

What this is called

Terminology bridge

LinkedIn's documentation calls this the Insight Tag; the number in the snippet is your partner ID, and the reporting it powers is website demographics and conversion tracking. In consent language, an ad pixel belongs to the advertising / targeting category, and holding it until opt-in is prior blocking. When it fires anyway, the pattern is a consent gap: the window between page load and the visitor's answer, during which a third party already has the data.

What a scan can and can't tell you

A scan records that a request went to LinkedIn and when. It does not tell you what LinkedIn does with it, whether any specific visitor was a California resident, or whether a court would treat any of it as a violation — those are legal and factual questions well outside what a network log can answer. What the log settles is the timing, and timing is the part you control.

Sources

  1. LinkedIn: Add the LinkedIn Insight Tag to your websitelinkedin.com
  2. Google: Tag Manager consent mode supportsupport.google.com
  3. California Penal Code § 631 (leginfo.legislature.ca.gov)leginfo.legislature.ca.gov
  4. California Civil Code § 1798.140 — definitions of sell, share, and consentleginfo.legislature.ca.gov

Check your own site

RegSentry loads your site in a real browser, records when each third-party tracker first contacts its server, and flags everything that fires before consent — with the fix for each one. Continuous monitoring re-runs it and emails you when something new appears.

Free real-browser scan

See every pre-consent tracker on your site — free, 30 seconds, no signup.

Real browser scan, no signup to run it. You see a summary of the findings; the full report with every tracker unlocks with your email.

Common questions

Does the LinkedIn Insight Tag fire before consent by default?
Yes. The standard install is a raw script block that executes on page load and reports the visit to LinkedIn immediately. There is no built-in consent wait — gating has to come from your consent platform or from a consent requirement on the Tag Manager tag.
Is a B2B site really exposed to these claims?
The claims turn on a third party receiving visitor interaction data before consent, not on what the site sells. A B2B visitor from California is covered the same way a retail shopper is. In our own scan of 3,891 small-business sites the LinkedIn Insight Tag was firing pre-consent on 327 of them. This is general information, not legal advice.
How do I stop the Insight Tag firing before consent?
Find every install (search the rendered page for _linkedin_partner_id, check the GTM container, check marketing plugins), keep one copy, run it as a GTM tag that requires ad_storage consent or as a CMP-managed script, gate the conversion events as well, then re-scan to confirm nothing reaches licdn.com before the visitor accepts.

Keep reading

LinkedIn Insight compliance guideTikTok Pixel fires before consentMeta Pixel fires before consentReport: the state of website trackingCompliance for SaaS & technology