How to use the LinkedIn Conversion Code Generator
- Create a conversion in Campaign Manager → Analyze → Conversion tracking, method “Insight Tag – event-specific”.
- Paste its conversion ID.
- Choose click or form submit and enter the CSS selector.
- Copy the code into your site after the Insight Tag.
Page-load vs event-specific conversions
LinkedIn can count a conversion when someone visits a URL (no code needed) or when your code calls lintrk — the only option for button clicks, form submits on the same page, and single-page apps. The Insight Tag with your partner ID must already be on the page.
Also searched as: linkedin conversion tracking code, lintrk track, linkedin insight tag event, linkedin conversion id, linkedin button click tracking, linkedin form submit conversion.
Tools that pair well with the LinkedIn Conversion Code Generator
- Ad Pixel Event Code Generator — Pick a platform — Meta Pixel, Meta Conversions API, TikTok Pixel, LinkedIn Insight Tag or Pinterest Tag — choose a standard event like Lead, Purchase or CompletePayment, fill in the value, currency and items, and copy code that fires right away or on a click or form submit.
- Event Tracking Script Generator — Track button clicks, links and form submits by adding attributes instead of code: data-track="sign_up_click" plus optional data-track-* parameters.
- Meta Pixel Event Generator — Build Meta Pixel event code — fbq('track', 'Purchase', …) — for Lead, Purchase, AddToCart, CompleteRegistration and every other standard event, with value, currency and contents, an event ID for deduplication, and an optional click or form-submit trigger.
- Consent Mode Checker — Check a site’s cookie consent the way a regulator or an ad platform would.