Google Analytics runs on over 14 million active websites. If your Shopify store isn't one of them, you're flying blind — making decisions about products, ads, and pricing without knowing where your customers come from or why they leave without buying.
The Shopify Google Analytics 4 setup takes about 10 minutes using the free native integration. No paid apps, no code. Once connected, GA4 tracks every step of your purchase funnel automatically — from product views to completed orders. Shopify's built-in reports can't tell you which traffic source drives actual purchases or where people drop off before checkout. GA4 fills those gaps.
What You Need Before You Start
The setup requires two things: a Google account and a Shopify store without password protection. GA4 can't track visitors on a password-protected store, so if you're still in development mode, remove the password first or wait until you launch.
You don't need a paid app. You don't need Google Tag Manager. You don't need to touch any code. Shopify's free Google & YouTube sales channel handles the entire connection.
The whole process takes about 10 minutes. Here's every step.
Step 1: Create a GA4 Property in Google Analytics
Go to analytics.google.com and sign in with your Google account. If you've never used Google Analytics before, you'll see a "Start measuring" button. Click it.
- Enter an account name (your business name works fine).
- Click Next and enter a property name — something like "My Shopify Store" so you can identify it later.
- Set your time zone and currency to match your store's settings. This keeps your GA4 reports aligned with your Shopify dashboard.
- Fill in the business details (industry, size) and click Create.
- When asked to choose a platform, select Web. Enter your Shopify store URL and a stream name.
You'll land on a page showing your Measurement ID — it starts with "G-" followed by a string of characters. You don't need to copy this. Shopify's integration connects to your property directly through your Google account, not through the Measurement ID.
Step 2: Install the Google & YouTube Channel on Shopify
In your Shopify admin, go to Sales Channels in the left sidebar. Click the + icon to add a new channel, then search for Google & YouTube. Click Add app, then Add sales channel.
This is Shopify's official integration with Google services. It handles GA4 tracking, Google Ads, product feed sync, and YouTube Shopping — all from one app. For GA4 setup, you only need to connect your Analytics property.
Step 3: Connect Your Google Account and GA4 Property
After installing the channel, go to Sales Channels > Google in your Shopify admin. You'll see a prompt to connect your Google account.
- Click Connect and sign in with the same Google account you used to create your GA4 property.
- Authorize the app to access your Google Analytics data.
- In the "Connect a Google Analytics 4 property" section, select your GA4 property from the dropdown.
- Click Connect.
That's it. Shopify is now sending data to your GA4 property. No tracking code to paste, no theme files to edit.
What Does Shopify Track Automatically in GA4?
Shopify's native integration sends seven ecommerce events to GA4 without any extra configuration:
- page_view — every page a visitor loads
- search — when someone uses your store's search bar
- view_item — when a visitor views a product page
- add_to_cart — when a product gets added to the cart
- begin_checkout — when a customer starts checkout
- add_payment_info — when payment details are entered
- purchase — when an order is completed
These seven events give you a complete purchase funnel. You can see exactly how many visitors view products, how many add to cart, how many start checkout, and how many actually buy. The drop-off between each step tells you where to focus your optimization efforts.
One thing the native integration doesn't track: remove_from_cart, view_cart, and add_to_wishlist events. If you need those, you'll need Google Tag Manager or a third-party app. But for most merchants, the seven auto-tracked events cover what matters. If you want to go deeper with attribution and ad pixels, see our guide on server-side tracking for Shopify.
Verify Your Setup Is Working
GA4 can take 24 to 48 hours before data shows up in standard reports. But you can verify the connection immediately using Realtime reports.
- Open your store in a browser (or your phone) and visit a few pages.
- In Google Analytics, go to Reports > Realtime.
- You should see your visit appear within a few seconds — the page title, your location, and the events firing.
If nothing shows up after a few minutes, check three things. Make sure your store isn't password-protected. Confirm you selected the right GA4 property in the Google channel settings. Try an incognito window — some browser extensions block Analytics tracking.
For a deeper check, go to Admin > DebugView in GA4. Install the Google Analytics Debugger Chrome extension, turn it on, and browse your store. DebugView shows every event firing in real time with full parameter details. This is the fastest way to confirm ecommerce events like add_to_cart and purchase are working.
Two Settings to Change Right After Setup
GA4's default settings aren't ideal for ecommerce. Change these two immediately:
Data retention: GA4 defaults to 2 months of data retention for explorations (custom reports). Go to Admin > Data Settings > Data Retention and switch it to 14 months. Without this change, you can't compare this year's holiday season to last year's. That's exactly the kind of analysis that drives better decisions.
Google Signals: Go to Admin > Data Settings > Data Collection and enable Google Signals. This lets GA4 track users across devices. A customer who browses on their phone and buys on their laptop shows up as one person instead of two separate visits. For stores where mobile browsing and desktop purchasing are common, this is essential for accurate conversion data.
The Three GA4 Reports That Actually Matter for Shopify
GA4 has dozens of reports. Most of them won't change how you run your store. These three will:
Traffic Acquisition (Reports > Acquisition > Traffic Acquisition): Shows where your visitors come from — organic search, paid ads, social media, direct, email — and which sources lead to actual purchases. Sort by conversions to see which channels earn revenue, not just clicks. You might discover your Instagram drives lots of traffic but almost no sales, while your email list converts at 5x the rate.
Ecommerce Purchases (Reports > Monetization > Ecommerce Purchases): Shows which products get viewed, added to cart, and purchased. The gap between "views" and "add to cart" tells you which product pages need work. A product with 500 views and 3 add-to-carts has a page problem, not a demand problem.
Funnel Exploration (Explore > Funnel Exploration): Build a custom funnel using the auto-tracked events: view_item → add_to_cart → begin_checkout → purchase. GA4 shows the exact drop-off percentage at each step. If 40% of customers abandon between begin_checkout and purchase, your checkout experience needs attention. This single report justifies the entire GA4 setup.
Common Mistakes That Break Your Data
A study of GA4 migrations found only 32% of users completed a post-setup audit to verify data accuracy. The other 68% assumed it was working correctly. Don't be in that group.
Duplicate tracking: If you previously added a Google Analytics tracking code manually to your theme (under Online Store > Themes > Edit Code) and now you've connected GA4 through the Google channel, you're tracking every event twice. Your pageview numbers will be inflated and your conversion data will be unreliable. Remove any manually added GA tracking code from your theme after connecting through the sales channel.
Wrong currency or timezone: If your GA4 property is set to USD but your store sells in EUR, your revenue data in Analytics won't match Shopify. Go back to Admin > Property Settings and make sure they match.
Filtered IP address: If you filtered your own IP address in GA4 (a common recommendation), remember that this only works on one network. The moment you check your store from your phone on cellular data or from a coffee shop, those visits get counted as real traffic. Internal traffic filters are less useful than they used to be — don't worry about this unless you're visiting your own store dozens of times a day.
Start With One Question, Not All of Them
GA4 gives you more data than you'll ever need. The merchants who benefit from it open it with a specific question: "Which ad campaign drove the most purchases last week?" or "Where do visitors drop off before buying?" Pick one question, find the answer in GA4, and make one change based on what you learn. That single loop — question, data, action — is worth more than a perfectly configured dashboard you never check.
Once you're tracking conversions, you can start testing what moves them. If you sell through order forms or COD, EasySell includes built-in multi-pixel tracking so your GA4 and ad platform data stays accurate across custom order flows. For a deeper look at which Shopify analytics tools are worth installing, check our best Shopify analytics apps roundup.
Your Shopify Google Analytics 4 setup is done. Your funnel events are tracking. Open Reports > Realtime right now, visit your store in another tab, and watch the data flow in. That's your starting point.