LinkedIn Conversion Tracking Code Generator — lintrk

Track LinkedIn ad conversions for button clicks and form submits. Enter the conversion ID from Campaign Manager and get lintrk('track', { conversion_id }) code that fires right away, on a click or on a form submit — with an optional event ID for the Conversions API.

Runs in your browserUpdated

Items

Your data never leaves your computer. All processing happens 100% locally in your browser.

How to use the LinkedIn Conversion Code Generator

  1. Create a conversion in Campaign Manager → Analyze → Conversion tracking, method “Insight Tag – event-specific”.
  2. Paste its conversion ID.
  3. Choose click or form submit and enter the CSS selector.
  4. 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.

Frequently asked questions

Why isn’t my LinkedIn conversion counting?
Check the Insight Tag loads (Campaign Manager shows its status), the conversion ID matches, and the visitor saw or clicked a LinkedIn ad within the attribution window.
Can I send a conversion value?
Set a default value on the conversion in Campaign Manager; the lintrk call itself only carries the conversion ID.
Does it work in Webflow?
Yes — paste the code in Site settings → Custom code → Footer, inside script tags, with the click selector of your button.
Can I install LinkedIn Conversion Code Generator as a web app and use it offline?
Yes. LinkedIn Conversion Code Generator is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

Related tools