Skip to main content
Stripe → Google AdsIntegration guide

Connecting Stripe to Google Ads

Stripe knows exactly what was paid, by whom, and when — down to the cent, including the refund three weeks later. 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 Stripe Customer or PaymentIntent 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

Stripe to Google Ads: GCLID in metadata, trials and renewals sorted

Put the GCLID, or gbraid/wbraid, into the Stripe Checkout Session or PaymentIntent metadata, and on the Customer for subscriptions, then upload from the webhook to an import conversion action with the PaymentIntent ID as order ID. For trials, send trial start as secondary and the first paid invoice as primary. Use charge.refunded to send retractions or restatements.

Put the GCLID, or gbraid/wbraid for iOS traffic, into the Checkout Session or PaymentIntent metadata when your server creates it, and upload from the webhook against an import conversion action. For one-time payments that is most of the job, and the PaymentIntent ID makes a natural order ID for the upload, which stops the same payment being counted twice.

Free trials are where Stripe and Google Ads disagree. Checkout completes at zero when a trial starts, and the first real charge arrives days or weeks later as invoice.paid. Upload a trial start as a secondary conversion if you want bidding to see volume, and the first paid invoice as the primary conversion with its actual value; both land well inside the 90-day click window for normal trial lengths. Store the GCLID on the Stripe Customer too, since subscription invoices do not carry the Checkout Session's metadata.

Refunds are the other Stripe-specific step. charge.refunded hands you the original metadata, so you can send a retraction or a lower restatement to Google Ads against the same GCLID and conversion time. Most setups skip it, and Google's reported ROAS stays at the pre-refund figure.

Stripe → Google Ads · what breaks

Why this join usually fails — Stripe → Google Ads

  1. 01

    The GCLID never reaches Stripe

    Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created.

  2. 02

    Checkout is on Stripe's domain, so the browser loses the thread

    The customer leaves your site, pays somewhere else, and comes back to a thank-you page. Anything relying on browser continuity across that hop is unreliable, and on Safari it is worse than unreliable.

  3. 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.

  4. 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.

Stripe → Google Ads · the fix

What working looks like — Stripe → 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

Stripe → Google Ads · architecture

How Stripe and Google Ads actually connect

  1. 1

    Stripe holds the truth

    Every succeeded PaymentIntent is a real conversion with a real amount and currency. No sampling, no modeling, no consent gate. This is the number the business actually banked, which is why it is the reference rather than anything either ad platform reports.

  2. 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. 3

    The identifier is the bridge

    The GCLID, captured at the visit and carried into the Stripe Customer or PaymentIntent.

  4. 4

    The event source decides reliability

    Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.

  5. 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.

Stripe → Google Ads · normal or broken

Working vs. broken, side by side — Stripe → Google Ads

Normal, not a fault

  • The GCLID present on the payment

  • Sent from the Stripe 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

    Stripe Checkout runs on checkout.stripe.com, a different origin from your site, so nothing you set in a first-party cookie travels with the customer. The identifier has to be put into PaymentIntent metadata (or the Checkout Session's metadata) at the moment you create the session, server-side. If you create sessions from a price link or a Buy Button, there is no server step and no metadata — that setup cannot be joined to advertising at all without changing how sessions are created.

  • Sent from the browser

    The customer leaves your site, pays somewhere else, and comes back to a thank-you page. Anything relying on browser continuity across that hop is unreliable, and on Safari it is worse than unreliable.

  • 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

Stripe → Google Ads · diagnose

Diagnostic order — Stripe → Google Ads

  1. 01

    Count payments carrying the GCLID

  2. 02

    Follow one real conversion end to end

  3. 03

    Open one succeeded PaymentIntent in the Stripe dashboard

    Look at its Metadata section. If the identifier is not there, nothing downstream can fix it — the join is broken at the source and every other check is wasted effort.

  4. 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.

  5. 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.

Stripe → Google Ads · prove

How it gets proven — Stripe → Google Ads

Source of truth

The Stripe dashboard — Payments, filtered to succeeded, for the same window.

  • 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 refunded payment confirmed to reverse, not just the sale confirmed to send.

Stripe → Google Ads · free audit

What we check in the free audit

  • Count payments carrying the GCLID
  • Follow one real conversion end to end
  • Open one succeeded PaymentIntent in the Stripe dashboard
  • Check the conversion action type and the upload diagnostics
  • Read the match rate, not the success message

Checked against

The Stripe dashboard — Payments, filtered to succeeded, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

Stripe → Google Ads · when not to buy

When you don't need this — Stripe → Google Ads

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the GCLID.
  • If you take payment through a hosted Payment Link or Buy Button and have no server creating sessions, this needs a development change on your side before any tracking work is worth commissioning. Worth knowing before you pay for tracking.
  • 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.

Stripe → Google Ads · what we deliver

What gets built — Stripe → Google Ads

  • Identifier capture into Stripe

    Read the click identifier from the landing page, persist it in a first-party cookie, and pass it into the create-session call as metadata. Stripe carries metadata onto the resulting PaymentIntent and Charge, so it survives to the webhook and to any later refund.

  • Event source: the Stripe webhook

    Subscribe to payment_intent.succeeded (or checkout.session.completed) and send from your server when Stripe fires it. Reading a payment from the thank-you page instead means every customer who closes the tab on the redirect is a conversion you never counted, and Stripe redirects after taking money, not before.

  • 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

    Stripe fires charge.refunded and charge.dispute.created. Both carry the original metadata, so a refund can be sent as a negative or a retraction wherever the destination supports it. Most setups never wire this and quietly overstate revenue by the refund rate.

Written guarantee

95%+ tracking accuracy

Measured against The Stripe dashboard — Payments, filtered to succeeded, for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Stripe → Google Ads questions, answered

Not that we know of; Stripe does not upload offline conversions for you. A webhook handler or server GTM container reads the GCLID from metadata and uploads.

Free · 30 min

Get Stripe and Google Ads joined properly

Free30 minutesNo obligation