Skip to main content
All guides
Serious KVKK m.5 · GDPR Art. 6 · ePrivacy Art. 5(3) · Chapter V · Advertising

LinkedIn Insight Tag needs consent before it loads (KVKK/GDPR)

The LinkedIn Insight Tag drops advertising cookies to enable B2B retargeting, conversion tracking and audience insights. On page load, that is advertising processing without a legal basis.

Why it matters

The Insight Tag exists to profile visitors for ads and to match them to LinkedIn members — non-essential by definition, so prior consent is required (KVKK Art. 5 / GDPR Art. 6 / ePrivacy Art. 5(3)). It also sends data to LinkedIn in the US, engaging transfer rules. Loading it before a choice is made means the advertising cookies are set the instant the page opens.

How to fix it

Do not inject the Insight Tag on load. Set the partner ID and load snap.licdn.com only from your consent accept callback. A visitor who rejects advertising should generate no requests to snap.licdn.com.

<!-- Do NOT load on page load. Only inside the Accept handler: -->
function onConsentAccepted() {
  window._linkedin_partner_id = 'YOUR_PARTNER_ID';
  window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
  window._linkedin_data_partner_ids.push(window._linkedin_partner_id);
  var s = document.createElement('script');
  s.async = true;
  s.src = 'https://snap.licdn.com/li.lms-analytics/insight.min.js';
  document.head.appendChild(s);
}

Does your site have this issue?

Run a free scan to find out in seconds.

Official sources

Links to primary legislation for reference. PrivaScan is not affiliated with these bodies; this is information, not legal advice.

Related guides

These guides cover automated checks for trackers, cookies and data flows. A full privacy review also needs legal input.