Stripe shows sales every day. Google Ads shows almost none. GA4 says the money came from stripe.com. I hear this from clients nearly every week, and the ads are usually fine. The tracking stops at the payment page.
Stripe Google Ads conversion tracking works when Stripe or PayPal sends the buyer back to a thank-you page on your own site with the order ID in the URL. A Google Tag Manager tag reads that ID once, pushes one purchase event, and fires Google Ads, GA4 and Meta with the value and a transaction ID.
Think of a shop where the till sits in a different building. Your site never sees the payment, so unless the buyer walks back with a receipt, nobody on your side knows a sale happened. I set this up as a done-for-you Stripe and PayPal tracking setup. Below is the five-step version of the fix.
Step 1: Find where your Stripe and PayPal buyers land after paying
Your GTM container runs on your own pages. It does not run on checkout.stripe.com or paypal.com, so no tag can fire there. The only moment you can catch the sale is when the buyer comes back, and that depends on how each checkout is set up.
Stripe Payment Links and Stripe Checkout can send the buyer back with a session ID. PayPal Payments Standard sends a tx value if Auto Return is on. PayPal JavaScript buttons send whatever your own code adds. Before you change anything, run your site through my tracking audit tool to see what already fires.
Do this:
- List every place you take payment: Payment Links, Stripe Checkout, PayPal buttons.
- Pay a small test order on each one and watch where the browser ends up.
- Write down what is in the URL on arrival: session_id, tx, or nothing.
- Make sure GTM is installed on every page of your site, including the thank-you page.
Step 2: Send every buyer back to a thank-you page with the order ID
In Stripe, open your Payment Link, go to After the payment and redirect to your own website. Use a URL like /thank-you/?session_id={CHECKOUT_SESSION_ID}&product=pro-plan&value=49¤cy=USD. Stripe swaps the template for the real session ID. For clean campaign links on the same Payment Link, use my UTM builder.
In PayPal, turn on Auto Return and Payment Data Transfer in Website preferences, so PayPal adds tx to your Return URL. Then open GA4, go to your web stream's tag settings and add checkout.stripe.com, stripe.com and paypal.com to List unwanted referrals. Without that, GA4 credits your revenue to stripe.com. My my Stripe and GA4 guide covers the GA4 side in more detail.
Do this:
- Set the Stripe redirect to your thank-you page and paste {CHECKOUT_SESSION_ID} exactly as written, with curly braces.
- Add a fixed value and currency to each Payment Link redirect.
- In PayPal, turn on Auto Return and Payment Data Transfer, then set the Return URL.
- Add checkout.stripe.com, stripe.com and paypal.com to GA4 unwanted referrals.
- Check that the Conversion Linker tag fires on all pages.
Step 3: Add one purchase tracker tag in Google Tag Manager
This tag does the real work. It is a Custom HTML tag that runs only on your thank-you page. It reads the Stripe session ID, the PayPal tx or your own order ID from the URL, works out the value and currency, and pushes one GA4-style purchase event into the data layer.
It also remembers each order ID in the browser, so a reload or a bookmark does not count the same sale twice, and it skips PayPal payments that are still pending. The full code is in my blog post. Read it once before you paste it.
Do this:
- In GTM, go to Tags, New, and choose Custom HTML.
- Paste the tracker code and set CURRENCY to your store currency.
- Fill the PRICES list only if some redirect URLs have a product name but no value.
- Set the trigger to Page View, with Page Path containing /thank-you, for this tag only.
- Name the tag cHTML Stripe PayPal Purchase and save it.
Step 4: Fire Google Ads, GA4 and Meta on one purchase event, then test
Create data layer variables for the transaction ID, value, currency and checkout provider, plus a Custom Event trigger for purchase. Then add a Google Ads Conversion Tracking tag with the value, currency and transaction ID filled in. Google does not count a second conversion with the same ID, so that is your safety net against duplicates. Add a GA4 purchase tag and a Meta Purchase tag that uses the same ID as its event ID.
Now test. Turn on GTM Preview and pay a Stripe test order with the test card 4242 4242 4242 4242. On the thank-you page, open the purchase event and check the Data Layer tab. Reload the page and make sure no second purchase appears. If you have visitors from Europe, test your banner with my Consent Mode checker as well.
Do this:
- Create four data layer variables: transaction ID, value, currency and checkout provider.
- Create a Custom Event trigger for purchase.
- Add the Google Ads tag with Conversion Value, Transaction ID and Currency Code mapped.
- Add the GA4 purchase tag and the Meta Purchase tag with the same ID as the event ID.
- Test with Stripe test mode and a PayPal sandbox buyer, then reload to check for repeats.
Step 5: Catch the buyers who never come back and compare the numbers weekly
Some buyers close the tab right after paying. Bank debits and vouchers can take days to confirm. None of them load your thank-you page, so a browser tag cannot see them. I add a server-side backup: server-side GTM on Stape can read the order from the Stripe API with the session ID, or a Stripe webhook can send the sale to Google Ads as an offline conversion. My my guide to offline conversions covers that route.
Then make it a weekly habit. Put Stripe and PayPal payments, GA4 purchases and Google Ads conversions side by side for the same dates. A small gap you can explain is normal. A big one usually means returning buyers, consent or a redirect that drops the URL parameters. If you want a second pair of eyes, see what a Google Ads conversion tracking specialist sets up for clients.
Do this:
- Add a server-side backup through the Stripe API or webhooks for buyers who do not return.
- Send the same purchase to the Meta Conversions API with the same event ID.
- Compare Stripe, PayPal, GA4 and Google Ads numbers for the same dates every week.
- If Google Ads is far below Stripe, check non-returning buyers first, then consent, then redirects.
- Remove test orders before you scale your ad spend.
Quick answers
How do I track Stripe payments as Google Ads conversions?
Redirect buyers from Stripe to a thank-you page on your site with ?session_id={CHECKOUT_SESSION_ID} in the URL. A GTM tag reads it, pushes a purchase event, and a Google Ads conversion tag fires with the value and the ID as the transaction ID.
Why does Google Ads not show my Stripe purchases?
Usually the payment happens on checkout.stripe.com, where your tags do not run, and the buyer stays on Stripe's page or returns to a page with no order details. Redirect to your own thank-you page and fire the conversion there.
How do I track PayPal transactions on my website?
For PayPal Payments Standard, turn on Auto Return and Payment Data Transfer and set your thank-you page as the Return URL. PayPal then adds the transaction ID as tx. For JavaScript buttons, redirect from your onApprove code with the order ID and amount.
Why does GA4 show stripe.com as the source of my sales?
The buyer comes back from the payment domain, so GA4 starts a referral session. Add checkout.stripe.com, stripe.com and paypal.com to List unwanted referrals. It fixes new sessions only, so test with a fresh purchase.
Key takeaways
- The payment happens off your site, so you catch the sale when the buyer comes back.
- Put {CHECKOUT_SESSION_ID} in the Stripe redirect, and turn on PayPal Auto Return and Payment Data Transfer.
- Send a transaction ID to Google Ads. A repeat with the same ID is not counted twice.
- Add the Stripe and PayPal domains to GA4 unwanted referrals so revenue keeps its Google Ads source.
- Add a server-side backup for buyers who close the tab, and compare the numbers every week.
Summary
Stripe Google Ads conversion tracking works when Stripe or PayPal sends the buyer back to a thank-you page on your own site with the order ID in the URL. This guide is for stores and service sellers who take payments through Stripe Payment Links, Stripe Checkout or PayPal. The five steps: find where buyers land, add the redirect and the GA4 referral fix, add one GTM purchase tracker, fire Google Ads, GA4 and Meta then test, and add a server-side backup. The result is real order values in Google Ads.
Want the full guide with the complete tracker code, the test list and the troubleshooting section? It is here: https://mdniamul.com/blog/stripe-paypal-google-ads-conversion-tracking-gtm/
When Stripe shows ten sales this week, how many does Google Ads show?
MD Niamul
Conversion Tracking and Web Analytics Specialist, Digital Soldier Agency





Top comments (0)