Analytics

Shopify Analytics vs GA4: which numbers to trust

Shopify Analytics counts confirmed orders, GA4 measures visitors and channels. When to use each, why the numbers never match, and how to use both.

·5 min read·By the ROASaurus team

Key takeaways
  • Shopify Analytics is built on the orders in your store, so it is the source of truth for revenue, refunds, products and customers.
  • GA4 is built on what browsers report, so it is stronger on traffic sources, behaviour and campaign paths, but it misses some purchases.
  • The two never match exactly: blocked scripts, declined consent, lost UTM tags, different time zones and different attribution rules all play a part.
  • Use both: Shopify for what was sold, GA4 for how people got there, and measure the size of the gap instead of guessing it.

Trust Shopify Analytics for what was sold and GA4 for how visitors got there. Shopify counts confirmed orders in its own database, so its revenue, refund and product numbers are the ones your accountant should use. GA4 records what browsers send it, so it sees traffic sources, campaign paths and on-site behaviour that Shopify does not, but it misses part of the purchases. The two will never match exactly; the useful question is how big the gap is and why.

Two tools built for different questions

Shopify Analytics
  • Source: orders confirmed in the store backend
  • Strong on: revenue, refunds, taxes, shipping, products, variants, customers
  • Weak on: where visitors came from and what they did before buying
Google Analytics 4
  • Source: events sent from browsers (and servers, if set up)
  • Strong on: traffic sources, campaigns, funnels, paths, devices, landing pages
  • Weak on: complete purchase counts and exact revenue
The same store seen through its order book and through its visitors.

When to use Shopify Analytics

Use Shopify's reports whenever the question is about money or stock that actually moved:

  • Revenue, taxes, discounts and shipping income for finance and accounting.
  • Refunds and returns, by product or period.
  • Product and variant performance, including what sells out.
  • Customer counts, repeat purchases and customer segments tied to Shopify profiles.
  • Fulfilment and shipping reports.

Shopify also shows sessions and marketing sources, but it was built around orders. For questions about how a campaign performed across a whole visitor journey, GA4 or a dedicated attribution tool goes further.

When to use GA4

Use GA4 when the question is about visitors, channels or behaviour:

  • How paid campaigns on Google, Meta or TikTok compare in sessions, engagement and conversions.
  • Which traffic sources and landing pages lead to purchases, and under which attribution model.
  • Where visitors drop out between product page, cart and checkout.
  • Segments by device, country, channel or audience.
  • Landing page tests, engagement and time on site.

GA4 is only as good as its setup. A store with a duplicate tag, missing ecommerce events or no consent handling will get reports that look precise but are not.

Why Shopify and GA4 numbers do not match

A difference between the two does not mean either one is broken. They count different things, in different ways:

CauseEffect on GA4
Ad blockers and browser privacy settings stop the GA4 tagPurchases missing
Visitors decline analytics consentPurchases missing or modelled instead of counted
Shopper closes the tab before the thank-you page loads, or pays on an external page and does not returnPurchases missing
Draft orders, POS sales and subscription renewals never pass through a browserPurchases missing
A tag installed twice, or a page reload on the thank-you pagePurchases counted twice
UTM tags stripped by a redirect, or not added to linksRevenue credited to direct or referral
Revenue with or without tax and shipping, and refunds not sent to GA4Revenue differs per order
Different time zones or currencies in the two settingsOrders land on different days
Most causes make GA4 lower than Shopify; a few make it higher. Check both directions.

Worked example: measuring the gap

A fictional store compares one month in both tools:

Example store, one month of online orders
Online store orders in Shopify
1,000
Purchases in GA4
830
Purchases in GA4 after server-side purchases
975
Example data. Compare online-store orders only: leave POS and draft orders out of the Shopify side.

GA4 sees 830 of 1,000 orders: a gap of 17%. The store then checks the causes in the table. It finds no double counting (GA4 has no duplicate transaction_id values), a time zone that already matches, and most missing orders on Safari and from visitors who declined consent. Sending purchases to GA4 from the server, with the same transaction_id, brings GA4 to 975. The remaining 25 orders are visitors without a GA4 client id, whose revenue still counts in GA4 but without a channel.

Can you use both together?

Yes, and most stores should. A simple split of roles:

  1. Report revenue from Shopify

    Totals, refunds, product sales and customer counts come from the order data.

  2. Analyse channels and behaviour in GA4

    Use it to see which sources and pages lead to sales and where visitors drop out.

  3. Track the gap every month

    GA4 purchases ÷ Shopify online orders. A sudden drop usually means a broken tag, a new consent setting or a theme change.

  4. Close the avoidable part of the gap

    Fix duplicate tags and UTM tagging, add refunds, and send purchases server-side so blocked browsers no longer lose them.

For channel decisions there is a third option: attribution built on your own order data, where every order is counted once and credited with one model across all channels. That avoids both GA4's missing purchases and each ad platform grading its own work. See multi-channel attribution.

Where ROASaurus fits

ROASaurus works from the orders in your store, like Shopify, and adds the visitor side through its own first-party tracking script. Website › Visitors shows sessions, users, conversion rate, revenue per session, sources and landing pages for consented visits; revenue and profit come from the orders themselves. It can also send each paid order to GA4 server-side with the visitor's GA4 client id and session, so GA4's purchase count comes closer to Shopify's.

The ROASaurus Mac app showing Website visitors: sessions, users, bounce rate, conversion rate and revenue per session. Fictional demo store, simulated data.
The ROASaurus iPhone app showing Website visitors: sessions, users, bounce rate, conversion rate and revenue per session. Fictional demo store, simulated data.
Website › Visitors in the public demo (ROASaurus Demo Store, a fictional store): visitor numbers from the first-party script, next to orders from the store.

In Data quality › Overview, the GA4 row shows how many orders GA4 should have received and how many it accepted, so the gap from the worked example is measured for you every day.

Next step

Sources

  1. Shopify Help Center: Analytics fields and metrics
  2. Google Analytics: Measurement Protocol (GA4)

In ROASaurus

Keep reading

AttributionMulti-channel, cross-channel and omnichannel attributionMulti-channel, cross-channel and omnichannel attribution compared: what each one credits, the models they use, a worked example and the usual pitfalls.AnalyticsA/B testing on Shopify: a practical guideHow to A/B test on Shopify: hypothesis, sample size, what to test, apps vs Rollouts, reading results, and checking the winner also wins on profit.AnalyticsConversion rate in GA4 for ecommerce, per collectionHow GA4 calculates session and user key event rates, how to get a purchase conversion rate per channel and per collection, and what to fix when it drops.

FAQ

Questions, answered

More answers in the FAQ and the help center.

What is the difference between Shopify Analytics and Google Analytics?

Shopify Analytics reports from the orders confirmed in your store, so it is exact on revenue, refunds and products. GA4 reports from events browsers send, so it is stronger on traffic sources and behaviour but misses some purchases.

Why are my GA4 and Shopify revenue numbers different?

GA4 misses purchases blocked by ad blockers, declined consent or a thank-you page that never loads, and can differ on tax, shipping, refunds and time zone. Shopify counts every confirmed order.

Should I use Shopify Analytics or GA4 for reporting?

Use Shopify for revenue, refunds, products and customers, and GA4 for traffic sources, campaign performance and on-site behaviour. Most stores need both.

Is a gap between GA4 and Shopify normal?

Yes, some gap is normal and its size depends on your audience, consent rules and setup. Measure it monthly; a sudden change is a sign that something in the tracking broke.

Can I fix GA4 purchase tracking on Shopify?

Remove duplicate tags, use one installation method, send refunds, and add server-side purchases through the Measurement Protocol with the same transaction_id as the browser event.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.