DATALYR

Shopify to LinkedIn Conversions API.

Send every Shopify order to LinkedIn so campaigns optimize on real sales. Each paid order reaches a LinkedIn conversion with the ad click attached.

What gets sent.

What DATALYR sends from Shopify to LinkedIn Conversions API
DATALYR eventWhen it firesSent to LinkedIn asWhat it carries
purchaseShopify marks an order paidPurchase conversionThe order value when the conversion's value type is Dynamic, in the order's currency, the DATALYR event ID, the li_fat_id click ID, the hashed email and one stable customer ID
checkout_startedA checkout is created. Optional rowStart checkout conversionThe checkout, matched by li_fat_id and by email when known

How it's matched.

DATALYR checks these in order and stops at the first one that finds the ad click.

  1. The visitor ID the App Embed writes onto the order as a cart attribute
  2. The order email, when the cart attribute found no ad click
  3. Click IDs and UTM parameters read from the order's landing page URL

LinkedIn gets the li_fat_id click ID and the customer's email hashed with SHA-256, plus one stable customer ID and the DATALYR event ID. LinkedIn adds li_fat_id to ad clicks when enhanced conversion tracking is on for your Insight Tag.

How it works.

  1. 01

    Connect Shopify.

    Open Sources, select connect on Shopify, enter your myshopify.com domain and approve the five permissions. Then turn on the App Embed in your theme editor and save, so each order carries the visit that drove it.

  2. 02

    Connect LinkedIn.

    In LinkedIn Campaign Manager, keep enhanced conversion tracking on for your Insight Tag. In Sources, connect LinkedIn Ads and pick the ad account. In the LinkedIn events step, pick an existing conversion for the Purchase row or select Create conversion, then Save. DATALYR creates one rule per trigger. Select Create conversion if the account has none. DATALYR names it DATALYR - Purchase.

  3. 03

    Check one conversion.

    Place one order from a LinkedIn ad click. Find purchase in Events, then open the newest row in Conversions and read the reply from LinkedIn.

Check it worked.

  • In Events, the purchase carries a visitor_id that does not start with shopify_. That means the order kept its visit, and with it the li_fat_id from the LinkedIn click.
  • LinkedIn has no test mode. Select send test event and DATALYR checks the event without sending it.
  • Trigger one real conversion and confirm the rule's sent count went up by 1. In Campaign Manager, open Measure, Conversion tracking. The conversion reads Active once LinkedIn sees the event.

View docsInstall on ShopifyShopify revenueLinkedIn AdsConversion delivery

Questions, answered.

Contact us
  • No. DATALYR can run the Insight Tag through the App Embed once the partner ID is saved, unless another Insight Tag is already on the page from your theme, a tag manager or a Shopify app. Keep enhanced conversion tracking on for the tag in Campaign Manager.

  • No. Purchases carry a value, so they go from the server only, with the DATALYR event ID. If your own code fires lintrk conversions for purchases, remove those calls. They carry other IDs, so LinkedIn counts them again.

  • Orders worth $0 and orders older than 90 days. Orders from shoppers who opted out still go, without li_fat_id or IP address, carrying the hashed email and customer ID.

  • LinkedIn counts conversions after a click or a view inside each conversion's windows, and takes up to 24 hours to take in an event and up to 48 more to report it. DATALYR credits clicks.

See what really drives revenue.

Real-time attribution, analytics and conversions for every channel, campaign and ad, ready for your team and your agents.

Get started