GA4 Shopify Setup: eCommerce Events and Reports That Matter
GA4 Shopify setup guide: the Google & YouTube channel, eCommerce events, key events, the three reports a store needs, and pitfalls that distort your numbers.
Author: Mousa Alhelo · Published · 6 min read
A GA4 Shopify setup takes minutes through the official Google & YouTube channel, which sends the standard eCommerce events (view item, add to cart, begin checkout, purchase) to Google Analytics 4 without writing code. But connecting is the easy part. The value comes from marking key events, reading the right reports, and understanding why GA4 will never match store revenue exactly. This guide covers the setup, the reports a merchant actually needs, and the mistakes we see again and again.
What GA4 gives a store that the ad platforms do not
Meta sees Meta customers, Google Ads sees Google Ads customers, and each attributes the order to itself. GA4 is the neutral layer that sees the whole journey: a visitor arrives from an Instagram ad, returns through Google search, then buys from a WhatsApp link. That makes GA4 the right place for three questions:
- Where does traffic come from and which source converts best?
- Where do customers leak out of the funnel: product page, cart or checkout?
- Which products and collections are viewed but not bought?
Accurate revenue always comes from Shopify, which is how we structure the monthly eCommerce performance report.
Steps to connect GA4 to Shopify through the official channel
- Create a GA4 property in Google Analytics if one does not exist, using the same currency and time zone as the store.
- Install the Google & YouTube channel from the Shopify App Store and sign in with the Google account that owns the property.
- In the channel settings choose Google Analytics and link the property. Shopify starts sending events immediately.
- In GA4, open Admin, then Data Streams, and confirm the web stream is receiving events.
- Open Admin, then Events, and mark purchase as a key event.
- Enable Google Signals and set data retention to 14 months instead of the short default.
If you previously pasted GA4 code into the theme, remove it, otherwise you get duplicate events and doubled sessions. A store with the official channel plus a manual tag is the most common cause of inflated GA4 numbers we encounter.
When do you need Customer Events or Tag Manager?
Shopify provides Customer Events (custom pixels) that run in a secure sandbox including the checkout. You need them only for non-standard events (tracking a specific filter or video view, for example) or for other tools’ tags. For most Gulf stores, the official channel is enough and saves ongoing maintenance.
The eCommerce events that must arrive
| GA4 event | When Shopify fires it | Why it matters |
|---|---|---|
| view_item_list | Viewing a collection or search results | Which collections are browsed |
| view_item | Opening a product page | Top of the funnel per product |
| add_to_cart | Adding a product to the cart | Product page strength |
| begin_checkout | Starting checkout | Trust in the cart and shipping |
| add_payment_info | Entering a payment method | Friction with cash on delivery or cards |
| purchase | Completing the order | The key event and source of conversion rate |
Verify each event through DebugView in GA4 or the Realtime report while placing a test order. The purchase event must carry the order ID (transaction_id), value, currency and item list. Without transaction_id an order can be counted twice if the customer reloads the thank-you page.
Key events and the link to Google Ads
In GA4 a goal is called a key event. Mark only purchase as the eCommerce key event. You can also mark add_to_cart and begin_checkout to monitor them, but do not import them into Google Ads as primary goals. If you decide to import purchase from GA4 into Google Ads, keep it secondary when the Google & YouTube channel already creates the purchase conversion, as explained in Google Ads conversion tracking on Shopify.
The reports you actually need
GA4 contains dozens of reports, and most merchants need very few. Three cover most decisions:
1. Traffic acquisition: Reports, then Acquisition. Show sessions, key events and conversion rate by session source / medium. This is where you see that Instagram brings many visits at a low conversion rate while Google search brings fewer at a higher one. The accuracy of this report depends on a consistent UTM tracking convention for store campaigns.
2. Purchase journey: Reports, then Monetization. It shows the progression from product view to add to cart to checkout to purchase. A large leak between cart and checkout usually points to shipping surprises or a missing familiar payment method.
3. Ecommerce purchases: for each product, views, adds to cart and purchases. Products with high views and low purchases are the priority for product page or pricing work.
You can build one custom report in Explore that combines the three, or export them to Looker Studio for a single monthly report.
Why GA4 will never match Shopify revenue
Every new merchant asks this. The natural reasons:
- GA4 depends on the browser, so it loses sessions to cookie blocking, blocking extensions and declined consent.
- Shopify records cancelled, edited and refunded orders differently from the instant purchase event.
- Orders created manually from the admin or over WhatsApp never pass through the browser.
- A different time zone or currency between GA4 and the store shifts day boundaries and values.
The acceptable gap is a stable gap: if GA4 sees a similar share of store orders month after month, the setup is sound and the analysis is valid. If the gap jumps suddenly, look for a theme change, a new app or a new payment gateway.
From our experience
When we migrated Luliz from Magento to Shopify in summer 2025, reconnecting GA4, Merchant Center and the pixel to the new store was part of the migration plan rather than an afterthought, so source and funnel data did not break when the domain switched. Acquisition reports stayed comparable before and after the move, and profitable campaigns continued from launch day. Details are in the Luliz case study.
E-SAFQA’s tracking and analytics service includes GA4 with complete eCommerce events alongside Pixel, CAPI, Google Ads and Google Search Console for stores, followed by one monthly report that starts from store sales.
Conclusion
A GA4 Shopify setup through the official channel takes minutes, but the value comes from three things: complete eCommerce events without duplication, purchase as a key event, and a monthly reading of the acquisition, funnel and product reports. Use GA4 to understand behaviour and sources, and leave revenue counting to Shopify.
Send us your store link on WhatsApp and we will review your GA4 setup and tell you whether purchase events are arriving complete.
Want this applied to your store?
E-SAFQA builds and runs Shopify stores and their ads. Message us on WhatsApp for a free audit.
Frequently asked questions
Do I need Google Tag Manager to connect GA4 to Shopify?
No. The Google & YouTube channel in Shopify sends eCommerce events to GA4 directly. GTM is justified only for custom events or extra tags beyond what the channel provides.
Why does GA4 revenue differ from Shopify revenue?
GA4 depends on the browser, cookies and customer consent, so it loses a share of sessions and orders. Shopify is the source of truth for revenue; GA4 is for behaviour and sources.
What is a key event in GA4?
It is the event you treat as a goal, previously called a conversion. For a store, purchase must be marked as a key event so conversion rates appear in reports and it can be imported into Google Ads.
Does GA4 work on the Shopify checkout page?
Yes, through the official channel or Customer Events, because Shopify manages checkout and purchase events inside a secure sandbox and sends them to GA4 without editing checkout code.