Apple Pay / Google Pay showing as Direct in GA4

When express checkouts like Apple Pay and Google Pay show up as Direct traffic in GA4, your attribution is broken. Here is how to fix the referral exclusion.

You check your traffic sources for the week and see a massive spike in Direct traffic. At the same time, revenue attributed to your paid search and social campaigns has dropped. Your paid agency says the campaigns are fine, but the numbers in GA4 tell a different story.

Your customers did not suddenly start typing your web address in by hand. If you have recently added express checkout options like Apple Pay, Google Pay or PayPal to your store, you are looking at a classic referral exclusion failure. When a customer uses a digital wallet, they are taken away from your site to authorise the payment. When they return, GA4 sees them as a brand new visitor.

The original session, along with the Google Ads click that brought them there in the first place, is abandoned. The new session is credited to the digital wallet or defaults to Direct. If purchases are being misattributed, we investigate what is happening and explain what needs changing.

What happens when wallets break attribution

When an attribution gap opens up, it costs your decisions. If your best-performing Google Ads campaign suddenly looks like it is generating zero return on ad spend, your natural reaction is to pause it or cut the budget. Meanwhile, your Direct traffic looks incredibly profitable, even though you cannot actively manage or scale it.

The report gets a number. You get absolutely nothing useful to inform your next marketing investment. You cannot grow online sales if the numbers are not accurate.

The commercial consequence is that the bidding algorithm loses the signal. If Google Ads cannot see the purchases, it cannot learn which clicks are valuable. It starts optimising towards cheaper, lower-intent traffic. You end up paying to find more people who browse but never buy.

The true cost of broken referral chains

Let us look at what happens to a single high-value trade order when the referral exclusion is missing. A buyer clicks an ad, adds £1,200 of equipment to their basket, and chooses Apple Pay. They are redirected to applepay.apple.com to authenticate on their phone. When they land on your thank-you page, the tracking script fires.

Because the previous page was an Apple domain, GA4 treats this as a new session. If it recognises the domain as a referral source, it logs a sale from Apple Pay. If it cannot read the referrer, it logs a sale from Direct.

Illustrative figures: what broken sessions do to your reporting

What the report saysWhat is happening underneathWhat it does to your spend
£10,000 Paid Search RevenueOriginal sessions are truncated at checkoutPaid campaigns appear unprofitable
£25,000 Direct RevenueReturning wallet buyers are logged as newDirect traffic is massively inflated
£5,000 Apple Pay ReferralSome wallet returns register as referral trafficReferral traffic claims false credit
Gap: £30,000 misattributedThe wallet redirect broke the tracking chainBidding algorithms lose crucial conversion data

This matters when those numbers influence where your money goes. If your campaigns optimise towards a false zero, you are actively harming your own growth. If you base commercial decisions on these corrupted metrics, you will actively damage your profitability. Reliable analytics are the only defence against misdirected marketing budgets. We review your complete analytics architecture to ensure that the tracking reflects real trading conditions, not temporary technical faults.

Checking the session timeout limits

Sometimes the issue is not just the domain redirect. If a trade buyer starts building a complex order, goes to lunch, and returns to authorise the Google Pay prompt 35 minutes later, you have a different problem.

By default, Google Analytics 4 times out a session after 30 minutes of inactivity. When the buyer finally completes the payment, the original session has expired. Even if the domain is excluded properly, there is no active session to attach the conversion to. The result is another orphaned purchase landing in the Direct bucket.

The technical attribution diagnostic

What the symptom looks likeWhat is causing itThe necessary fix
Surge in Direct traffic with high revenueUnwanted referrals from payment gatewaysAdd wallet domains to the GA4 exclusion list
Apple Pay showing as a top referrerMissing applepay.apple.com exclusionUpdate the data stream tag settings
Google Ads conversions dropping sharplyCross-domain tracking missing on owned portalsConfigure domains in the GA4 admin panel
Direct traffic from buyers taking a long timeDefault 30-minute session timeout expiringExtend the session timeout to 4 hours
Missing transactions entirelyTag blocked on the return thank-you pageEnsure the tracking script loads on all return routes

What Agentix checks and fixes

We check what happens all the way through the payment journey. Did the customer leave the site? What domain did they return from? Did the session stitch back together, or did it break and start again?

We look at the exact referral strings appearing in your reports and trace them back to the checkout mechanics. If pay.google.com or applepay.apple.com are hijacking your conversions, we configure the unwanted referral lists in your GA4 data stream settings to ensure the original traffic source retains the credit.

If the problem is related to the time taken to complete a B2B purchase, we adjust the session timeout windows to match your actual buying cycle. We interrogate the network requests generated by your visitors, removing conflicting tags and restoring clarity to your performance data.

The aim is straightforward. When your dashboard says you have had an enquiry or a sale from a specific campaign, the tracking should reflect the reality of how that customer found you.

Frequently asked questions

How do we stop Apple Pay from breaking our tracking?

You need to add the Apple Pay domains to the List Unwanted Referrals section within your Google Analytics 4 data stream settings. This tells GA4 to ignore the payment gateway as a traffic source and credit the original campaign that brought the visitor to your site.

What is the difference between cross-domain tracking and referral exclusions?

Cross-domain tracking is used when you own both websites and want to pass the session ID between them seamlessly. Referral exclusions are used for third-party domains that you do not control, such as payment gateways, to prevent them from starting a new session when the user returns.

Why does increasing the session timeout help with B2B orders?

B2B purchases often involve larger baskets and internal approval checks, meaning the buyer might leave the checkout open for longer than the default 30-minute window. Increasing the timeout to two or four hours ensures the session remains active while they arrange payment, preventing the final purchase from defaulting to Direct.

Can we retrospectively fix the misattributed data in GA4?

Google Analytics 4 processes data at the time of collection, meaning you cannot rewrite the historical reports to fix the attribution. You need to implement the referral exclusions and timeout adjustments now so that all future transactions are recorded accurately.

Hub: /services/tracking-reporting Services: /services/ga4, /services/tracking-audits, /services/ecommerce-tracking Angle: wallet redirect session drops and cross-domain linker rules

Published: 2025-05-06T09:00:00Z

Related reading