How to set up GA4 on Shopify with Google & YouTube
Connect Shopify to GA4 with Google & YouTube, check the app's ecommerce events and compare purchase values without adding duplicate GTM tags.
Shahzada Ali Hassan, founder of Crisperchecked against 7 sources
The short answer
Connect Shopify to GA4 through the Google & YouTube app when you want the platform's ecommerce integration. Google now documentssupport.google.com collection views, cart views and shipping details among its tracked actions. This guide is for store owners choosing the app route and checking which events and order values actually arrive.
- If the app supplies the events you need, do not add duplicate GTM tags.
- Shopify says Merchant Center is not required for GA4 setuphelp.shopify.com.
- Check purchase IDs and amounts with a test order.
- Steps and settings checked against Google and Shopify documentation on 25 October 2026.
FREE CALL
30 MINMeta stopped counting your leads? Get them counted again.
- Pick a time
Check your Meta account with Hassan- See what to do next
On a free 30-minute call, Hassan checks your Meta account with you and shows you what to do next.
Not ready to talk? Run a free check
01How do I connect Shopify to GA4 without GTM?
Install Google & YouTube and connect your GA4 web stream. Shopify's setup instructionshelp.shopify.com use this channel for GA4 tags.
02Should I use Google & YouTube or GTM?
Start with the app if its events meet your needs; use a custom setup only for a defined gap. Shopify's GTM tutorialhelp.shopify.com advises reviewing available apps before creating a custom pixel.
The Shopify GTM page-view guide covers the custom route. It has its own mappings and tests to maintain, so changing tools is not an accuracy guarantee.
03Does Google & YouTube track cart views and shipping details?
Yes. Google's current Shopify instructionssupport.google.com list view_item_list, remove_from_cart, view_cart and add_shipping_info among the expanded events.
04What access do I need to connect GA4?
Have Shopify app-install access and access to the intended Google Analytics property. Google's Shopify setup guidesupport.google.com describes connecting the property from the app's Google account section.
This walkthrough is for the Google & YouTube app, not a replacement for a working custom implementation. Record existing theme tags and custom pixels so the new connection has a clear owner.
05Do I need a new GA4 property?
Reuse the intended property if it already exists. Shopify's instructionshelp.shopify.com allow creating a new property or using an existing one.
1. Select the intended property
- Sign in to Analytics.
- Identify the property that should receive the store's events.
- Record the property name.
- Open the property's settings.
Done when you have recorded the property name and confirmed you can open its settings.
06Where do I find the GA4 web-stream ID?
Open the property's web data stream and record its tag or Measurement ID, as described in Shopify's setup stepshelp.shopify.com.
2. Record the web stream
- If the property has no web stream, create one for the store before connecting the app.
- Record the stream's URL and ID.
Done when the stream's URL and ID identify the store you intend to measure.
07How do I connect Google & YouTube to the property?
Follow the Analytics branch of Google's app instructions, not the Google Ads conversion branch.
3. Connect the Analytics destination
- Install Google & YouTube in Shopify.
- Open the app.
- Check that its Overview page is available.
- In Just want to set up Google Analytics 4, choose Get started.
- Connect the Google account with access to the intended property.
- Check that the property is available to select.
- Select the property.
- Choose Connect, then Confirm.
Done when the connected property matches the web stream recorded earlier.
These controls come from Google's instructions for G- tag IDssupport.google.com. Shopify notes that Merchant Center is not requiredhelp.shopify.com for this GA4 setup.
08How do I test the events sent by the app?
Perform each shopping action and look for the corresponding GA4 event.
4. Check the shopping funnel
- Start a test session with analytics consent granted and debug mode enabledsupport.google.com.
- View a collection.
- View a product.
- Add an item.
- View the cart.
- Start checkout.
Done when the matching events appear in DebugView and their product details agree with those actions.
Google's app guidesupport.google.com documents the expanded events, while its parameter referencedevelopers.google.com explains the fields. Use those mappings to investigate a missing event before adding GTM.
09What should I check in a test purchase?
Match the received purchase to the test order's ID, currency and item amounts.
5. Compare the completed order
- Place an order through the store's test-order process.
- Record its order ID, products, tax and shipping.
- Open purchase in DebugView.
- Compare the received fields with the order.
Done when the event can be matched to that order and any amount difference is explained.
Google's purchase referencedevelopers.google.com defines value as the item total excluding shipping and tax. A test event confirms the case you exercised; keep order reconciliation separate from installation checks.
10How should I check purchases with upsells?
Test the actual upsell flow and compare the final order with the events received. Do not assume every upsell app sends the same sequence.
Google deduplicates purchase events with the same transaction_idsupport.google.com. This explains why sending another purchase with the same ID is not a reliable way to amend revenue, but it does not establish what your upsell app sends.
11Which mistakes make the app setup hard to diagnose?
Check the destination, competing senders and event payloads before switching tools.
- Connecting the wrong property hides events from the report you are inspecting. Compare the connected property with your recorded stream.
- Running the app and a custom tag together can duplicate measurement. Google's Shopify guidesupport.google.com tells you to check for duplicate tags.
- Assuming cart views are missing by design is outdated. Google now lists view_cart in the app's eventssupport.google.com; test the current installation.
12When should I add custom Shopify GA4 tracking?
Add a custom mapping when testing reveals a specific gap you can name and maintain. The Shopify purchase guide provides an order-level mapping for that case.
13What changed in this guide
- 25 October 2026: Updated Google & YouTube setup and expanded event coverage, removed the unsupported 60%-90% capture estimate and blanket missing-event claims, and made upsell behavior conditional on observed data.
Sources
7 sources
- 1Shopify says Merchant Center is not required for GA4 setuphelp.shopify.com↩
- 2Google now documentssupport.google.com↩
- 3Shopify's GTM tutorialhelp.shopify.com↩
- 4Google's Shopify event parametersdevelopers.google.com↩
- 5debug mode enabledsupport.google.com↩
- 6Google's purchase referencedevelopers.google.com↩
- 7Google deduplicates purchase events with the same transaction_idsupport.google.com↩


