Advertising vendor · LinkedIn Corporation
LinkedIn Insight Tag Cookies: List With Purpose and Retention
Last verified 2026-10-16 · Updated 2026-10-16
On this page
Cookies the LinkedIn Insight Tag Sets on Your Site
The LinkedIn Insight Tag sets up to 5 cookies on your own domain, led by li_fat_id, and LinkedIn lists 14 more on .linkedin.com for its services. The cookies on .linkedin.com reach a visitor only in browsers that accept third-party cookies. The li_fat_id cookie on your own domain therefore carries most of the conversion tracking in Safari and Firefox.
| Name | Type | Category | Party | Retention | What it does |
|---|---|---|---|---|---|
_guid | Cookie | Advertising | Third-party | 90 days (3 months) | The _guid cookie identifies a LinkedIn member for advertising through Google Ads for 90 days. |
AnalyticsSyncHistory | Cookie | Analytics | Third-party | 30 days | The AnalyticsSyncHistory cookie records for 30 days when LinkedIn last synced the lms_analytics cookie. |
ar_debug | Cookie | Advertising | First-party | Session | The ar_debug cookie supports the integration of LinkedIn with the attribution reporting API of Google Chrome. |
bcookie | Cookie | Functionality | Third-party | 1 year (365 days) | The bcookie cookie identifies the browser on .linkedin.com for 1 year, which LinkedIn uses to detect abuse and run diagnostics. |
bscookie | Cookie | Functionality | Third-party | 1 year (365 days) | The bscookie cookie remembers for 1 year that the browser completed a LinkedIn login or 2-step verification. |
li_fat_id | Cookie | Advertising | First-party | 30 days | The li_fat_id cookie is a LinkedIn Insight Tag advertising cookie that links a visit to an ad click for 30 days and needs consent in the EU. |
li_gc | Cookie | Functionality | Third-party | 180 days (6 months) | The li_gc cookie stores for 6 months the choice of a LinkedIn guest about non-essential LinkedIn cookies. |
li_giant | Cookie | Advertising | First-party | 7 days | The li_giant cookie identifies a group of LinkedIn members for conversion tracking for 7 days. |
li_sugr | Cookie | Advertising | Third-party | 90 days (3 months) | The li_sugr cookie lets LinkedIn match a browser to a person by probability for 90 days. |
lidc | Cookie | Functionality | Third-party | 1 day | The lidc cookie picks the LinkedIn data center that serves the browser for 24 hours. |
lms_ads | Cookie | Advertising | Third-party | 30 days | The lms_ads cookie identifies LinkedIn members outside LinkedIn for advertising for 30 days. |
lms_analytics | Cookie | Analytics | Third-party | 30 days | The lms_analytics cookie identifies LinkedIn members outside LinkedIn for analytics for 30 days. |
ln_or | Cookie | Analytics | First-party | 1 day | The ln_or cookie records for 1 day whether LinkedIn analytics, formerly Oribi, runs on the domain. |
oribi_cookie_test | Cookie | Analytics | First-party | Session | The oribi_cookie_test cookie tests whether the browser accepts cookies before LinkedIn analytics starts. |
UserMatchHistory | Cookie | Advertising | Third-party | 30 days | The UserMatchHistory cookie syncs LinkedIn Ads IDs with other ad platforms for 30 days. |
Scripts, Pixels, and Endpoints the LinkedIn Insight Tag Loads
The LinkedIn Insight Tag loads 3 known scripts, pixels, and data endpoints. Each row gives the host to look for in the Network tab of Chrome DevTools or in a cookie scanner report.
| Type | Resource | Host | What it does |
|---|---|---|---|
| Script | LinkedIn Insight Tag library (insight.min.js) | snap.licdn.com | The Insight Tag library loads from snap.licdn.com, reads the li_fat_id URL parameter, and writes the li_fat_id cookie. |
| Pixel | LinkedIn Insight Tag image pixel (noscript) | px.ads.linkedin.com | The image pixel in the <noscript> part of the Insight Tag reports a page view from browsers without JavaScript. |
| Data endpoint | LinkedIn Insight Tag collection endpoint | px.ads.linkedin.com | The collection endpoint receives every page view and conversion that the Insight Tag records, which triggers the LinkedIn cookies on .linkedin.com. |
Does the LinkedIn Insight Tag Need Consent?
Yes, the LinkedIn Insight Tag cookies need consent in the EU and the UK, and need no prior opt-in in California. The table gives the rule for each law, taken from the page of the li_fat_id cookie.
| Law | Consent before the cookies are set | Opt-out right | Source |
|---|---|---|---|
| EU ePrivacy Directive + GDPR | Required | Withdraw at any time | Article 5(3), ePrivacy Directive |
| UK PECR | Required | Withdraw at any time | Regulation 6 and Schedule A1, PECR |
| California CCPA | No general opt-in | Opt out of sale and sharing | Cal. Civ. Code 1798.120 |
The consent table describes what each law requires and is not legal advice. Whether a law applies to your site depends on where your visitors are, where your business is based, and how you set up the LinkedIn Insight Tag, such as Enhanced conversion tracking.
Read the reason for each answer in the consent rules for the li_fat_id cookie.
How to Add the LinkedIn Insight Tag to a Consent Banner
Add the LinkedIn Insight Tag to a consent banner by holding back the LinkedIn Insight Tag until the visitor accepts advertising cookies. Both TermsFeed products block the LinkedIn Insight Tag in the Advertising category.
Add the LinkedIn Insight Tag to TermsFeed Free Cookie Consent
TermsFeed Free Cookie Consent runs a tagged script only after the visitor accepts its category. Change type="text/javascript" to type="text/plain" and add data-cookie-consent="targeting".
<script type="text/plain" data-cookie-consent="targeting">
_linkedin_partner_id = "YOUR_PARTNER_ID";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
</script>
<script type="text/plain" data-cookie-consent="targeting">
(function (l) {
if (!l) {
window.lintrk = function (a, b) { window.lintrk.q.push([a, b]); };
window.lintrk.q = [];
}
var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";
b.async = true;
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
s.parentNode.insertBefore(b, s);
})(window.lintrk);
</script>
Cookie Consent is free and needs no account. Build your free consent banner with TermsFeed Free Cookie Consent.
Add the LinkedIn Insight Tag to TermsFeed Privacy Consent
Add the LinkedIn Insight Tag from its template in TermsFeed Privacy Consent, and the Insight Tag loads only after the visitor accepts the LinkedIn vendor. Type your Partner ID, which LinkedIn Campaign Manager shows under Data, Signals manager, and Insight Tag. The template adds the 2 script elements of the Insight Tag without the <noscript> image.
The LinkedIn Insight Tag template asks for the Partner ID and fills every other field of the vendor. Pick the "LinkedIn Insight Tag" card under Advertising, enter the Partner ID, and click "Add LinkedIn Insight Tag". Find the Partner ID in LinkedIn Campaign Manager under Data › Signals manager › Insight Tag. The illustration shows the template form in the TermsFeed app.
Privacy Consent detects the location of each visitor and records every answer in a consent log. Set up the LinkedIn Insight Tag from its template with TermsFeed Privacy Consent.
Follow every step, the vendor settings, and the check in Chrome DevTools in how to block the li_fat_id cookie.
Who Runs the LinkedIn Insight Tag
LinkedIn Corporation runs LinkedIn from the United States, and LinkedIn Ireland Unlimited Company provides LinkedIn Marketing Solutions to advertisers in the European Economic Area (EEA) and Switzerland. Microsoft owns LinkedIn.
Read how LinkedIn Corporation handles the data in the LinkedIn Insight Tag privacy policy, and sign the LinkedIn Data Processing Agreement before you collect data from visitors in the EU or the UK. Both documents appear in the sources at the end of this page.
LinkedIn Insight Tag Cookie FAQs
Does the LinkedIn Insight Tag need consent?
Yes, the LinkedIn Insight Tag cookies need consent in the EU and the UK, and need no prior opt-in in California. Firstly, the ePrivacy Directive requires consent before a site sets the advertising cookies of the LinkedIn Insight Tag. Secondly, the UK PECR requires consent before a site sets the advertising cookies of the LinkedIn Insight Tag. Thirdly, the CCPA sets no general opt-in requirement for the advertising cookies of the LinkedIn Insight Tag, and the table gives the opt-out right of visitors. The consent section of this page gives the table for each law.
How long do the LinkedIn Insight Tag cookies last?
The cookies of the LinkedIn Insight Tag last up to 1 year (365 days), and 2 cookies last for the browser session. A session cookie such as ar_debug has no expiry date, and the bcookie cookie lasts longest. The retention column of the cookie list gives the lifetime of each cookie.
How do I block the LinkedIn Insight Tag cookies?
Block the the LinkedIn Insight Tag cookies by holding back the LinkedIn Insight Tag until the visitor accepts advertising cookies. Tag the LinkedIn Insight Tag with data-cookie-consent="targeting" in TermsFeed Free Cookie Consent, or add the LinkedIn Insight Tag as a vendor in TermsFeed Privacy Consent. The page of the li_fat_id cookie gives the full steps and the settings of the LinkedIn Insight Tag.
Sources for the LinkedIn Insight Tag Cookies
The facts on this page come from the documentation LinkedIn publishes, checked on 2026-10-16. The list gives every source, so you check each fact yourself.