Skip to main content
PrestaShop → LinkedInIntegration guide

Connecting PrestaShop to LinkedIn Ads

PrestaShop is self-hosted open source with a large module ecosystem, which means the store's behaviour depends heavily on which modules are installed. 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 PrestaShop 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

PrestaShop to LinkedIn CAPI: only for trade and B2B stores

LinkedIn fits only trade and B2B PrestaShop stores. Capture li_fat_id at trade account registration and write it to the customer, where it waits for the first order. Send the approved account or first order from a business account to the Conversions API with hashed work email and, if supported, the B2B mode company name. Reorders aren't new conversions.

Most PrestaShop stores sell to consumers, and for them LinkedIn's cost per click does not pay back on an order. The stores where it can work sell to businesses: industrial supplies, professional equipment, trade-only catalogs. PrestaShop's B2B mode adds a company field to the customer account, which is the record LinkedIn cares about, because its strength is reporting by company.

The conversion is usually a trade account registration or a first order from a business account, not every order. B2B buyers register, wait for approval, and order later from another session, so capture the li_fat_id at registration and write it to the customer through a hook, where it waits for the first order. Send the event to the Conversions API with hashed work email and, if the API's user fields include a company name, the company from the account; check the current field list before relying on it.

Reorders from an existing account are not new LinkedIn conversions. Send the first order or the approved account, and track lifetime revenue per company in your own reporting. Order value is meaningful for trade stores, so send it, but mind multi-currency installs where the same catalog sells in more than one currency.

PrestaShop → LinkedIn · what breaks

Why this join usually fails — PrestaShop → LinkedIn

  1. 01

    The li_fat_id click identifier never reaches PrestaShop

    Module conflicts and caching both interfere with anything running in the page, and multi-store installations complicate which store an order belongs to.

  2. 02

    Module ecosystem interference

    PrestaShop stores accumulate modules, and any of them can alter checkout behaviour or strip what your code depends on. Failures appear after an unrelated 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.

PrestaShop → LinkedIn · the fix

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

PrestaShop → LinkedIn · architecture

How PrestaShop and LinkedIn actually connect

  1. 1

    PrestaShop holds the truth

    You own the data and can query it directly. Pin down which order states count as revenue, since PrestaShop's state machine is more granular than most.

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

  4. 4

    The event source decides reliability

    Fire server-side from the hook rather than the confirmation template.

  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.

PrestaShop → LinkedIn · normal or broken

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

Normal, not a fault

  • The li_fat_id click identifier present on the order

  • Sent from the PrestaShop order validation 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

    Module conflicts and caching both interfere with anything running in the page, and multi-store installations complicate which store an order belongs to.

  • Sent from the browser

    PrestaShop stores accumulate modules, and any of them can alter checkout behaviour or strip what your code depends on. Failures appear after an unrelated 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

PrestaShop → LinkedIn · diagnose

Diagnostic order — PrestaShop → 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 metadata on ten recent orders

    Partial coverage across orders points at a module conflict rather than a missing implementation.

  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.

PrestaShop → LinkedIn · prove

How it gets proven — PrestaShop → LinkedIn

Source of truth

PrestaShop's order records in your own database, for the same window and order state 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 metadata confirmed present across ten consecutive orders rather than one.

PrestaShop → 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 metadata 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

PrestaShop's order records in your own database, for the same window and order state set.

Get my free conversion tracking audit

Free30 minutesNo obligation

PrestaShop → LinkedIn · when not to buy

When you don't need this — PrestaShop → LinkedIn

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the li_fat_id click identifier.
  • If your PrestaShop install is heavily moduled and maintained by another party, scope their involvement before starting.
  • If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.

PrestaShop → LinkedIn · what we deliver

What gets built — PrestaShop → LinkedIn

  • Identifier capture into PrestaShop

    Capture the identifier and write it to order metadata through a hook, server-side, so it does not depend on page execution.

  • Event source: the PrestaShop order validation hook

    Fire server-side from the hook rather than the confirmation template.

  • 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

    Credit slips are recorded against the order.

Written guarantee

95%+ tracking accuracy

Measured against PrestaShop's order records in your own database, for the same window and order state set.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

PrestaShop → LinkedIn questions, answered

Only for stores selling to businesses at order values that cover LinkedIn's cost per click. Consumer PrestaShop stores should skip it.

Free · 30 min

Get PrestaShop and LinkedIn joined properly

Free30 minutesNo obligation