Skip to main content
Razorpay → LinkedInIntegration guide

Connecting Razorpay to LinkedIn Ads

Razorpay is Indian payments, where UPI dominates and the flow moves through a separate app on the customer's phone. 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 Razorpay payment 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

Razorpay to LinkedIn: Indian B2B SaaS and course payments only

LinkedIn fits only Razorpay merchants in B2B SaaS, courses and high-ticket services. Put the li_fat_id into the Razorpay order or subscription notes at creation and send the conversion from payment.captured with hashed email, converted from paise in INR. Send only the first subscription charge, not renewals, and consider trial start as a separate conversion.

LinkedIn fits a narrow slice of Razorpay merchants: Indian B2B SaaS billed through Razorpay Subscriptions, professional courses and certifications, and high-ticket B2B services paid by link. For consumer goods paid by UPI, LinkedIn's click prices don't work, and a sane setup sends nothing to LinkedIn and spends the budget where those buyers are.

For the slice that fits, put the li_fat_id into the Razorpay order or subscription notes when your server creates it, and send the conversion from payment.captured with the hashed email. The email on the payment is often not the one on the buyer's LinkedIn account, particularly when checkout prefilled it, so the click ID carries most of the matching. Convert from paise and send INR as the currency.

Subscriptions need a decision. The first subscription charge is the conversion LinkedIn should see; later renewals are retention, and sending them makes LinkedIn look better every month for clicks that happened long ago. If your trial converts to paid weeks after signup, send the trial start as a separate conversion so LinkedIn has something to optimize on inside its window.

Razorpay → LinkedIn · what breaks

Why this join usually fails — Razorpay → LinkedIn

  1. 01

    The li_fat_id click identifier never reaches Razorpay

    UPI sends the customer into a banking app to approve, and on mobile that app switch frequently ends the browser session. The payment completes and the browser that started it may never come back to fire anything.

  2. 02

    UPI app switching ends the browser session

    The customer leaves the browser for a banking app to approve, and on many devices does not return. Payment succeeds, page never fires — and UPI is the majority method in this market.

  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.

Razorpay → LinkedIn · the fix

What working looks like — Razorpay → LinkedIn

  • The li_fat_id click identifier on every payment

  • 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

Razorpay → LinkedIn · architecture

How Razorpay and LinkedIn actually connect

  1. 1

    Razorpay holds the truth

    Razorpay separates authorised and captured. Auto-capture is common but not universal, and reporting on authorised inflates the figure by whatever fails to capture.

  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 Razorpay payment.

  4. 4

    The event source decides reliability

    Fire on captured. The app-switch behaviour of UPI makes any browser-based trigger unreliable in a way that is much more pronounced here than on card markets.

  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.

Razorpay → LinkedIn · normal or broken

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

Normal, not a fault

  • The li_fat_id click identifier present on the payment

  • Sent from the Razorpay payment.captured 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

    UPI sends the customer into a banking app to approve, and on mobile that app switch frequently ends the browser session. The payment completes and the browser that started it may never come back to fire anything.

  • Sent from the browser

    The customer leaves the browser for a banking app to approve, and on many devices does not return. Payment succeeds, page never fires — and UPI is the majority method in this market.

  • 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

Razorpay → LinkedIn · diagnose

Diagnostic order — Razorpay → LinkedIn

  1. 01

    Count payments carrying the li_fat_id click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare captured payments against confirmation-page loads on mobile

    Split by payment method. The UPI gap will be much larger than the card gap.

  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.

Razorpay → LinkedIn · prove

How it gets proven — Razorpay → LinkedIn

Source of truth

Razorpay's captured payments by date, net of refunds.

  • The li_fat_id click identifier confirmed present on a live payment.
  • Auto-tagging confirmed enabled, the conversion defined in Campaign Manager, and deduplication verified on a real conversion.
  • A UPI payment approved in the banking app without returning to the site, confirmed to report.

Razorpay → LinkedIn · free audit

What we check in the free audit

  • Count payments carrying the li_fat_id click identifier
  • Follow one real conversion end to end
  • Compare captured payments against confirmation-page loads on mobile
  • Confirm auto-tagging is on and the conversion is defined in Campaign Manager
  • Read the match rate, not the success message

Checked against

Razorpay's captured payments by date, net of refunds.

Get my free conversion tracking audit

Free30 minutesNo obligation

Razorpay → LinkedIn · when not to buy

When you don't need this — Razorpay → LinkedIn

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the li_fat_id click identifier.
  • If your Razorpay volume is card-only, the app-switch problem largely disappears.
  • If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.

Razorpay → LinkedIn · what we deliver

What gets built — Razorpay → LinkedIn

  • Identifier capture into Razorpay

    Pass the click identifier into the Razorpay order's notes when your server creates the order. Notes survive to the payment and to the webhook regardless of what the browser did.

  • Event source: the Razorpay payment.captured webhook

    Fire on captured. The app-switch behaviour of UPI makes any browser-based trigger unreliable in a way that is much more pronounced here than on card markets.

  • 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 are exposed and carry the original notes.

Written guarantee

95%+ tracking accuracy

Measured against Razorpay's captured payments by date, net of refunds.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Razorpay → LinkedIn questions, answered

Send the first charge as the conversion and leave renewals out. Make sure the li_fat_id is stored in the subscription or order notes when it is created.

Free · 30 min

Get Razorpay and LinkedIn joined properly

Free30 minutesNo obligation