Connecting AfterSell to LinkedIn Ads
AfterSell works through checkout extensions and post-purchase pages, which puts its offers inside Shopify's sandboxed surfaces where your own scripts cannot reach. 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 AfterSell upsell 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
AfterSell and LinkedIn: usually the wrong place for upsell data
For most AfterSell stores, leave LinkedIn out: consumer upsells rarely follow B2B-priced clicks. A Shopify B2B store can send the order as one LinkedIn conversion at the final total, matched on li_fat_id written to a cart attribute at landing and the hashed order email. Never define the upsell as a separate conversion.
AfterSell runs on Shopify post-purchase and checkout surfaces, which means consumer orders, and LinkedIn charges B2B prices for every click. An upsell taken on a post-purchase page adds a little revenue to an order that LinkedIn almost never caused. For most AfterSell stores the honest answer is to leave LinkedIn out of this pipeline entirely.
The exception is a Shopify store that sells to businesses: office and janitorial supplies, equipment, trade accounts on a B2B storefront. There, send the order as one LinkedIn conversion at the final total including the accepted upsell, matched on the li_fat_id captured at landing and the hashed order email. Do not define the upsell as its own LinkedIn conversion. It is a decision made after the conversion, on a page the ad could not influence, and counting it separately inflates the conversion count LinkedIn bids on.
The li_fat_id has to be written to the cart before checkout, because the checkout extensions where AfterSell runs cannot read or store it. A cart attribute set on the storefront travels onto the order and is readable from the order webhook. If only a handful of LinkedIn-sourced orders a month carry the identifier, the Conversions API build is not worth doing yet; the Insight Tag alone is enough at that volume.
AfterSell → LinkedIn · what breaks
Why this join usually fails — AfterSell → LinkedIn
- 01
The li_fat_id click identifier never reaches AfterSell
Extension surfaces are isolated by design. Attempting to instrument them client-side does not work and is not supported.
- 02
Trying to instrument a sandbox
Time gets spent attempting to observe checkout extension behaviour from the storefront. It cannot be done, by design, and every hour spent on it is an hour not spent on the server-side path that works.
- 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.
- 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.
AfterSell → LinkedIn · the fix
What working looks like — AfterSell → 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
AfterSell → LinkedIn · architecture
How AfterSell and LinkedIn actually connect
- 1
AfterSell holds the truth
Checkout UI extensions run sandboxed. Nothing you write can observe them, so the only reliable view of what the customer accepted is the order itself.
- 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
The identifier is the bridge
The li_fat_id click identifier, captured at the visit and carried into the AfterSell upsell order.
- 4
The event source decides reliability
Send the final order total from the webhook, with upsell line items identified.
- 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.
AfterSell → LinkedIn · normal or broken
Working vs. broken, side by side — AfterSell → LinkedIn
Normal, not a fault
The li_fat_id click identifier present on the order
Sent from the Shopify order 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
Extension surfaces are isolated by design. Attempting to instrument them client-side does not work and is not supported.
Sent from the browser
Time gets spent attempting to observe checkout extension behaviour from the storefront. It cannot be done, by design, and every hour spent on it is an hour not spent on the server-side path that works.
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
AfterSell → LinkedIn · diagnose
Diagnostic order — AfterSell → LinkedIn
- 01
Count orders carrying the li_fat_id click identifier
- 02
Follow one real conversion end to end
- 03
Confirm the conversion is sourced from the order, not from a page
On modern Shopify checkout there is no supported page-based option left, so this is the only correct architecture.
- 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.
- 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.
AfterSell → LinkedIn · prove
How it gets proven — AfterSell → LinkedIn
Source of truth
The final Shopify order total, read from the order record.
- 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.
- Final order totals reconciled from the webhook against imported conversions.
AfterSell → 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
- Confirm the conversion is sourced from the order, not from a page
- Confirm auto-tagging is on and the conversion is defined in Campaign Manager
- Read the match rate, not the success message
Checked against
The final Shopify order total, read from the order record.
Free30 minutesNo obligation
AfterSell → LinkedIn · when not to buy
When you don't need this — AfterSell → LinkedIn
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the li_fat_id click identifier.
- If your conversions already come from the order webhook, checkout extensions change nothing for you.
- If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.
AfterSell → LinkedIn · what we deliver
What gets built — AfterSell → LinkedIn
Identifier capture into AfterSell
Do not try to instrument the checkout surface. Read the order server-side, which is the supported and more reliable path anyway.
Event source: the Shopify order webhook
Send the final order total from the webhook, with upsell line items identified.
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 reverse.
Written guarantee
95%+ tracking accuracy
Measured against The final Shopify order total, read from the order record.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
AfterSell → LinkedIn questions, answered
Only as part of the full order value on a B2B store, never as a separate conversion. For consumer stores LinkedIn is rarely where these buyers came from.
Capture it on the landing page and write it to a cart attribute before checkout, so it appears on the order your webhook receives.
Almost always because the li_fat_id click identifier never reached the AfterSell upsell order. Extension surfaces are isolated by design. Attempting to instrument them client-side does not work and is not supported. Measure coverage before debugging the dispatch.
The li_fat_id, appended to your landing page URL when auto-tagging is enabled on the LinkedIn account. LinkedIn also matches on hashed email and on company-level signals. Two things make this different from the consumer networks: auto-tagging is not always on, and LinkedIn's real strength is company-level reporting, so an event that carries no company context loses much of what makes the platform worth using.
The Shopify order webhook. Send the final order total from the webhook, with upsell line items identified.
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.
More on AfterSell → LinkedIn
- LinkedIn · Lead → booked callHow to track lead to booked call for LinkedIn Ads
- LinkedIn · Booked call → closed wonHow to track booked call to closed won for LinkedIn Ads
- LinkedIn · Free trial → paidHow to track free trial to paid for LinkedIn Ads
RELATED GUIDES
Where AfterSell → LinkedIn fits in the rest of your tracking
- LinkedIn · FashionLinkedIn Ads conversion tracking for fashion brands
- LinkedIn · BeautyLinkedIn Ads conversion tracking for beauty brands
- LinkedIn × Ecommerce OrdersHow to reconcile LinkedIn Ads against your store's order table
- LinkedIn · Add to cart → purchaseHow to track add to cart to purchase for LinkedIn Ads
- ReConvert → LinkedInConnecting ReConvert to LinkedIn Ads
- AfterSell → RedditConnecting AfterSell to Reddit
- SupplementsConversion tracking for supplement brands, built around subscription value
- CartHook → LinkedInConnecting CartHook to LinkedIn Ads
Free · 30 min
Get AfterSell and LinkedIn joined properly
Free30 minutesNo obligation
