Google Analytics 4 (GA4) replaced Universal Analytics in 2023 and is now the only version Google supports. If you have not yet set up GA4 on your Shopify store — or if your current setup is missing key ecommerce events — you are flying blind. This guide walks you through the complete GA4 setup for Shopify and explains how to use it to make better decisions.
Why GA4 Is Different From Universal Analytics
GA4 uses an event-based data model rather than session-based tracking. Every interaction — page view, product click, add to cart, checkout start, purchase — is tracked as an event. This gives you more granular data about the complete customer journey from first visit to final purchase.
GA4 also has better cross-device tracking (connecting website visits to app usage), built-in machine learning for predictive insights, and a much more flexible audience builder for use with Google Ads.
Option 1: Set Up GA4 via Shopify’s Native Integration
Shopify has a built-in Google channel integration that can set up basic GA4 tracking automatically:
- In your Shopify Admin, go to Online Store, then Preferences.
- Scroll to the Google Analytics section and enter your GA4 Measurement ID (starts with G-).
- Go to your GA4 property in Google Analytics, navigate to Admin, then Data Streams, click your web stream, and turn on Enhanced Measurement. This automatically tracks page views, scrolls, outbound clicks, and site searches.
Option 2: Set Up GA4 via the Google & YouTube App
For more complete ecommerce tracking, install the Google & YouTube app for Shopify. This app handles:
- GA4 tag installation across all pages
- Ecommerce events: view_item, add_to_cart, begin_checkout, purchase
- Conversion tracking for Google Ads
- Google Merchant Center product feed sync
After installation, verify the setup using the GA4 DebugView. Navigate your own store and check that events appear in real time in the DebugView report. You should see view_item when visiting a product page and purchase after completing a test order.
Verifying Your Ecommerce Tracking
In GA4, go to Reports, then Monetisation, then Ecommerce purchases. If you see data here after placing a test order, your setup is working. Check that the revenue figures match what you see in your Shopify dashboard. Discrepancies can occur due to currency conversion, cancelled orders, or tracking gaps on mobile devices.
Also check your funnel. Go to Explore, then create a Funnel exploration with these steps: view_item → add_to_cart → begin_checkout → purchase. This shows exactly where customers are dropping off in your purchase process — which is some of the most valuable data you can have for conversion optimisation.
Key GA4 Reports Every Shopify Merchant Should Review
| Report | What It Tells You |
|---|---|
| Acquisition Overview | Which channels drive the most traffic and revenue |
| Ecommerce Purchases | Best-selling products and revenue by item |
| Funnel Exploration | Where customers drop off before buying |
| User Retention | How many customers return after their first visit |
| Paths Exploration | What pages customers visit before purchasing |
If you need help configuring GA4 correctly for your Shopify store — including custom events, audiences, and Google Ads conversion tracking — get in touch with OneOnic. Our team sets up proper analytics infrastructure for ecommerce brands.
Frequently Asked Questions
Does Shopify work with GA4 without any extra apps?
Basic page view tracking works natively through Shopify’s Preferences section. However, complete ecommerce event tracking (add to cart, checkout steps, purchase with revenue) requires either the Google & YouTube app or a custom GTM (Google Tag Manager) implementation. The native integration alone will miss several key ecommerce events.
How long does it take for GA4 to show data for my Shopify store?
Real-time data appears in GA4 within seconds of installation. However, processed reports (acquisition, engagement, ecommerce) can take 24 to 48 hours to populate fully. Historical data is not imported from Universal Analytics — your GA4 property starts fresh from the installation date.
Should I use Google Tag Manager with GA4 for Shopify?
GTM gives you more control and flexibility — you can add and modify tracking without editing Shopify theme code. For stores running multiple marketing pixels (Meta, TikTok, LinkedIn, Google) alongside GA4, GTM is highly recommended as it manages all tags in one place. However, for a straightforward GA4 + Google Ads setup, the Google & YouTube app is simpler and sufficient.
Ready to Build a High-Converting Shopify Store?
OneOnic builds Shopify stores for growing Indian brands — from design and development to ongoing growth strategy. Our team has launched 100+ stores across fashion, food, wellness, electronics, and more.
💬 Chat with us now — click the chat icon at the bottom right of this page for instant support.
