Stripe to LinkedIn Conversions API.
Send every Stripe payment to LinkedIn so campaigns optimize on real revenue. Each payment reaches a LinkedIn conversion with the ad click attached.
What gets sent.
| DATALYR event | When it fires | Sent to LinkedIn as | What it carries |
|---|---|---|---|
| Stripe payment events | A Checkout Session, invoice or PaymentIntent is paid | Purchase conversion | The conversion value when the conversion's value type is Dynamic, in the event's currency, the DATALYR event ID, the li_fat_id click ID, hashed email and the Stripe customer ID |
| Subscription renewals | A subscription renews | Not sent by default | LinkedIn conversions leave renewals out unless the rule includes them |
How it's matched.
DATALYR checks these in order and stops at the first one that finds the ad click.
- The visitor ID on the Stripe object: client_reference_id on a Checkout Session, metadata.visitor_id on a PaymentIntent or Subscription
- For Checkout, the session ID the site reported as the browser left for Stripe
- The customer email, when no ad click was found
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.
- 01
Connect Stripe.
Open Sources, select connect on Stripe and finish Stripe's sign-in. DATALYR owns the webhook, so you create nothing in Stripe. Pass the visitor ID when you create a Checkout Session or PaymentIntent. Payment Links get it automatically.
- 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.
- 03
Check one conversion.
Complete one real Stripe payment from a LinkedIn ad click. Find checkout.session.completed or invoice.payment_succeeded in Events, then open the newest row in Conversions and read the reply from LinkedIn.
Check it worked.
- LinkedIn takes events up to 90 days old, and sends need li_fat_id or an email. A Health reason of No match key the platform accepts means neither reached the payment.
- 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.
Questions, answered.
Contact usYou need an Insight Tag in LinkedIn with enhanced conversion tracking on, which is the default for new tags, because that makes LinkedIn add li_fat_id to every ad click. DATALYR can run the tag through your tracking script, or you can keep your own.
LinkedIn counts conversions after a click or view inside the windows on each conversion, and most types once per member per window. It takes up to 24 hours to take in an event and up to 48 more to report it. DATALYR credits clicks.
The server conversion DATALYR creates uses a 90 day click window and a 90 day view window, attributed to each ad set. Edit the conversion in Campaign Manager to change them. DATALYR does not change them back.

See what really drives revenue.
Real-time attribution, analytics and conversions for every channel, campaign and ad, ready for your team and your agents.