Setting up the LinkedIn Insight Tag via GTM — step by step
How to set up the LinkedIn Insight Tag through Google Tag Manager: drop in your partner ID, then hang conversions off the triggers you already have — no developer needed.
Originally written in German — read it on visnakovs.de.
If you’re looking up the LinkedIn Insight Tag, your site is almost certainly already running a Google Tag Manager — for Google Ads, GA4 or both. Good news: the Insight Tag isn’t a new project then, just another base tag in the container you already have. Partner ID in, All Pages trigger on, done. The conversions then hang off the same triggers your Google Ads conversion tags have been using for months.
That’s what we’ll walk through here. If you don’t have GTM on the site at all yet, start one level down with setting up Google Tag Manager for Google Ads — after that, this article is a 20-minute job.
1. What the Insight Tag is — and why it belongs in GTM
The LinkedIn Insight Tag is LinkedIn’s base tag: a JavaScript snippet that runs on every page of your website and connects your site to your LinkedIn ad account. It plays exactly the role the Google tag plays for Google Ads, or the Meta pixel for Meta — without it, your account is blind.
The tag is identified by your partner ID, a number that maps it to your ad account. That’s all you need for the installation.
What the Insight Tag unlocks:
- Conversion tracking — LinkedIn can see which campaigns lead to enquiries, downloads or purchases, rather than just counting clicks.
- Retargeting (Matched Audiences) — re-address site visitors as an audience, segmented by the pages they viewed.
- Website demographics — an aggregated read on which job titles, industries and company sizes visit your site. In B2B that’s an honest reality check on whether your traffic even consists of your target audience.
Worth understanding: on its own the Insight Tag only measures page views. What counts as a conversion is defined separately in Campaign Manager — section 3 below. Base tag first, conversions second. It’s the same split you know from the Google tag and conversion actions.
And why through GTM rather than straight into the source code? The same reasons as any other tag:
- No developer, no deployment — you’re finished in minutes.
- Your consent logic automatically applies to LinkedIn too.
- Your existing triggers (form submitted, thank-you page, call click) are immediately reusable.
That last point is the real lever: everything you defined cleanly once for Google Ads carries over to LinkedIn one to one.
2. Installing the Insight Tag in GTM
The whole installation is four steps. If your container is already standing, it takes under 15 minutes.
Step 1: Get the partner ID from Campaign Manager
In LinkedIn Campaign Manager you’ll find the tag under Analyse → Insight Tag (LinkedIn renames this menu from time to time — if in doubt, search the account overview for “Insight Tag”). Pick the option to install the tag via a tag manager and LinkedIn shows you your partner ID directly. It’s also in the code snippet, on the line with _linkedin_partner_id. Copy that number; for now it’s the only thing you need out of Campaign Manager.
Step 2: Create the tag in GTM — community template or your own
Two options, both work:
- Option A — community template (recommended). In GTM go to Tags → New → Tag Configuration, search the Community Gallery for “LinkedIn Insight Tag 2.0” (LinkedIn’s own template), add it and enter your partner ID in the Insight Tag ID field. Fully configured, not a line of code.
- Option B — your own custom HTML tag. Copy the full snippet from Campaign Manager into a custom HTML tag. It works just as well, but it’s more error-prone and you maintain the updates yourself. Take option A unless something argues against it.
Step 3: Set the trigger — and don’t forget consent
The tag gets All Pages as its trigger. It’s a base tag and it needs to see every page, otherwise your retargeting lists and URL-based conversions come out full of holes.
But: the Insight Tag is a marketing tag that sends data about your visitors to LinkedIn. In the German market that means consent first, then fire. Concretely: not the bare All Pages trigger, but the same consent-gated trigger your Google Ads and Meta tracking already sits behind. If your consent logic is set up properly in the container, this is a setting, not a building site. If it isn’t, this is the moment to fix it — setting up Consent Mode v2 — the trigger mechanics behind it apply to LinkedIn in exactly the same way.
Step 4: Test, then publish
Don’t publish blind. The check:
- Start GTM preview mode and confirm the Insight Tag fires on a normal page view — after consent is given, not before.
- Filter the browser network tab for “linkedin”: you should see requests going out to LinkedIn’s tracking endpoint.
- Publish the container.
- Check under Insight Tag in Campaign Manager: your domain should show up as detected. That can take a few hours — don’t panic if it isn’t instant.
That’s the foundation in place. Retargeting audiences and website demographics now fill themselves. Conversions need one more step.
3. Creating LinkedIn conversions — on the same triggers as your Google tags
You create a conversion in Campaign Manager under Analyse → Conversion Tracking: name, conversion type (lead, for example), attribution window — and then the decisive question of how it’s measured. LinkedIn offers two routes, and the choice follows the same logic as everywhere else.
Option A: URL-based, via the Insight Tag
If your conversion has its own thank-you page (say /thanks after the form), you need nothing new in GTM at all. You pick the Insight Tag as the source and set a URL rule. The tag already reports every page view, so LinkedIn counts the conversion as soon as someone lands on the thank-you page.
That’s the fastest route. Its limit: it only works when there’s a distinct URL. Forms without a redirect, click targets and embedded booking tools all fall through.
Option B: event-based — where your GTM setup pays off
For anything without its own URL, you create an event-specific conversion in Campaign Manager and get a conversion ID for it. Then in GTM:
- Create a second tag using the same “LinkedIn Insight Tag 2.0” template.
- Enter the partner ID again, plus the conversion ID in the relevant field.
- Choose the same trigger that already fires your Google Ads conversion tag — “form submitted”, the call click, the custom event from your form tool.
That’s the core point of this article: you define nothing twice. The trigger that’s been firing clean Google conversions for months now fires the LinkedIn conversion as well. Same definition, same moment, three minutes of work per conversion — and your channels finally measure the same event instead of three different truths.
If you’re working with custom HTML instead of the template, the event is a one-liner:
window.lintrk('track', { conversion_id: 1234567 });
If that pattern looks familiar, it’s exactly the approach from setting up Bing Ads conversion tracking — same logic, different network. Base tag on all pages, conversion events on the existing triggers. Build your GTM properly once and every further ad network takes under half an hour to connect.
Testing, and reading the numbers correctly
Same drill: GTM preview, trigger the conversion yourself once, confirm the event tag fires. In Campaign Manager the conversion then flips to “Active” — the first counted conversions need a bit of patience.
One honest closing note: don’t expect LinkedIn’s numbers to match Google Ads. LinkedIn counts view-through conversions by default — conversions after a mere ad impression, with no click. That isn’t a fault in your setup, it’s a different attribution model. Look at the attribution settings deliberately when you create the conversion, and never compare channels blindly across platform numbers. Precisely because LinkedIn clicks are among the most expensive in B2B, you want to know exactly what the platform books as a success — and how much of that you’d count as a success too.
The bottom line
The LinkedIn Insight Tag isn’t a tracking project of its own — it’s another tenant in the GTM container you already run. The take-aways:
- Base tag first. Partner ID from Campaign Manager, “LinkedIn Insight Tag 2.0” template in GTM, All Pages trigger — consent-gated, like every marketing tag.
- Conversions on existing triggers. Thank-you page available → URL rule, no GTM work. Otherwise an event-specific conversion with a conversion ID, fired by the same triggers as your Google Ads tags.
- Define nothing twice. A clean container turns every new network into a half-hour task — LinkedIn today, Bing yesterday, the next one tomorrow.
- Put the numbers in context. View-through attribution makes LinkedIn conversions non-comparable with Google’s. Know what’s being counted before you steer budget by it.
Whether your setup actually measures cleanly takes two minutes to check with my tracking check (in German) — and ready-made container blocks to import are in the GTM configurator (in German).
LinkedIn budget running, but you don’t trust the conversion numbers?
I’ll go through the container, the triggers and the attribution settings with you, and afterwards you’ll know what’s genuinely being measured. Write to me at visnakovs@clickspire.de.