GA4 Setup Agency

Shopify GA4 Tracking Guide

Shopify GA4 Tracking Guide

By GA4 Setup Agency. Updated 28 November 2026. Filed under eCommerce Tracking.

Shopify tracking changed substantially when Additional Scripts and checkout.liquid customisations were retired from the thank you and order status pages. The last deadline for non-Plus stores was 26 August 2026. Old snippets in those fields should no longer be relied on.

Your main options

Google and YouTube channel

The official app is the simplest route for standard GA4 and Google Ads measurement. Review which properties and conversion actions it connects.

Customer events (web pixels)

Custom pixels subscribe to events such as product_viewed, checkout_started and checkout_completed. They run in a sandbox. Google lists limitations of using custom pixels and says running Google tags there is not a supported implementation, so test carefully and understand the trade-off.

Server-side options

Apps or a server container can send order events from the back end. They add cost and need deduplication.

Avoid double tracking

Pick one source for each destination. Check theme files, installed apps, customer events and any old Tag Manager container.

Verify with test orders

  • One purchase per order with a unique transaction ID.
  • Value and currency match your agreed revenue definition.
  • Item IDs match your product feed.
  • Funnel events appear before purchase.

Expect some difference

Consent, blockers, refunds and time zones mean GA4 and Shopify will not always agree. Record a baseline gap and investigate sudden changes.

Build an inventory before changing anything

List every place a tag could come from: the theme code, installed apps, the customer events settings, sales channel connections and any Tag Manager container. For each, note the destination ID and the events it sends. Duplicates usually become obvious at this stage.

Define revenue

Shopify reports can show gross sales, net sales and total sales. Decide whether your purchase value includes tax and shipping, and write it down. A difference caused by definitions cannot be fixed with a tag.

Refunds and cancellations

A browser purchase event does not know about a refund processed next week. If net revenue matters in GA4, plan how refunds are sent, or use store data as the financial source of truth and GA4 for behaviour and channels.

After every theme or app change

Place one test order, check that exactly one purchase appears per destination and confirm that consent choices are still respected.

See our Shopify tracking service and ecommerce measurement plan.

About the author

This guide was written and published by GA4 Setup Agency, an analytics and conversion tracking service for businesses in the USA and UK. Platform interfaces change often, so please check the linked official documentation before editing a live account.

Need help with your tracking?

Tell us what is not adding up and we will review your setup.

Get a Free Tracking Audit
Scroll to Top