On this page
What this issue is
The LinkedIn Insight Tag is a JavaScript snippet from LinkedIn. It loads on your pages and sends a request to LinkedIn each time someone visits. LinkedIn uses it for conversion tracking, website retargeting and website demographics reports.
This issue means the tag is not on your pages at all. It may never have been added, or it was lost in a theme change, a Tag Manager publish, a site rebuild or a consent setup that blocks it.
Why it costs you leads or sales
Without the tag, LinkedIn Campaign Manager records no conversions, even when people fill in your form after clicking an ad. Campaigns then look like they bring nothing. Bidding that optimises for conversions has no data to learn from, and you may pause campaigns that were working.
You also lose retargeting. Visitors are never added to website audiences, so you cannot show ads to people who viewed your pricing page. LinkedIn is often a costly channel, so wasted spend here adds up quickly.
- LinkedIn ad clickVisitor lands on your site
- Insight Tag loadsScript absent from the page
- Conversion recordedNothing sent to LinkedIn
- Retargeting audienceVisitor never added
The ad click and the lead still happen, but LinkedIn never hears about them.
Example: the same campaign and the same real leads, with the tag missing and with it installed.
How to check if your site has it
Open your site in a private window
Use a browser without ad blockers, and accept cookies if a banner appears.
Open DevTools, Network tab
Press F12, choose Network and reload the page.
Filter for LinkedIn
Type
px.ads.linkedin.comorsnap.licdn.comin the filter box. You should see the script load and a request to/collect.Check key pages
Repeat on the home page, landing pages, the form page and the thank-you page.
Use LinkedIn's own view
In Campaign Manager, open Analyze, then Insight Tag. It shows the tag status and when it last fired.
How to fix it
First find your Partner ID: in Campaign Manager, open Analyze, then Insight Tag, and copy the number. Then add the tag using the method that matches your site.
Create a new tag
Tags, New, then choose the LinkedIn Insight Tag template from the Tag Gallery (or a Custom HTML tag with the official snippet).
Enter your Partner ID
Paste the number from Campaign Manager.
Set the trigger
Use All Pages. If you use consent, add the consent requirements for ad storage.
Preview and publish
Test in Preview mode, then Submit and publish the container.
Pick a method
Use Google Tag Manager, or a header and footer scripts plugin, or your theme's custom code area.
Paste the official snippet
Add it to the site-wide header or just before the closing body tag, with your Partner ID.
Clear caches
Purge your caching plugin and CDN so pages serve the new code.
Use Customer events
In Settings, Customer events, add a custom pixel and paste the Insight Tag code, or install it through Google Tag Manager.
Set permissions
Mark it as marketing so it respects customer privacy choices, then connect it.
Add custom code
In Site settings, Custom code, paste the snippet into Head code.
Publish
Publish the site. The code does not run on unpublished changes.
Add a custom tracking tag
In Settings, Custom code, add the snippet, apply it to All pages and load it in the Head. Custom code needs a paid Premium plan.
Use code injection
In Settings, Advanced, Code Injection, paste the snippet into the Header box and save.
Add tracking code
Paste the snippet into the Header tracking code of each funnel or website, in its Settings, then save and republish.
Add the snippet to your base template
Place it in the shared head so every page gets it. Replace YOUR_PARTNER_ID with your number.
<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>How to confirm it's fixed
- The Network tab shows a request to px.ads.linkedin.com on a fresh page load
- The tag loads on landing, form and thank-you pages, not only the home page
- The Partner ID matches the one in Campaign Manager
- Campaign Manager's Insight Tag page shows it as active with a recent last-seen time
- The tag loads after you accept the cookie banner
- A conversion rule in Campaign Manager shows a verified status after a test visit
Tag missing
- No request to LinkedIn on page load
- Campaign Manager shows no recent activity
- Zero conversions and empty audiences
Tag installed
- Request to px.ads.linkedin.com on every page
- Tag shows as active
- Conversions and retargeting audiences fill
How to prevent it happening again
- Keep the tag in one place, preferably Tag Manager, and note who owns it
- Re-check the tag after theme changes, site migrations and Tag Manager publishes
- Re-test after any change to your cookie banner or consent setup
- Check Campaign Manager's tag status when you review campaign results
- Run an automated check on your key pages so a loss is caught within a day
How FunnelGuard handles this
FunnelGuard detects this issue today. A robot visitor runs your real customer journey on a schedule, from the EU or the US, and checks the tracking hits sent to ad platforms, LinkedIn included. If the LinkedIn hit is not sent where it should be, the check fails.
A failure is re-checked from a second region first. Then you get one alert by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. Test traffic is marked with utm_source=funnelguard and fg_test=1, and it never clicks real ads. The Free plan covers 1 site and 2 journeys with daily checks and no card, and a free read-only website audit is also available.
Frequently asked questions
Questions people ask
Why is my LinkedIn Insight Tag not detected?
Usually the tag was never added, was removed in a theme or Tag Manager change, or is blocked until the visitor accepts cookies. Check the Network tab for requests to px.ads.linkedin.com, and confirm the Partner ID is correct.
How do I install the LinkedIn Insight Tag?
Copy your Partner ID from Campaign Manager under Analyze, then Insight Tag. Add the tag to every page, using Google Tag Manager's LinkedIn Insight Tag template or by pasting the snippet into your site's header.
Where do I find my LinkedIn Partner ID?
In LinkedIn Campaign Manager, open your account, go to Analyze, then Insight Tag. The Partner ID is the number shown there, and it goes into the tag code.
How can I check if the LinkedIn Insight Tag is firing?
Open your page with DevTools on the Network tab, reload, and filter for px.ads.linkedin.com. A request to it means the tag fired. Campaign Manager's Insight Tag page also shows when it last saw activity.
Does the LinkedIn Insight Tag need cookie consent?
In many regions, yes. It is a marketing tag, so it should usually load only after consent. That means it can look missing before a visitor accepts, so test both before and after accepting the banner.
Can I put the LinkedIn Insight Tag on only some pages?
It should be on every page. Retargeting and conversion tracking rely on LinkedIn seeing the whole visit, not just the last page. Conversion rules can then limit what counts as a conversion.
Will a missing Insight Tag stop my LinkedIn ads from running?
No, ads still run and clicks still happen. But conversions are not counted and website audiences are not built, so reporting and optimisation suffer.