Skip to content

Early-bird lifetime licence: $199 once, for the first 200 buyers only. See the offer

LinkedIn Insight Tag

Adds LinkedIn’s Insight Tag to every page, for LinkedIn ads conversions and audiences. Visits by administrators aren’t counted.

Before you switch it on: Replace XXXXXXX with your partner ID from LinkedIn Campaign Manager > Analyze > Insight Tag.

It arrives switched off, even when you install its whole pack with "Switch on after installing".

HTML
<!-- LinkedIn Insight Tag -->
<script>
window._linkedin_partner_id = 'XXXXXXX';
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push( window._linkedin_partner_id );
( 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.async = true;
	b.src = 'https://snap.licdn.com/li.lms-analytics/insight.min.js';
	s.parentNode.insertBefore( b, s );
} )( window.lintrk );
</script>

Good to know

In the EU, load it only after consent.

Comes with a rule

It doesn't run for administrators, so your own visits don't count in your statistics. You can change the rule after installing.

In these packs

  • More tracking codes: Google Ads, TikTok, LinkedIn, Pinterest, Hotjar, Plausible, site verification and a GA4 purchase event.

Move your snippets over this afternoon.

Importing changes nothing until you switch over, and your old shortcodes keep working.