Skip to main content
Shopify → LinkedInIntegration guide

Connecting Shopify to LinkedIn Ads

Shopify is the system of record for the order, and its admin numbers are the ones the business runs on. 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 Shopify 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

Shopify to LinkedIn: worth it for B2B and wholesale stores only

Consumer Shopify stores shouldn't send purchases to LinkedIn; the exceptions are B2B, wholesale or high-value business-supply stores. Capture li_fat_id on the storefront landing page, write it to a cart attribute, read it from the order's note attributes in orders/paid, and send it with hashed email to LinkedIn's Conversions API on paid. Decide whether wholesale reorders count.

A typical consumer Shopify store shouldn't send purchases to LinkedIn: LinkedIn's pricing assumes a business buyer, and a $60 consumer order can't carry it. Two Shopify setups are exceptions: stores using Shopify's B2B features or a wholesale channel, and stores selling equipment or supplies to businesses where one order is worth hundreds or thousands of dollars.

For those, the Shopify-specific job is getting li_fat_id onto the order. Checkout won't run your code to read it, so capture it on the storefront landing page and write it to a cart attribute; it then appears as an order note attribute you can read from the orders/paid webhook. Send the purchase to LinkedIn's Conversions API with that value and hashed email, and keep the company from the Shopify B2B company record, if you use one, in your own reporting so you can compare it with LinkedIn's company-level view.

Wholesale reorders are the trap. A business account reorders monthly through the same login, and every reorder looks like a new LinkedIn conversion if you send them all. Decide whether LinkedIn should see only the first order per company or every order, and set the conversion's counting rule in Campaign Manager to match. Payment terms mean some B2B orders are paid weeks after they're placed; send on paid, not on created.

Shopify → LinkedIn · what breaks

Why this join usually fails — Shopify → LinkedIn

  1. 01

    The li_fat_id click identifier never reaches Shopify

    Shopify's checkout is locked down. Custom scripts on the checkout steps are not permitted on standard plans, and the old additional-scripts route is gone, so the identifier has to be captured on the storefront and carried into the order through cart or order attributes rather than read at the checkout itself.

  2. 02

    Checkout extensibility hides what you need

    Shopify deliberately restricts what runs during checkout. Setups that assumed free rein there broke when the platform moved to Checkout Extensibility, and many stores have been quietly under-reporting since.

  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.

Shopify → LinkedIn · the fix

What working looks like — Shopify → 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

Shopify → LinkedIn · architecture

How Shopify and LinkedIn actually connect

  1. 1

    Shopify holds the truth

    The order carries line items, discounts, shipping, tax, currency and the customer. Note which figure you intend to report — total, subtotal, or net of shipping and tax — because most mismatches between Shopify and an ad platform turn out to be two people comparing two different numbers.

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

  4. 4

    The event source decides reliability

    Send when Shopify says the order is paid, from your server. This also covers draft orders, POS, and the customer who closes the tab on the thank-you page — none of which a pixel on the order-status page will ever see.

  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.

Shopify → LinkedIn · normal or broken

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

Normal, not a fault

  • The li_fat_id click identifier present on the order

  • Sent from the orders/paid webhook

  • 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

    Shopify's checkout is locked down. Custom scripts on the checkout steps are not permitted on standard plans, and the old additional-scripts route is gone, so the identifier has to be captured on the storefront and carried into the order through cart or order attributes rather than read at the checkout itself.

  • Sent from the browser

    Shopify deliberately restricts what runs during checkout. Setups that assumed free rein there broke when the platform moved to Checkout Extensibility, and many stores have been quietly under-reporting since.

  • 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

Shopify → LinkedIn · diagnose

Diagnostic order — Shopify → LinkedIn

  1. 01

    Count orders carrying the li_fat_id click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a recent paid order and read its note attributes

    If the identifier is not on the order, nothing downstream can attribute it. Check ten orders, not one — partial coverage is the normal failure, not total absence.

  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.

Shopify → LinkedIn · prove

How it gets proven — Shopify → LinkedIn

Source of truth

Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.

  • 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 totals in Shopify Admin reconciled per order, not on the summed total, over a closed window.

Shopify → 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
  • Open a recent paid order and read its note attributes
  • Confirm auto-tagging is on and the conversion is defined in Campaign Manager
  • Read the match rate, not the success message

Checked against

Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.

Get my free conversion tracking audit

Free30 minutesNo obligation

Shopify → LinkedIn · when not to buy

When you don't need this — Shopify → LinkedIn

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the li_fat_id click identifier.
  • Shopify's own native channel integrations already cover simple single-currency stores adequately. If your admin numbers and platform numbers already agree, you do not need this.
  • If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.

Shopify → LinkedIn · what we deliver

What gets built — Shopify → LinkedIn

  • Identifier capture into Shopify

    Capture the click identifier on the storefront, write it to a cart attribute so it becomes an order note attribute, and read it back server-side from the order. That path survives the checkout domain hop that breaks cookie-based approaches.

  • Event source: the orders/paid webhook

    Send when Shopify says the order is paid, from your server. This also covers draft orders, POS, and the customer who closes the tab on the thank-you page — none of which a pixel on the order-status page will ever see.

  • 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

    refunds/create fires with the original order reference, so refunds and cancellations can be reversed at the destination.

Written guarantee

95%+ tracking accuracy

Measured against Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Shopify → LinkedIn questions, answered

Check the Shopify App Store for a current option; LinkedIn's coverage there has historically been thinner than Meta's or Google's. Most B2B stores send purchases to LinkedIn's Conversions API from the order webhook instead.

Free · 30 min

Get Shopify and LinkedIn joined properly

Free30 minutesNo obligation