Data Foundations · GA4 for eCommerce

GA4 eCommerce Tracking That Matches Your Orders

We implement the complete GA4 ecommerce event set on Shopify, WooCommerce and Magento, remove duplicate purchase sources and reconcile GA4 against your store orders, so the revenue in your reports is revenue you actually booked.

  • Full ecommerce event set
  • One purchase source
  • Reconciled by transaction ID

The starting point

GA4 only knows what your store tells it

Google Analytics 4 doesn't read your order database. It records the events your site sends, and every ecommerce report is built from them. When the purchase event fires without a transaction ID, fires twice, or sends a different value than your store records, everything downstream inherits the error: channel revenue, funnel drop-off and the conversions Google Ads bids on.

Our job is to make that event stream complete, consistent and checked. That's event tracking done as engineering, not a plugin installed once and forgotten.

What we implement

The GA4 ecommerce events your reports depend on

EventWhen it firesWhat it powers
view_item_list / select_itemCollection or search results shown; product clickedMerchandising and list performance
view_itemProduct page viewedProduct reports, remarketing audiences, funnel entry
add_to_cart / remove_from_cartCart changes from any page or drawerCart-rate by product and traffic source
view_cart / begin_checkoutCart opened; checkout startedCheckout funnel and abandonment analysis
add_shipping_info / add_payment_infoCheckout steps completedWhere checkout loses people, by device and method
purchaseOrder confirmedRevenue, key events, Google Ads conversions
refundOrder refunded, fully or partlyNet revenue that matches your books more closely

Every event carries an items array (item_id, item_name, price, quantity, item_category, item_variant). Purchase also carries transaction_id, value, currency, tax, shipping and coupon, and we document which revenue definition value uses.

Platform specifics

How GA4 purchase tracking works on your platform

Customer events, app pixels and custom pixels

Shopify tracks checkout through customer events. The Google & YouTube app can send GA4 ecommerce events, and a custom pixel can load your own tags. Pixels run in a sandbox, which can affect page location and referrer data.

  • We choose one purchase source: the app or a custom pixel, never both
  • Scripts on the thank-you and order status pages are being phased out, so we move purchase tracking to customer events
  • We test attribution, not just revenue, because sandboxing can blur sources
Shopify & Shopify Plus

GA4 vs. Shopify

Why GA4 and Shopify revenue never match exactly, and how close is close enough

Shopify is your system of record. GA4 is an observation tool that misses sessions when visitors decline consent or block scripts. The goal is a stable gap you understand, and most alarming gaps shrink once you compare like for like.

  • Compare online store orders only: POS, draft, wholesale and subscription renewals never touch a browser
  • Match the revenue definition: with or without tax, shipping and discounts
  • Use the same time zone and currency on both sides
  • Then match order by order on transaction ID to find missing and duplicate purchases

What you get

A GA4 property that's configured, not just installed

Measurement plan

Every event, parameter and custom dimension written down, with the revenue definition and the owner of each.

Key events that mean something

Purchase and the few lead or signup events that matter, marked as key events. Not every click.

Clean attribution settings

Payment gateways listed as unwanted referrals, internal traffic filtered and UTM parameters standardized across email, SMS and paid.

Connected to Google Ads

GA4 linked to Google Ads and Merchant Center, with one decision on whether Ads counts conversions from GA4 or its own tag.

Retention and export

Event data retention set to the longest standard option, and the BigQuery export enabled where you need raw data.

QA log

Test orders across devices and payment methods, checked in DebugView and against your order export.

Where it fits

GA4 is one layer of a measurement stack

GA4 is only as reliable as what feeds it. Most GA4 problems are really data layer or tag management problems, and we fix them there. Not sure how far off your numbers are? A Data Health Check answers that first. Once purchases are right, check your channel economics with the ROAS calculator. All of this is part of Data Foundations.

FAQ

GA4 eCommerce tracking questions

Does Shopify's Google & YouTube app set up GA4 ecommerce tracking?

It can send GA4 ecommerce events, including purchases, once it's connected to your GA4 property. That's a reasonable setup for many stores. The problems start when a custom GTM pixel or a theme snippet also sends purchases. We keep one source, then check its events against your orders before relying on it.

Why is GA4 revenue higher than Shopify?

Almost always because purchase events fire twice. Look for more than one source sending purchases, such as an app pixel and a GTM tag, and for transaction IDs that appear more than once in a GA4 exploration. On WooCommerce and Magento, reloads of the confirmation page are another common cause.

What gap between GA4 and Shopify is normal?

There is no official standard. As a rule of thumb, once you compare like for like (online orders only, same revenue definition, same time zone and date range), a gap within about 10% is normal for browser-based tracking. A larger, explained gap, for example from low consent rates, is fine. An unexplained or growing gap is the real problem.

Should Google Ads import conversions from GA4 or use its own tag?

Either can work. The Google Ads conversion tag with enhanced conversions is usually more direct for bidding, while importing GA4 key events keeps one definition across tools. What matters is choosing one primary purchase conversion, so Smart Bidding doesn't count the same order twice.

Get GA4 numbers your team stops arguing about

Start with the free audit to see your tracking health from the outside, or book a call to walk through your GA4 property with us.

Free Profit Audit