Skip to main content
Contentful → LinkedInIntegration guide

Connecting Contentful to LinkedIn Ads

Contentful is headless content only — it has no checkout, no orders and no customers, which is the single most important thing to establish before anyone quotes for work. LinkedIn is where B2B advertisers pay the highest cost per click in the industry, which makes an unmeasured conversion more expensive here than almost anywhere. The join between them succeeds or fails on one thing: whether the li_fat_id click identifier reaches the front-end conversion, not a Contentful record before the conversion happens, because LinkedIn can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Contentful B2B sites to LinkedIn CAPI: capture li_fat_id at the edge

For LinkedIn CAPI on a Contentful B2B site, read li_fat_id in edge middleware or on first client load into a first-party cookie, since CDN-cached pages never hit your server. Count gated downloads only when a form on your domain captures a work email, send it hashed with li_fat_id, and optimize toward qualified CRM opportunities. Gate the Insight Tag by hostname.

Contentful is common under enterprise B2B marketing sites, which is where LinkedIn spend actually goes, so this pairing comes up a lot. The conversion is a demo request or gated download captured by your front end and recorded in your CRM; Contentful plays no part in it. What breaks is capturing li_fat_id. Pages statically generated from Contentful and served from a CDN cache never hit your server, so server-only capture misses every cached landing. Read the parameter in edge middleware or on first client load, write it to a first-party cookie, then let client-side navigation drop the query string.

Gated content is the second trap. Whitepapers stored as Contentful assets live on Contentful's asset CDN, and a gate that simply links to that URL can be shared, bookmarked and downloaded with no form at all. Count the download only when a form on your domain captures a work email, and send that email hashed with the li_fat_id from the cookie.

Send form fills as the first conversion, but the one worth optimizing is the qualified opportunity from the CRM, sent with the stored li_fat_id. Watch Contentful's preview environment: if your front end loads the Insight Tag on preview and staging hosts, editors reviewing drafts become website visitors and pollute matched audiences. Gate tags by hostname.

Contentful → LinkedIn · what breaks

Why this join usually fails — Contentful → LinkedIn

  1. 01

    The li_fat_id click identifier never reaches Contentful

    Because Contentful is headless, the front end is a separate application — usually Next.js, Nuxt or similar — and that application is where client-side routing, caching and identifier capture all actually happen. Attributing a tracking problem to Contentful is nearly always a misdiagnosis.

  2. 02

    Blaming the CMS for a front-end problem

    Headless setups fail at the front end — client-side routing that fires one pageview per session, an identifier lost on a route change — and the CMS gets blamed. Contentful is not in that path at all.

  3. 03

    Long B2B cycles against LinkedIn's windows

    LinkedIn's attribution windows are configurable and finite, while B2B deals close in quarters. A conversion that matters commercially frequently falls outside the window that LinkedIn will credit, and that gap has to be reported rather than argued about.

  4. 04

    Nothing reconciles afterwards

    Campaign Manager reports conversions against each defined conversion action with its own window. A successful API call is not a matched conversion — reconcile LinkedIn's reported conversions against your CRM for the same window, and expect a gap wherever your sales cycle exceeds the attribution setting.

Contentful → LinkedIn · the fix

What working looks like — Contentful → LinkedIn

  • The li_fat_id click identifier on every conversion

  • Conversions arriving in LinkedIn

    Conversions appear in Campaign Manager against the campaign, with the value you sent, and feed LinkedIn's optimization and its company-level reporting.

  • Reconciled against the source

Contentful → LinkedIn · architecture

How Contentful and LinkedIn actually connect

  1. 1

    Contentful holds the truth

    Contentful stores content and serves it via API. The commercial record lives in your commerce platform, your CRM or your billing system, and that is where measurement belongs.

  2. 2

    LinkedIn Ads needs a click to match

    LinkedIn matches server events on the click identifier where present and hashed user data otherwise. Conversions have to be defined in Campaign Manager before anything can be sent against them, and the definition includes the attribution window and counting rule.

  3. 3

    The identifier is the bridge

    The li_fat_id click identifier, captured at the visit and carried into the front-end conversion, not a Contentful record.

  4. 4

    The event source decides reliability

    Send from the system that holds the money. Contentful contributes the content layer and nothing to the conversion.

  5. 5

    Deduplication at the destination

    LinkedIn deduplicates on an event identifier shared between the Insight Tag and the Conversions API. Running both without pairing them doubles every conversion, which on LinkedIn's cost per click is an expensive error to leave running.

Contentful → LinkedIn · normal or broken

Working vs. broken, side by side — Contentful → LinkedIn

Normal, not a fault

  • The li_fat_id click identifier present on the conversion

  • Sent from your commerce, CRM or billing system

  • Deduplicated correctly

    LinkedIn deduplicates on an event identifier shared between the Insight Tag and the Conversions API. Running both without pairing them doubles every conversion, which on LinkedIn's cost per click is an expensive error to leave running.

  • Reconciles with the source

Actually broken

  • The li_fat_id click identifier missing on most records

    Because Contentful is headless, the front end is a separate application — usually Next.js, Nuxt or similar — and that application is where client-side routing, caching and identifier capture all actually happen. Attributing a tracking problem to Contentful is nearly always a misdiagnosis.

  • Sent from the browser

    Headless setups fail at the front end — client-side routing that fires one pageview per session, an identifier lost on a route change — and the CMS gets blamed. Contentful is not in that path at all.

  • Counted twice, or not at all

    LinkedIn's attribution windows are configurable and finite, while B2B deals close in quarters. A conversion that matters commercially frequently falls outside the window that LinkedIn will credit, and that gap has to be reported rather than argued about.

  • Nobody has reconciled it

Contentful → LinkedIn · diagnose

Diagnostic order — Contentful → LinkedIn

  1. 01

    Count conversions carrying the li_fat_id click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Establish which system holds the conversion before anything else

    In a headless stack it is never the CMS, and starting there wastes the engagement.

  4. 04

    Confirm auto-tagging is on and the conversion is defined in Campaign Manager

    Two settings, both easy to miss, and either one missing means nothing matches.

  5. 05

    Read the match rate, not the success message

    Campaign Manager reports conversions against each defined conversion action with its own window. A successful API call is not a matched conversion — reconcile LinkedIn's reported conversions against your CRM for the same window, and expect a gap wherever your sales cycle exceeds the attribution setting.

Contentful → LinkedIn · prove

How it gets proven — Contentful → LinkedIn

Source of truth

Whatever system takes the money — Contentful holds none of it.

  • The li_fat_id click identifier confirmed present on a live conversion.
  • Auto-tagging confirmed enabled, the conversion defined in Campaign Manager, and deduplication verified on a real conversion.
  • The conversion confirmed sourced from the commerce or CRM system rather than from anything in the content layer.

Contentful → LinkedIn · free audit

What we check in the free audit

  • Count conversions carrying the li_fat_id click identifier
  • Follow one real conversion end to end
  • Establish which system holds the conversion before anything else
  • Confirm auto-tagging is on and the conversion is defined in Campaign Manager
  • Read the match rate, not the success message

Checked against

Whatever system takes the money — Contentful holds none of it.

Get my free conversion tracking audit

Free30 minutesNo obligation

Contentful → LinkedIn · when not to buy

When you don't need this — Contentful → LinkedIn

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the li_fat_id click identifier.
  • There is no Contentful-specific tracking build. The work is in your front-end framework and your commerce system, and we would say so rather than bill for the CMS.
  • If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.

Contentful → LinkedIn · what we deliver

What gets built — Contentful → LinkedIn

  • Identifier capture into Contentful

    Capture and persist the identifier in the front-end application, server-side, and carry it into whichever system records the conversion.

  • Event source: your commerce, CRM or billing system

    Send from the system that holds the money. Contentful contributes the content layer and nothing to the conversion.

  • Dispatch to LinkedIn

    Server events to the LinkedIn Conversions API with the click identifier, hashed user data and a matched event identifier.

  • Reversals where they exist

    Handled wherever the money lives.

Written guarantee

95%+ tracking accuracy

Measured against Whatever system takes the money — Contentful holds none of it.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Contentful → LinkedIn questions, answered

In edge middleware or on first client load, written to a first-party cookie before client-side navigation drops the query string. Statically cached pages never reach your origin server.

Free · 30 min

Get Contentful and LinkedIn joined properly

Free30 minutesNo obligation