- Most GA4 problems on Shopify come from a few causes: two setups sending the same events, purchases the browser never sends, consent signals that do not reach Google, and events or parameters that are missing.
- Check in this order: Tag Assistant for duplicate tags, DebugView for one test journey, the Events report for missing events, then a week of order ids against GA4 transaction ids.
- Use one browser setup for page and cart events. GA4 cannot deduplicate those, only purchases with the same transaction ID.
- A server-side purchase closes the gap the browser leaves, but it does not fix duplicate tags, wrong consent settings or missing product ids.
- Do not expect GA4 to match Shopify or Google Ads exactly; they count different things on different dates.
When GA4 does not track correctly on Shopify, the cause is usually one of five things: two setups sending the same events, purchases that never leave the browser, consent signals that do not reach Google, missing events or parameters, or reports that are compared on different terms. Each has a check you can run in under half an hour and a fix that does not need a rebuild.
This guide lists the common problems with cause, check and fix, the tools you need, and the order in which to work through them. If your main question is why revenue is lower than in Shopify, read why GA4 revenue doesn't match Shopify as well.
The tools you need
| Tool | What it shows | Use it for |
|---|---|---|
| Google Tag Assistant (tagassistant.google.com) | Which Google tags load on a page and which events they send | Duplicate tags, consent state, tags that do not fire |
| GA4 DebugView | The events of one debug session as GA4 receives them | Event names and parameters of a test journey |
| GA4 Realtime report | Activity in the last minutes | A quick check that events arrive at all |
| Browser developer tools, Network tab | Each request to Google Analytics with its parameters | Seeing what the browser really sent |
| GA4 Events report and explorations | Event counts and transaction ids over days | Missing events, duplicates, order matching |
| Shopify order export | Every order with its id, channel and payment method | The list GA4 should match |
Problem 1: the GA4 tag fires twice
Cause. A Shopify store can send GA4 events from three places: the Google & YouTube app, a snippet in the theme code, and Google Tag Manager. Stores that switched setups over the years often have two of them running. Every page view, and sometimes every purchase, then counts twice.
Check. Open the store with Tag Assistant and look at the number of GA4 tags and the events per page load. Two page_view events for one page load is the sign. In GA4, compare purchases with Shopify web orders: more purchases than orders points to the same problem at checkout.
Fix. Keep one browser setup. Remove the old snippet from theme.liquid and pause GA4 tags in Tag Manager if the app sends the same events, or the other way round. Check again in Tag Assistant afterwards.
Problem 2: purchases are missing
Cause. The purchase is sent from the browser after payment. Ad blockers, privacy settings, slow pages and shoppers who close the tab or pay on an external page and never come back all stop that event. Checkout, upsell and subscription apps can add steps where the browser tag never runs.
Check. Export a week of web orders from Shopify and list the GA4 transaction ids for the same week. Group the missing order ids by device, browser, payment method and the apps in their checkout.
Fix. Add a server-side purchase that fires when the order is paid, with the same transaction ID as the browser purchase. GA4 deduplicates purchases that share a transaction ID, so orders the browser did send are not counted twice. See GA4 server-side tracking on Shopify and server-side tracking on Shopify.
Problem 3: consent is set up wrong
Cause. Google's consent mode lets tags adapt to the visitor's choice. Two mistakes are common. The banner is not connected to consent mode, so tags stay in the denied state even after a visitor accepts. Or tags fire before the visitor has chosen, which is a compliance problem rather than a data problem.
Check. In Tag Assistant, accept the banner and look at the consent state for analytics_storage and ad_storage. It should change from denied to granted. Then decline in a fresh session and check that no cookies are set.
Fix. Connect your consent tool to Google consent mode, or use Shopify's own banner with its customer privacy settings, and test both choices. Purchases from visitors who declined will still be missing or modelled in GA4; that part is by design. See consent mode v2 and GDPR.
Problem 4: ecommerce events are missing
Cause. Older setups send only a few ecommerce events. Without view_item_list, view_cart, remove_from_cart or add_shipping_info, GA4's funnel and product list reports stay empty. Google's help page for the Shopify integration says the Google & YouTube app now sends an expanded set that includes these four, so an outdated app connection or a custom setup is the usual reason.
Check. In GA4, open the Events report for the last 28 days, show all rows, and look for the ecommerce events you expect: view_item_list, view_item, add_to_cart, remove_from_cart, view_cart, begin_checkout, add_shipping_info, add_payment_info and purchase.
Fix. Update the Google & YouTube app connection, or add the missing events in Tag Manager from Shopify's customer events. Then repeat one test journey in DebugView. The event-by-event setup is in GA4 ecommerce events on Shopify.
Problem 5: parameters are missing or inconsistent
Cause. An event can arrive with too little in it: no items array, no coupon, no variant, or a product name that combines product and variant so product reports split one product into many rows. Some setups also leave out the customer id as user_id, which GA4 uses to join a person's devices when User-ID is part of your setup.
Check. In DebugView, click a purchase from your test order and open its parameters and items. Compare item_id, item_name, item_variant, coupon, tax and shipping with the order in Shopify.
Fix. Send the parameters Google's purchase event reference describes: the value as the sum of price times quantity, with tax and shipping as separate parameters, and an items array with consistent ids. Decide once whether product ids are product ids, variant ids or SKUs, and use the same everywhere.
Problem 6: the Google Ads tag and the feed disagree
Cause. Remarketing and Performance Max match the product ids the Google Ads tag sends with the ids in your Merchant Center feed. Shopify stores can use several id formats, such as the variant id, a SKU or a combined id with country and product id. When the tag sends one format and the feed uses another, the match fails.
Check. In Google Ads, open the data source details of your Google tag and look at the events and product ids it receives, then compare a few with the ids in Merchant Center.
Fix. Make the tag send the same id format as the feed. If you changed feed apps, check this again; a new app often brings a new id format.
Problem 7: Google Ads counts conversions differently
Cause. Two common setup mistakes: more than one primary purchase conversion action, for example the Google Ads tag and an imported GA4 purchase both counting the same order, and enhanced conversions not turned on, so Google receives less data per conversion.
Check. In Google Ads, open Goals › Conversions › Summary. Count the primary purchase actions and open the diagnostics of the one you use.
Fix. Keep one primary purchase action and set the others to secondary. Turn on enhanced conversions for it. See enhanced conversions on Shopify.
Problem 8: GA4, Google Ads and Shopify disagree even when nothing is broken
Cause. The three tools count on different terms. Shopify counts every order, with tax and shipping. GA4 counts the purchases it received, attributed with its own model. Google Ads counts conversions it can link to an ad interaction, within its own conversion window. GA4 also needs time: Google says data processing can take 24 to 48 hours, and attribution credit can change for up to 12 days.
Check. Compare closed periods only, at least three days old, in the same time zone and currency, and compare the same thing: purchases with purchases, not revenue with conversion value.
Fix. Nothing to fix in the tags. Decide which number answers which question, as attribution data mismatch explains, and write it down for your team.
Problem 9: your own visits and payment pages pollute the data
Cause. Your team, your agency and your own test orders count as visitors and buyers. Shoppers who return from an external payment page can start a new session with that payment provider as the referrer, which takes the credit away from the ad that brought them.
Check. Look for your payment providers under session source in GA4, and for test orders among the purchases.
Fix. Define internal traffic by IP address and activate the filter (Google warns that an active data filter permanently excludes the data, so test it first). Add payment providers to the list of unwanted referrals in the data stream's tag settings.
Why the same problems hurt your ad platforms
The browser problems that cost GA4 purchases also cost Meta, TikTok and the other ad platforms their conversions, and those platforms bid on what they receive. A browser pixel plus a server event with the same event id gives each platform the best chance of counting every order once. See the Meta Conversions API and duplicate purchase events.
The order to work in
- Run a tag check
Tag Assistant on the home page, a product page and the cart. One GA4 setup, the right consent state.
- Place a test order
Follow it in DebugView from product view to purchase. Check event names, items and parameters.
- Read the Events report
Look for missing ecommerce events and for counts that are double what they should be.
- Match a week of orders
Compare Shopify web order ids with GA4 transaction ids and group what is missing.
- Fix the Google Ads side
One primary purchase action, enhanced conversions on, product ids that match the feed.
- Add server-side purchases
Only after the browser setup is clean, so you do not hide a duplicate behind a deduplication.
How ROASaurus helps you find and fix these
ROASaurus does not replace GA4. It gives you the checks next to it and a second sender for purchases.
| Problem | Where ROASaurus shows it |
|---|---|
| A tag set up twice, tags loading before consent | The free tracking audit reads your page source: GA4, Tag Manager and ad pixels, the same id set up twice, 15 consent tools and Google consent mode defaults |
| Purchases missing in GA4 | Connections › Tracking & destinations: GA4 as a server-side destination through the Measurement Protocol, with the order id as transaction_id |
| Did each order arrive? | Data quality › Overview and Deliveries: orders expected, events sent, and Google's answer per event |
| GA4 numbers next to your orders | Website › Search › GA4: sessions, users, key events, purchases and revenue per day and channel group, plus an explorer for your own GA4 reports |
| Ad platforms missing orders too | Server events to 16 ad platforms, including Google Ads, with the same event id as the browser pixel |
New GA4 destinations in ROASaurus send purchases and refunds only, because GA4 cannot deduplicate page and cart events between its own tag and the Measurement Protocol. Turn those on only when no GA4 tag runs on the store. Start with the free tracking audit for problems 1 and 3. For the full setup, see GA4 on Shopify and GA4 ecommerce reports; before the peak season, use the BFCM tracking checklist, and for email events, Klaviyo tracking on Shopify.
Sources
- Google Analytics Help: Monitor events in DebugView
- Google Ads Help: Shopify: Set up your Google tag
- Google Analytics Help: Minimize duplicate key events with transaction IDs
- Google Analytics Help: Filter out internal traffic
- Google Analytics Help: Identify unwanted referrals
- Google Analytics Help: Data freshness
- Google Analytics: Recommended events, purchase