Shopify5 min read2 views

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.

Watch on YouTube

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.

Ask an assistant

ChatGPTClaudePerplexity

FREE CALL

30 MIN

Meta stopped counting your leads? Get them counted again.

  1. Pick a time
  2. Check your Meta account with Hassan
  3. 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.

Book my free recovery callFree 30-minute call with Hassan.

Not ready to talk? Run a free check

How 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.

Should 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.

Does 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.

What 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.

Do 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

  1. Sign in to Analytics.
  2. Identify the property that should receive the store's events.
  3. Record the property name.
  4. Open the property's settings.

Done when you have recorded the property name and confirmed you can open its settings.

Where 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

  1. If the property has no web stream, create one for the store before connecting the app.
  2. Record the stream's URL and ID.

Done when the stream's URL and ID identify the store you intend to measure.

How 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

  1. Install Google & YouTube in Shopify.
  2. Open the app.
  3. Check that its Overview page is available.
  4. In Just want to set up Google Analytics 4, choose Get started.
  5. Connect the Google account with access to the intended property.
  6. Check that the property is available to select.
  7. Select the property.
  8. 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.

How 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

  1. Start a test session with analytics consent granted and debug mode enabledsupport.google.com.
  2. View a collection.
  3. View a product.
  4. Add an item.
  5. View the cart.
  6. 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.

What 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

  1. Place an order through the store's test-order process.
  2. Record its order ID, products, tax and shipping.
  3. Open purchase in DebugView.
  4. 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.

How 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.

Which mistakes make the app setup hard to diagnose?

Check the destination, competing senders and event payloads before switching tools.

When 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.

What 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
  1. 1Shopify says Merchant Center is not required for GA4 setup↩
  2. 2Google now documents↩
  3. 3Shopify's GTM tutorial↩
  4. 4Google's Shopify event parameters↩
  5. 5debug mode enabled↩
  6. 6Google's purchase reference↩
  7. 7Google deduplicates purchase events with the same transaction_id↩