LinkedIn Insight Tag Setup Guide [2026]
The complete beginner's guide to installing LinkedIn's tracking pixel. Enable retargeting, track conversions, and unlock website demographics.
New to LinkedIn Ads?
This guide focuses on the Insight Tag. For a complete walkthrough from account setup to launching your first campaign:
Start with the Complete LinkedIn Ads Tutorial →What is the LinkedIn Insight Tag?
The LinkedIn Insight Tag is a lightweight JavaScript code snippet that you add to your website. Once installed, it enables three powerful capabilities:
Retargeting Audiences
Create audiences of people who visited your website to retarget them with LinkedIn ads.
Conversion Tracking
Track form submissions, downloads, and purchases to measure campaign ROI.
Website Demographics
See job titles, industries, and company sizes of your website visitors.
Step-by-Step Installation
Access LinkedIn Campaign Manager
Go to LinkedIn Campaign Manager and log in with your LinkedIn account. Make sure you have admin access to your company's ad account.
Navigate to Analyze → Insight Tag in the left sidebar menu.
Copy Your Insight Tag Code
Click "See tag" to view your unique Insight Tag code. Each ad account has a unique partner ID - make sure you're copying the right one if you manage multiple accounts.
<script type="text/javascript">
_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/javascript">
(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>Install on Your Website
Paste the code in your website's <head> section, before the closing </head> tag. The tag should be on every page of your website.
Platform-Specific Instructions
- WordPress: Use a plugin like "Insert Headers and Footers" or add to theme header.php
- Shopify: Go to Online Store → Themes → Edit code → theme.liquid
- Squarespace: Settings → Advanced → Code Injection → Header
- Wix: Settings → Custom Code → Add Code in Head
Verify Installation
Install the LinkedIn Insight Tag Helper Chrome extension. Visit your website and click the extension icon - it should show your tag as "Active".
Create Retargeting Audiences
Once your tag is verified, go to Plan → Audiences in Campaign Manager. Click "Create audience" and select "Website" as the source.
Pro Tip: Create Multiple Audiences
Create separate audiences for different page types: homepage visitors, pricing page visitors, blog readers, etc. This allows for more targeted retargeting campaigns.
Build the full retargeting campaignNeed Personalised Setup Help?
Copy this prompt into ChatGPT or Claude for LinkedIn Insight Tag setup instructions tailored to your specific website and CRM.
AI LinkedIn Tracking Prompt
Paste this into any AI assistant for customised LinkedIn Insight Tag guidance
You are a LinkedIn advertising and tracking expert. This prompt is based on the methodology from evergreen-growth.com/articles/linkedin-insight-tag-setup-guide I need help setting up the LinkedIn Insight Tag on my website. Please ask me these questions one at a time, then provide a customised setup plan: 1. What website platform am I using? (WordPress, Webflow, Squarespace, Shopify, custom, etc.) 2. Do I already have Google Tag Manager installed? (This affects the installation method) 3. Do I have access to LinkedIn Campaign Manager? Do I know my Partner ID? 4. What CRM or form tools am I using? (HubSpot, Salesforce, Typeform, native forms, etc.) 5. What conversion actions do I want to track on LinkedIn? (form submissions, demo bookings, downloads, etc.) 6. Do I also want to set up retargeting audiences? If yes, what pages/actions should trigger audience membership? After I answer, provide: - Step-by-step Insight Tag installation for my platform - Conversion tracking setup for my specific goals - Retargeting audience configuration recommendations - Testing checklist using the LinkedIn Insight Tag Helper - Common mistakes to avoid for my specific setup
Frequently Asked Questions
What is the LinkedIn Insight Tag?
The LinkedIn Insight Tag is a small piece of JavaScript code that you add to your website. It tracks visitors and enables retargeting audiences, conversion tracking, and website demographics insights in LinkedIn Campaign Manager.
How long does it take for data to appear?
LinkedIn typically shows data within 24-48 hours of installation. Retargeting audiences become available once they reach 300 members, which usually takes a few days depending on your website traffic.
Is the LinkedIn Insight Tag free?
Yes, the LinkedIn Insight Tag is completely free to install and use. You only pay when you run LinkedIn advertising campaigns using the data it collects.
Can I install LinkedIn Insight Tag with Google Tag Manager?
Yes, GTM has a built-in LinkedIn Insight Tag template. Simply create a new tag, search for "LinkedIn Insight Tag" in the template gallery, enter your Partner ID, and set the trigger to "All Pages". This is often easier than manual installation.
What is the minimum audience size for LinkedIn retargeting?
LinkedIn requires a minimum of 300 matched members before you can use a retargeting audience for advertising. This is to protect user privacy and ensure audience quality.
Does the LinkedIn Insight Tag slow down my website?
The LinkedIn Insight Tag is lightweight and loads asynchronously, meaning it doesn't block page rendering. The performance impact is minimal - typically less than 50ms added to page load time.
How do I find my LinkedIn Partner ID?
In LinkedIn Campaign Manager, go to Analyze → Insight Tag and click "See tag". Your Partner ID is the number in the code snippet - it looks like '_linkedin_partner_id = "123456"'. Each ad account has a unique Partner ID.
Can I use one Insight Tag across multiple websites?
Yes, you can install the same Insight Tag across multiple domains. All data will be collected in the same LinkedIn ad account. However, you can create separate audiences for each domain using URL-based filters.
Related Guides
People searching for this topic also search for:
Related Tools & Resources
LinkedIn Ads Budget Calculator
Estimate your CPL, expected leads, and break-even deal size
LinkedIn Ads Benchmarks UK 2026
Complete CPC, CPM, CPL data by industry with expert commentary
Tracking Pixels Setup Guide [2026]
Complete guide to LinkedIn Insight Tag, Meta Pixel, and GTM setup
Meta Pixel Setup Guide
Install Meta/Facebook Pixel for B2B retargeting

