# LinkedIn Insight Tag

> Adds the LinkedIn Insight Tag for conversion tracking and retargeting with LinkedIn ads.

- Type: HTML
- Runs: Site-wide footer
- Category: [Analytics & Tracking](https://wpide.com/library/category/analytics/)
- Tags: analytics, linkedin, ads, tracking
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/linkedin-insight-tag/

## Code

```html
<!-- LinkedIn Insight Tag. Replace YOUR_PARTNER_ID (two places) with your partner ID. -->
<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>
<noscript><img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=YOUR_PARTNER_ID&fmt=gif" /></noscript>
```

## Notes

YOUR_PARTNER_ID is a placeholder from LinkedIn Campaign Manager > Insight Tag.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "LinkedIn Insight Tag" in its snippet library and add it in one click; or create a new HTML snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
