Marketing / AdvertisingConsent required
What is the li_gc Cookie?
Set by LinkedIn (LinkedIn Corporation (Microsoft)). Expires after 6 months.
Purpose
Stores the visitor's consent state for the use of non-essential LinkedIn cookies when LinkedIn content or the Insight Tag is embedded.
A guest consent cookie for LinkedIn's own cookies; still set in a third-party advertising context.
Cookie Details
| Cookie Name | li_gc |
| Service | |
| Provider | LinkedIn Corporation (Microsoft) |
| Category | Marketing / Advertising |
| Duration | 6 months |
| Consent Required | Yes — requires explicit opt-in |
Category: Marketing / Advertising
Marketing cookies are used to track visitors across websites to display relevant advertisements. Consent is required under GDPR.
GDPR Requirements
Under GDPR and the ePrivacy Directive, the li_gc cookie requires explicit user consent before it can be set. This means:
- The cookie must not be set when a user first visits your site — not even for a fraction of a second
- A consent banner must be displayed, and the user must actively accept analytics/marketing cookies
- If the user rejects or ignores the banner, this cookie must remain blocked
- The cookie must be listed in your cookie policy with its name, purpose, and retention period
- Users must be able to withdraw consent at any time, which must also remove or invalidate this cookie
How to Handle This Cookie
- Block it by default — configure your Consent Management Platform (CMP) or tag manager to prevent LinkedIn from loading until the user accepts marketing cookies.
- Include it in your consent categories — map it to the "Marketing / Advertising" category in your CMP configuration.
- List it in your cookie policy — document the cookie name, purpose, provider (LinkedIn Corporation (Microsoft)), and expiry (6 months).
- Sign a DPA — ensure you have a Data Processing Agreement with LinkedIn Corporation (Microsoft) covering their use of data collected via this cookie.
- Verify it works — in an incognito browser, reject cookies and confirm
li_gcis not set.
Other LinkedIn Cookies
| Cookie | Category | Duration |
|---|---|---|
| bcookie | Marketing / Advertising | 2 years |
| lidc | Marketing / Advertising | 1 day |
| UserMatchHistory | Marketing / Advertising | 30 days |
| AnalyticsSyncHistory | Marketing / Advertising | 30 days |
Is this cookie on your website?
Scan your website to see every cookie it sets, whether they're blocked before consent, and get a full GDPR compliance report.
Scan your website free →