Connecting Razorpay to Google Ads
Razorpay is Indian payments, where UPI dominates and the flow moves through a separate app on the customer's phone. Google Ads knows what you spent and which click it came from, and nothing at all about what happened afterwards. The join between them succeeds or fails on one thing: whether the GCLID reaches the Razorpay payment before the conversion happens, because Google Ads can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Razorpay to Google Ads: GCLID in order notes, upload on capture
Write the GCLID into the Razorpay order notes when your server creates the order, then upload each payment.captured event to an Import conversion action. Add enhanced conversions with phone numbers normalized to +91 E.164 before hashing, and send value in rupees with INR. Dashboard Payment Links skip your server, and authorized-but-uncaptured payments should never be uploaded.
For Google Ads, write the GCLID into the Razorpay order's notes when your server creates the order, then upload each payment.captured event to an Import-type conversion action. Notes carry through to the payment and the webhook, so the match survives a UPI approval that ended the browser session. Check the notes limits in Razorpay's documentation if you also store other attribution fields there.
Enhanced conversions are worth adding here because Razorpay checkout collects a phone number on nearly every payment. Normalize Indian numbers to E.164 with the +91 country code before hashing, or matches fail quietly. Send value in rupees, not the paise integer the webhook returns, with currency INR, so target ROAS is not trained on a figure a hundred times too high.
Payment Links and Payment Pages created from the dashboard skip your server, so there is nowhere to add the GCLID. Payments through them cannot be tied to a click unless you create links through the API with notes attached. Refunds map to retraction or restatement adjustments, and Razorpay's authorized-but-not-captured payments should never be uploaded, since some expire uncaptured.
Razorpay → Google Ads · what breaks
Why this join usually fails — Razorpay → Google Ads
- 01
The GCLID 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.
- 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.
- 03
The conversion action is the wrong type
Uploads against a standard website conversion action fail. The action has to be created as 'Import' — and existing actions cannot be converted, so this is discovered late and requires starting a new action with no history.
- 04
Nothing reconciles afterwards
Google Ads reports uploads in Goals → Conversions → Uploads, with rows accepted and rows failed. A green result means the file parsed, not that the clicks matched. The number to watch is how many conversions actually appear against campaigns afterwards.
Razorpay → Google Ads · the fix
What working looks like — Razorpay → Google Ads
The GCLID on every payment
Conversions arriving in Google Ads
Conversions appear against the campaign, ad group and keyword that produced the click, with the value you sent — which is what lets Smart Bidding optimize toward revenue instead of toward form fills.
Reconciled against the source
Razorpay → Google Ads · architecture
How Razorpay and Google Ads actually connect
- 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
Google Ads needs a click to match
Google Ads matches an uploaded conversion back to a click using the GCLID. The conversion action must be created as an import type — an upload against a website-tag conversion action is rejected. Uploads must also land inside Google's window: the click has to be within the last 90 days.
- 3
The identifier is the bridge
The GCLID, captured at the visit and carried into the Razorpay payment.
- 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
Deduplication at the destination
Google deduplicates on the combination of GCLID, conversion action and conversion time. Uploading the same click twice against the same action at the same timestamp is rejected rather than double-counted, but uploading it against a second conversion action counts twice — which is how most double-counting here actually happens.
Razorpay → Google Ads · normal or broken
Working vs. broken, side by side — Razorpay → Google Ads
Normal, not a fault
The GCLID present on the payment
Sent from the Razorpay payment.captured webhook
Deduplicated correctly
Google deduplicates on the combination of GCLID, conversion action and conversion time. Uploading the same click twice against the same action at the same timestamp is rejected rather than double-counted, but uploading it against a second conversion action counts twice — which is how most double-counting here actually happens.
Reconciles with the source
Actually broken
The GCLID 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
Uploads against a standard website conversion action fail. The action has to be created as 'Import' — and existing actions cannot be converted, so this is discovered late and requires starting a new action with no history.
Nobody has reconciled it
Razorpay → Google Ads · diagnose
Diagnostic order — Razorpay → Google Ads
- 01
Count payments carrying the GCLID
- 02
Follow one real conversion end to end
- 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.
- 04
Check the conversion action type and the upload diagnostics
In Google Ads, Goals → Conversions → Uploads shows every upload with its error rows. Read the errors rather than the success count; a file can import successfully with most rows rejected.
- 05
Read the match rate, not the success message
Google Ads reports uploads in Goals → Conversions → Uploads, with rows accepted and rows failed. A green result means the file parsed, not that the clicks matched. The number to watch is how many conversions actually appear against campaigns afterwards.
Razorpay → Google Ads · prove
How it gets proven — Razorpay → Google Ads
Source of truth
Razorpay's captured payments by date, net of refunds.
- The GCLID confirmed present on a live payment.
- The Uploads diagnostics read row by row, with the accepted count reconciled against conversions appearing in campaign reporting.
- A UPI payment approved in the banking app without returning to the site, confirmed to report.
Razorpay → Google Ads · free audit
What we check in the free audit
- Count payments carrying the GCLID
- Follow one real conversion end to end
- Compare captured payments against confirmation-page loads on mobile
- Check the conversion action type and the upload diagnostics
- Read the match rate, not the success message
Checked against
Razorpay's captured payments by date, net of refunds.
Free30 minutesNo obligation
Razorpay → Google Ads · when not to buy
When you don't need this — Razorpay → Google Ads
- Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the GCLID.
- If your Razorpay volume is card-only, the app-switch problem largely disappears.
- If your sales close inside a few days and your website tag already reports accurately, you may not need offline import at all. It exists to solve the delay between click and revenue.
Razorpay → Google Ads · what we deliver
What gets built — Razorpay → Google Ads
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 Google Ads
Offline Conversion Import through the Google Ads API, or a scheduled upload. Enhanced conversions for leads where GCLID coverage is poor and you have consented email addresses.
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.
From $400 · See packages
FAQ
Razorpay → Google Ads questions, answered
Only if you create the links through the API with the GCLID in notes. Dashboard-created links have no server step and cannot carry it.
Normalize to E.164 with +91 and no spaces or leading zero, then SHA-256 hash.
Almost always because the GCLID never reached the Razorpay payment. 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. Measure coverage before debugging the dispatch.
The GCLID — the click ID Google appends to your landing page URL when auto-tagging is on. For iOS App campaigns and some Shopping traffic you will see GBRAID or WBRAID instead, and those behave differently: WBRAID cannot be used with user-provided data in the same way, and neither joins to an individual user. Enhanced conversions for leads is the alternative path, matching on hashed email or phone rather than a click ID, and it is the right choice when GCLID coverage is poor.
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.
Google Ads reports uploads in Goals → Conversions → Uploads, with rows accepted and rows failed. A green result means the file parsed, not that the clicks matched. The number to watch is how many conversions actually appear against campaigns afterwards.
More on Razorpay → Google Ads
- Google Ads · Lead → booked callHow to track lead to booked call for Google Ads
- Google Ads · Booked call → closed wonHow to track booked call to closed won for Google Ads
- Google Ads · Free trial → paidHow to track free trial to paid for Google Ads
RELATED GUIDES
Where Razorpay → Google Ads fits in the rest of your tracking
- Google Ads · SubscriptionsGoogle Ads conversion tracking for subscription businesses
- Google Ads · SaaSGoogle Ads conversion tracking for SaaS companies
- Google Ads × SubscriptionsHow to reconcile Google Ads against your billing system
- Google Ads · Free trial → paidHow to track free trial to paid for Google Ads
- Sezzle → Google AdsConnecting Sezzle to Google Ads
- Razorpay → NextdoorConnecting Razorpay to Nextdoor Ads
- Financial servicesConversion tracking for financial services, built for the compliance review
- Chargebee → Google AdsConnecting Chargebee to Google Ads
Free · 30 min
Get Razorpay and Google Ads joined properly
Free30 minutesNo obligation
