GA4 E-commerce Tracking Broken: Purchase Events Fix
Home  /  Blog

GA4 E-commerce Tracking Broken: Purchase Events Fix

The Short Answer: When GA4 e-commerce tracking is broken, the purchase event is usually missing a required field (transaction_id, value, currency or items), firing on a thank-you page buyers never reach, or being sent twice by two different setups. Test one real order in Tag Manager preview and DebugView, check those four fields, list your payment gateway as an unwanted referral, and then compare GA4 orders with your store backend for a week.

Your store dashboard says 140 orders last month. GA4 says 61, or zero, or 280. Revenue shows as RM0 even though purchases appear. Google Ads cannot bid on sales it cannot see. GA4 e-commerce tracking broken is a common complaint from Malaysian online stores, and the cause is rarely GA4 itself. It is almost always the way the purchase event is built or where it fires.

This guide from IZI Digital Marketing shows you how to find which of the usual faults you have and fix that one, in order, using Google’s own tools and documentation. If you want the wider view of measurement and conversion work first, our analytics and CRO service page explains how tracking connects to sales decisions.

GA4 order count far from your store backend?

Send us your platform (Shopify, WooCommerce or custom), your payment gateway and the two order counts. We will tell you which fault the gap points to first. Get a purchase-tracking read

The video below shows how GA4 e-commerce tracking is meant to be set up, so you know what “working” looks like. Then use the sections that follow to find where your own setup departs from it.

How GA4 E-commerce Tracking Should Be Set Up

Source video: Watch on YouTube

PART 1 · DIAGNOSE

Why Is My GA4 Purchase Event Not Tracking?

IN BRIEFA purchase event breaks in one of three ways: it never fires, it fires with bad data, or it fires more than once. Each shows a different symptom in GA4, so read the symptom before you touch the tag. If ordinary events also fail, start with debugging GA4 events that are not firing.

Most store owners describe every problem the same way: “our GA4 ecommerce tracking is broken”. But the numbers usually tell you which kind of break you have before you open Tag Manager.

  • Purchases are zero or far too low. The event is not firing on the order confirmation page, or buyers never return to that page after paying through an online banking or card gateway.
  • Purchases appear but revenue is RM0. The event fires, but “value” or “currency” is missing, empty or sent as text such as “RM129.00” instead of a number.
  • Purchases are higher than real orders. Two setups send the same purchase, or the confirmation page fires again on refresh. That case has its own guide on stopping GA4 duplicate transactions.
  • Purchases show, product reports are empty. The “items” array is missing or each item lacks both item_id and item_name.

One Malaysian twist worth naming early: orders placed on Shopee or Lazada never reach your GA4, because the checkout happens on the marketplace, not on your site. If your “store backend” figure includes marketplace orders, the gap is not a tracking fault at all.

Bottom Line: Too low, zero revenue, too high and empty product reports are four different faults. Match your symptom first and you skip most of the guesswork.

BENCHMARK BRIEFING 1

What a Valid GA4 Purchase Event Must Contain

IN BRIEFGoogle’s purchase event needs a transaction_id, an items array, and a numeric value with a three-letter currency such as MYR. Miss one and GA4 either drops revenue or cannot remove duplicates. The same fields feed Google Ads conversion tracking with GA4, so a fix here helps both.

Before you debug anything, know what a correct purchase event looks like. Google publishes the exact required fields, and almost every broken setup we see is missing or mangling one of them.

Benchmark Briefing 1: Required Purchase Event Fields and What Breaks Without Them
Required fields of the GA4 purchase event, Google’s rule for each, and the symptom when it is missing or wrong. transaction_id: required, the unique identifier of a transaction; without it GA4 cannot deduplicate repeat purchases. value: required with currency, a number equal to the sum of price times quantity, excluding shipping and tax; text values or missing value give RM0 revenue. currency: required when value is set, three-letter ISO 4217 code such as MYR; missing currency means revenue metrics are not computed accurately. items: required array; each item needs item_id or item_name; without it product and item reports stay empty. Aggregated by IZI Digital Marketing from Google Analytics developer documentation, checked 4 October 2026.
Field Google’s rule Symptom if missing or wrong
transaction_id Required; unique per order Repeat firings counted as new sales
value A number: sum of price × quantity, no shipping or tax Purchases show, revenue is RM0
currency Required when value is set; ISO 4217 code, e.g. MYR Revenue not computed accurately
items Required array; each item has item_id or item_name Item and product reports stay empty

Aggregated by IZI Digital Marketing from Google Analytics developer documentation: purchase event reference and measure ecommerce, checked 4 October 2026.

Two of these fail quietly in Malaysian stores. Google’s purchase event reference says that if you set value, currency is required for revenue to be computed accurately. Themes and plugins built for other markets sometimes leave currency blank or pass the ringgit symbol. And value must be a plain number such as 129.00, not “RM129.00”.

Bottom Line: Four fields carry the whole sale. Check them in DebugView on one real order before you rebuild anything.

BENCHMARK BRIEFING 2

Shopify, WooCommerce or GTM: Where Purchase Tracking Breaks

IN BRIEFEach way of sending purchases to GA4 has its own weak point. Shopify’s built-in connection is simple but clashes with extra tags; plugins depend on the theme; a Tag Manager data layer is flexible but needs a developer. Your platform choice, covered in Shopify vs WooCommerce for Malaysia, shapes which fault to expect.

Find your setup in the briefing below. The most damaging pattern is running two routes at once, for example Shopify’s Google channel plus a Tag Manager purchase tag added later by a freelancer.

Benchmark Briefing 2: Purchase Tracking Routes and Their Typical Weak Point
Four common routes for sending purchase events to GA4 and their typical weak point. Shopify Google and YouTube sales channel: certain ecommerce events tracked automatically; weak point is duplicates when a second purchase tag is added through Tag Manager or custom code. WooCommerce or other plugin: plugin builds the data; weak point is themes, checkout plugins or payment redirects that skip the order received page. Google Tag Manager with data layer: developer pushes ecommerce data and a GA4 event tag sends it with Send Ecommerce data enabled; weak point is a stale ecommerce object if it is not cleared, or the checkbox left off. Hard-coded gtag on a custom site: developer writes the event directly; weak point is changes to checkout code that silently remove or alter the call. Aggregated by IZI Digital Marketing from Shopify Help Center and Google Analytics developer documentation, with IZI Digital Marketing’s assessment of weak points, checked 4 October 2026.
Route How purchases are sent Typical weak point
Shopify Google & YouTube channel Certain e-commerce events sent automatically Duplicates when a second purchase tag is added
WooCommerce or other plugin Plugin builds the event on the order-received page Payment redirect or checkout plugin skips that page
Tag Manager + data layer GA4 event tag with “Send Ecommerce data” on Checkbox off, or stale ecommerce object not cleared
Hard-coded gtag (custom site) Developer writes the purchase call in checkout code A checkout update removes or changes the call

Aggregated by IZI Digital Marketing from Shopify Help Center: setting up Google Analytics 4 and Google’s Tag Manager e-commerce guide; weak-point column is IZI Digital Marketing’s assessment, checked 4 October 2026.

For Tag Manager setups, Google’s e-commerce guide pushes ecommerce: null before each new e-commerce event to clear the previous object. Skip it and a purchase can carry items left over from an earlier add-to-cart. The same guide has you tick “Send Ecommerce data” with Data Layer as the source; with it unticked, the event arrives with no items.

Consultant’s Note: Before fixing anything, we ask one question: how many things on this site send a purchase? Stores that changed theme, agency or plugin over the years often have two or three. The right answer is one. Choose the route you will maintain, and switch the others off on the same day.
Bottom Line: One purchase route per store. Most “broken” tracking is two half-working routes competing.

PART 2 · DEPLOY

How to Fix GA4 Purchase Tracking Step by Step

IN BRIEFTo fix broken GA4 e-commerce tracking, place one real low-value order with Tag Manager preview open, follow it through DebugView, check the four required fields, then fix gateway referrals and duplicate routes. Stop at the first failure and fix only that. The same habit of tracing one visit end to end explains why GA4 direct traffic runs too high.

Work through these steps in order. Each one closes off a whole group of causes.

  1. List every purchase route. Open Tag Manager and search your tags for “purchase”. Then check the Shopify Google channel, your WooCommerce plugins and any custom code. Write down each place that can send a purchase.
  2. Place one real test order. Use a cheap product or a staff discount code, with Tag Manager preview running. Pay through the same gateway your customers use, including FPX online banking if you offer it, because the redirect back to your site is often where tracking breaks.
  3. Confirm the buyer lands on the confirmation page. Some gateways show their own success screen and only return the buyer if they click “back to merchant”. If your purchase tag fires only on your thank-you page, those orders never reach GA4.
  4. Read the event in DebugView. In GA4, open Admin, then DebugView, and click the purchase event. Check transaction_id, value, currency and items against Benchmark Briefing 1.
  5. Add your payment gateway as an unwanted referral. Google’s unwanted referrals help page names third-party payment processors as the classic case. Go to Admin, Data streams, your web stream, Configure tag settings, then List unwanted referrals, and add the gateway’s domain as it appears in your referral report.
  6. Remove the extra routes. Keep the one route you chose and pause the rest. Refresh the confirmation page once to confirm only one purchase arrives.
  7. Reconcile for seven days. Compare GA4 purchases with paid orders in your store backend, website orders only, each day for a week.

Step 5 matters more than it looks. Without it, the buyer’s return from the gateway can start a new session credited to the gateway, so the sale is attributed to your payment provider instead of the ad or post that brought them. If you also send purchases to Meta, check the same order in Events Manager; our guide to fixing Meta Pixel duplicate events covers that side.

Would rather not place test orders on a live store alone?

We can walk through one test purchase with you on a screen-share and name the step where your sale goes missing. Book a purchase-tracking check

DECISION BOX · WHICH FIX DOES YOUR SYMPTOM NEED?

What GA4 shows Fix first Who usually fixes it
Zero purchases Trigger and confirmation-page firing You, in Tag Manager or app settings
Fewer purchases than orders Gateway return path, consent You plus your gateway settings
Revenue RM0 value and currency fields Developer or plugin settings
More purchases than orders Extra routes, transaction_id You, by pausing duplicate tags

Verdict: If the fix is a setting, do it yourself today. If it needs changes to the data layer or checkout code, brief a developer with the DebugView screenshot, not a vague “tracking is broken”.

Bottom Line: One test order, traced from the gateway back to DebugView, finds most purchase faults in under an hour.

BENCHMARK BRIEFING 3

How Much Revenue Can Broken Tracking Hide?

IN BRIEFA healthy setup still misses some orders to ad blockers and denied consent, but broken GA4 e-commerce tracking can hide half or more. The size of the gap tells you which fault you have. What that gap costs in wasted ad spend is set out in the cost of bad conversion tracking.

The model below takes a sample store with RM100,000 of website orders in a month and shows what GA4 might report under each fault. The figures are illustrative, not measured; use them to read the shape of your own gap, not as a benchmark.

Benchmark Briefing 3: Revenue GA4 Might Report on RM100,000 of Real Orders
Illustrative model of revenue GA4 might report for a store with RM100,000 of website orders in a month, by tracking fault. Healthy single route: about RM90,000, the gap coming from ad blockers and denied consent. Gateway success screen with no return to the confirmation page: about RM55,000. Tag fires only on desktop thank-you template: about RM40,000. Currency or value missing: RM0 revenue though purchases are counted. Two routes with no transaction ID deduplication: about RM180,000. Illustrative model by IZI Digital Marketing; scenario shares are assumptions for teaching, not measured client data.
Fault scenario Revenue GA4 shows
Healthy single route ~RM90,000
Gateway does not return buyers ~RM55,000
Tag on desktop template only ~RM40,000
Value or currency missing RM0 (purchases still counted)
Two routes, no deduplication ~RM180,000

Illustrative model by IZI Digital Marketing; scenario shares are teaching assumptions, not measured client data. Field rules from Google’s purchase event reference.

The last row is the dangerous one, because an inflated number looks like good news. Google’s page on minimising duplicate key events with transaction IDs says GA4 deduplicates purchases that share a transaction ID, and that this works for web streams, not app streams. A route that sends a blank or random ID gets no such protection.

Bottom Line: A gap of about one in ten is normal. Half missing points to the gateway or the trigger; double points to two routes.

BENCHMARK BRIEFING 4

How to Check GA4 Revenue Against Your Store Orders

IN BRIEFAfter a fix, compare GA4 purchases with paid website orders daily for a week. The match rate should climb and then hold steady. Track it the same way you track any key figure, as in the GA4 reporting metrics that matter.

A fix for broken GA4 e-commerce tracking is not finished when DebugView looks right. It is finished when the daily match rate between GA4 and your backend stays stable. The model below shows what a healthy recovery looks like over two weeks.

Benchmark Briefing 4: GA4 Purchases as a Share of Backend Orders, Before and After a Fix
Illustrative model of GA4 purchases as a share of paid website orders in the store backend, by period, for a store fixing a gateway return fault. Week before fix: about 55 percent. Fix day: about 70 percent, part of the day still on the old setup. Days 2 to 3 after the fix: about 85 percent, reports still processing. Days 4 to 7: about 90 percent. Week 2: about 90 percent and stable; the remaining gap is ad blockers and denied consent. Illustrative model by IZI Digital Marketing, not measured client data; GA4 processing can take 24 to 48 hours per Google Analytics Help.
Period GA4 ÷ backend orders What to read into it
Week before fix ~55% Fault confirmed
Fix day ~70% Mixed day; ignore
Days 2–3 ~85% Still processing; wait
Days 4–7 ~90% Fix working
Week 2 ~90%, stable Normal gap; stop tuning

Illustrative model by IZI Digital Marketing, not measured client data. Processing delays per Google Analytics Help: data freshness.

A few rules keep the comparison honest:

  • Count paid website orders only. Leave out marketplace, WhatsApp and walk-in orders, plus cancelled or unpaid ones.
  • Match the time zone. Set your GA4 property and store to Malaysia time, or orders around midnight land on different days.
  • Set the reporting currency to MYR. Google’s currency reference says other currencies are converted at the prior day’s exchange rate, which can make RM totals drift if the property uses another default.

If you sell through Google Shopping, clean purchase data also helps keep campaigns and feeds trustworthy; see our steps for a suspended Google Merchant Center if that account is also giving trouble.

Bottom Line: A steady match rate for a full week is your proof the fix held. Chasing the last few percent rarely pays.

PART 3 · DRIVE

Trust Your Revenue Numbers Before You Scale Spend

When GA4 e-commerce tracking is broken, work through it in this order:

  1. Read the symptom: too low, RM0 revenue, too high, or empty product reports.
  2. Keep one purchase route and switch the others off.
  3. Trace one real order through your gateway, Tag Manager preview and DebugView.
  4. Check the four fields: transaction_id, numeric value, MYR currency and items.
  5. List your gateway as an unwanted referral, then reconcile for seven days.

Reliable revenue changes the decisions above it. Smart bidding in Google Ads, purchase optimisation in Meta Ads and judging which content earns sales all depend on it. The same discipline applies when you pay creators: if you budget using influencer marketing rates in Malaysia, give each creator a tagged link so their sales show up cleanly in GA4. And once the data is clean, conversion rate optimisation becomes a decision you can actually measure.

FAQ

Frequently Asked Questions

1. Why does GA4 show purchases but zero revenue?

Because the value or currency field is missing or malformed. It depends on your setup, but the usual cause is value sent as text such as “RM129.00” or a blank currency; send a plain number and “MYR”.

2. Why are GA4 purchases lower than my Shopify or WooCommerce orders?

Some gap is normal, but a large one is a fault. It depends on the size: around one in ten comes from ad blockers and consent, while half or more usually means buyers are not returning to your confirmation page.

3. Why are my GA4 purchases higher than real orders?

Usually two setups send the same sale. It depends on your history, but a platform connection plus a Tag Manager purchase tag is common; keep one, and make sure every purchase carries a unique transaction_id.

4. Why does my payment gateway show as a traffic source in GA4?

Because the buyer’s return from the gateway starts a new referral. It depends on your gateway, but adding its domain to the unwanted referrals list in your web data stream settings fixes the attribution.

5. How long until fixed purchase data shows in GA4 reports?

Within seconds in DebugView, but longer in reports. It depends on the report, but standard reports can take 24 to 48 hours to settle, so judge a fix on a full week of data.

6. Will Shopee or Lazada orders show in my GA4?

No, not as purchases on your property. It depends on where checkout happens, and marketplace checkouts run on the marketplace’s own site, so leave those orders out when you reconcile.

7. Do I need a developer to fix GA4 e-commerce tracking?

Not always. It depends on the fault: removing duplicate tags and adding unwanted referrals are settings you can change, while a broken data layer or checkout code needs a developer.

Want revenue figures you can trust before your next sale campaign?

Book a free Blueprint consultation. We will diagnose where your purchases go missing, design one clean tracking route, and help you decide which revenue numbers your ad budget should follow.

Book my free consultation

Have a campaign in mind? Let's talk.