Technical & AEO · 3 min read

The GA4 Setting That Hides Your Best Channel

Payment gateway redirects break session attribution unless you exclude them. Most Indian stores have not, and their best revenue is credited to Razorpay.

The short answer

If GA4 shows your payment gateway as a traffic source, your attribution is broken. A redirect to Razorpay, PayU or Cashfree and back starts a new session unless the gateway domain is listed as a referral exclusion, so the purchase gets credited to the gateway instead of to the campaign that earned it. It takes two minutes to fix and it silently misattributes revenue until you do.

What is actually happening

A customer arrives from a Google ad, browses, and goes to checkout. The gateway takes them off your domain to complete payment and returns them afterwards.

Without a referral exclusion, GA4 treats the return as a fresh visit from a new source. The original campaign loses the conversion and the gateway gains one. Your best-performing channel appears to underperform while a payment processor appears to drive sales.

How to check and fix it

  • Open your traffic acquisition report and look for a gateway domain in the source list
  • Go to Admin, then Data Streams, then your web stream, then Configure tag settings
  • Open the list of unwanted referrals and add every gateway domain you use
  • Add any other domain customers pass through, such as a booking or scheduling tool
  • Verify with a real transaction afterwards rather than assuming it worked

The other settings usually missing alongside it

Properties with this problem usually have company. Internal traffic is not filtered, so your own team inflates the numbers. Key events are either unset or set on a dozen things at once, which dilutes the signal until none of them means anything.

Ecommerce tracking is often partial, firing purchase without the earlier funnel steps, which leaves you unable to see where people drop out.

Why this matters beyond reporting

Misattributed conversions do not only make reports wrong. Where GA4 conversions are imported into Google Ads, the bidding algorithm learns from them, so a broken attribution chain teaches the platform to optimise toward the wrong thing.

That is the expensive version of this problem, and it compounds quietly for as long as the setting is missing.

Key takeaways

  • A payment gateway appearing as a traffic source means attribution is broken
  • Referral exclusions take two minutes and recover credit for your real channels
  • Broken attribution also teaches Google Ads to optimise toward the wrong signal

Reading these regularly? Make Rangblaze a preferred source on Google and our posts surface higher in your own results.

FAQ

Questions that follow this one

  • No. Referral exclusions apply going forward only, so the misattributed history stays as it is. Note the change date so you do not compare across it.

  • No. Different attribution models and windows mean they will differ by design. Reconcile both against backend orders rather than against each other.

Your Brand Could Be Next

Your brand could be next

Send a few details and we will reply on WhatsApp with a first read on what we would do, before any talk of fees.

No cold calls and no email sequences, so you set the pace.