Overview
LinkedIn Ads is LinkedIn's full advertising platform, encompassing sponsored content, message ads, dynamic ads, and text ads targeted at professional audiences. When its tracking scripts appear on a website, they measure conversions from LinkedIn ad campaigns — tracking whether users who clicked a LinkedIn ad completed a desired action such as a purchase, sign-up, or download.
What This Script Does
LinkedIn Ads conversion tracking scripts load from snap.licdn.com and px.ads.linkedin.com. These scripts are closely related to the LinkedIn Insight Tag but are specifically configured to fire conversion events rather than general page tracking.
When a user arrives at the website from a LinkedIn ad, the scripts:
- Read the LinkedIn click identifier from the URL parameter (typically
li_fat_idor a campaign-specific parameter) - Set first-party cookies to persist the click attribution across the user's session
- Fire conversion pixels when the user completes target actions (form submissions, purchases, page views of thank-you pages)
- Send conversion data back to LinkedIn's campaign reporting API
Cookies set include:
li_fat_id— first-party ad tracking cookie storing the LinkedIn click identifier; 30-day expiryUserMatchHistory— cross-domain visitor ID sync cookie; 30-day expiryAnalyticsSyncHistory— ID sync tracking for analytics matching; 30-day expiryli_sugr— browser identifier for non-LinkedIn-member matching; 90-day expiry
The scripts contact px.ads.linkedin.com for conversion reporting, www.linkedin.com for cookie synchronization, and lnkd.demdex.net for audience matching through Adobe's data co-op (when the advertiser uses both platforms).
LinkedIn Ads scripts build retargeting audiences by segmenting website visitors based on pages viewed, actions taken, and conversion events. These audience segments are then available in LinkedIn Campaign Manager for targeting in subsequent ad campaigns.
Consent & Compliance
LinkedIn Ads is classified as marketing. Its sole purpose is advertising — measuring ad campaign effectiveness, building retargeting audiences, and attributing conversions to LinkedIn ad spend.
Under the GDPR, LinkedIn Ads conversion tracking requires explicit consent. The scripts process personal data (click identifiers, browsing behavior, conversion events) for direct marketing purposes. Legitimate interest is not a viable legal basis given the cross-site tracking and audience building involved.
Under the ePrivacy Directive, the cookies set for ad attribution and retargeting are not strictly necessary for any user-requested service. Prior consent is required under Article 5(3) before these cookies may be placed.
Under CCPA/CPRA, LinkedIn Ads tracking constitutes sharing personal information for cross-context behavioral advertising. Websites must honor opt-out requests and GPC signals. The retargeting audience building and cross-platform cookie syncing are clear instances of sharing under CPRA.
Should You Block This Without Consent?
Yes. LinkedIn Ads scripts exist solely for advertising purposes — conversion tracking, retargeting, and campaign attribution. They set cross-site tracking cookies and share data with LinkedIn's ad platform. These scripts must not execute before the user grants marketing consent.
Is LinkedIn Ads GDPR compliant?
LinkedIn Ads typically loads marketing trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So LinkedIn Ads can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads LinkedIn Ads, not on LinkedIn Ads itself.
Consent Categories
Also Known As
Industries
Tracked Domains (1)
ads.linkedin.comMarketingads.linkedin.com is a marketing domain operated by LinkedIn Ads, used to serve ads, build audiences, and measure ad conversions.
Frequently Asked Questions
Other LinkedIn Products
Related Vendors
Manage consent for LinkedIn Ads
ConsentStack automatically detects and manages LinkedIn Ads trackers so your site stays compliant with global privacy regulations.