Skip to main content
WooCommerce → LinkedInIntegration guide

Connecting WooCommerce to LinkedIn Ads

WooCommerce keeps the order in your own database, which is both the advantage and the reason nobody has wired it properly. 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 WooCommerce order 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

WooCommerce to LinkedIn: only for B2B stores, and only some orders

Skip LinkedIn for consumer WooCommerce stores. For trade or wholesale stores, send trade account applications, quote requests and first business-account orders, filtered by customer role, to the Conversions API with li_fat_id from order or user meta and hashed billing email. Invoice and bank-transfer orders need a chosen status change, not the payment hook.

Most WooCommerce stores sell to consumers, and LinkedIn's cost per click makes consumer orders very hard to buy profitably there. For those stores, don't build this.

The B2B case is real, though. WooCommerce runs many trade and wholesale stores, often with a wholesale pricing plugin, a quote request plugin or an account approval flow. There, LinkedIn conversions should be the trade account application or quote request and the first order from a business account, not every reorder. Capture li_fat_id on landing, store it as order meta (or user meta for account applications), and send to the LinkedIn Conversions API from the server with hashed billing email. Filter by customer role so only business accounts qualify.

The failure particular to WooCommerce here is payment timing. Trade orders often go through on invoice, bank transfer or purchase order, so woocommerce_payment_complete never fires and the order sits in on-hold. Decide which status counts as a confirmed order for those payment methods and fire on that status change instead, or LinkedIn only ever sees the businesses that paid by card.

WooCommerce → LinkedIn · what breaks

Why this join usually fails — WooCommerce → LinkedIn

  1. 01

    The li_fat_id click identifier never reaches WooCommerce

    WooCommerce sites are usually the most heavily plugged-in of any platform. Caching plugins serve a static page to the visitor, optimization plugins defer or strip scripts, and consent plugins block them entirely. Any of the three will stop an identifier being captured, and they fail silently.

  2. 02

    Caching and optimization plugins eat the tracking

    The page the customer sees is not the page your code assumed. This is the most common cause of WooCommerce tracking that worked at launch and silently stopped after a plugin update.

  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.

WooCommerce → LinkedIn · the fix

What working looks like — WooCommerce → LinkedIn

  • The li_fat_id click identifier on every order

  • 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

WooCommerce → LinkedIn · architecture

How WooCommerce and LinkedIn actually connect

  1. 1

    WooCommerce holds the truth

    You own the database, so the truth is exactly as good as the query you write against it. Pin the status set first — whether processing, completed, or both count as a conversion changes the number by a lot and is the source of most arguments.

  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 WooCommerce order.

  4. 4

    The event source decides reliability

    Fire server-side from the PHP hook rather than from the thank-you page template. Page caching means the thank-you page cannot be relied on to execute anything, and on many stores it is served from cache to a paying customer.

  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.

WooCommerce → LinkedIn · normal or broken

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

Normal, not a fault

  • The li_fat_id click identifier present on the order

  • Sent from the woocommerce_payment_complete hook

  • 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

    WooCommerce sites are usually the most heavily plugged-in of any platform. Caching plugins serve a static page to the visitor, optimization plugins defer or strip scripts, and consent plugins block them entirely. Any of the three will stop an identifier being captured, and they fail silently.

  • Sent from the browser

    The page the customer sees is not the page your code assumed. This is the most common cause of WooCommerce tracking that worked at launch and silently stopped after a plugin update.

  • 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

WooCommerce → LinkedIn · diagnose

Diagnostic order — WooCommerce → LinkedIn

  1. 01

    Count orders carrying the li_fat_id click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Check order meta on ten recent orders

    Directly in the database or with a meta viewer. Then disable page caching for the checkout path and see whether coverage changes — if it does, caching is your cause.

  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.

WooCommerce → LinkedIn · prove

How it gets proven — WooCommerce → LinkedIn

Source of truth

WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.

  • The li_fat_id click identifier confirmed present on a live order.
  • Auto-tagging confirmed enabled, the conversion defined in Campaign Manager, and deduplication verified on a real conversion.
  • Order meta confirmed present on orders placed while full page caching was active.

WooCommerce → LinkedIn · free audit

What we check in the free audit

  • Count orders carrying the li_fat_id click identifier
  • Follow one real conversion end to end
  • Check order meta on ten recent orders
  • Confirm auto-tagging is on and the conversion is defined in Campaign Manager
  • Read the match rate, not the success message

Checked against

WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.

Get my free conversion tracking audit

Free30 minutesNo obligation

WooCommerce → LinkedIn · when not to buy

When you don't need this — WooCommerce → LinkedIn

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the li_fat_id click identifier.
  • If you run a small store with no caching layer and a single free plugin already reporting accurately, leave it alone.
  • If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.

WooCommerce → LinkedIn · what we deliver

What gets built — WooCommerce → LinkedIn

  • Identifier capture into WooCommerce

    Capture the click identifier and persist it as order meta on the order object with a small snippet in the theme's functions or a purpose-built plugin. Order meta lives in your own database, so it survives caching, plugin conflicts and the customer's browser.

  • Event source: the woocommerce_payment_complete hook

    Fire server-side from the PHP hook rather than from the thank-you page template. Page caching means the thank-you page cannot be relied on to execute anything, and on many stores it is served from cache to a paying customer.

  • 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

    The refund hooks carry the order ID, so reversals are straightforward once the identifier is on the order.

Written guarantee

95%+ tracking accuracy

Measured against WooCommerce → Orders (or the wp_wc_order_stats table), for the same window and status set.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

WooCommerce → LinkedIn questions, answered

Only if it sells to businesses. Send trade applications and first business orders; consumer stores should skip LinkedIn.

Free · 30 min

Get WooCommerce and LinkedIn joined properly

Free30 minutesNo obligation