GA4 Ecommerce Tracking From Product View to Purchase
We implement the full GA4 ecommerce event set, view_item_list through purchase and refund, with item arrays, prices, currency and transaction IDs populated from your store. It is built for online stores that want funnel, product and revenue reports they can compare with their store platform.
- Store Platform
- Ecommerce dataLayer
- GTM Ecommerce Tags
- GA4 Property
- Monetization Reports
- Full recommended ecommerce event set
- Item arrays with product details
- Purchase deduplication by transaction ID
- Refund and return tracking
Online stores on Shopify, WooCommerce, BigCommerce or custom carts that need reliable GA4 revenue data
Where GA4 Ecommerce Data Usually Breaks
Store plugins and quick installs often send a purchase event and little else, leaving funnel and product reports empty or unreliable.
- 01
Duplicate Purchases
Refreshing or revisiting the order confirmation page fires the purchase event again, inflating revenue and transactions.
- 02
Empty Product Reports
Missing or malformed items arrays mean GA4 cannot report item names, categories or item revenue, even when purchases are recorded.
- 03
Broken Checkout Funnel
When begin_checkout, add_shipping_info or add_payment_info are missing, you cannot see where shoppers abandon the checkout.
The Ecommerce Events and Data We Implement
We follow Google's recommended ecommerce schema so GA4 recognizes every event and populates its built-in monetization reports correctly.
- 01
Ecommerce dataLayer
Structured dataLayer pushes from your store with items, value, currency and transaction details on each step.
- 02
Product Discovery Events
view_item_list, select_item and view_item with list names so you can see which collections drive interest.
- 03
Cart Events
add_to_cart, remove_from_cart and view_cart with quantities and prices taken from the cart state.
- 04
Checkout Steps
begin_checkout, add_shipping_info and add_payment_info with shipping tier and payment type parameters.
- 05
Purchase and Refund
purchase with a unique transaction_id, tax, shipping and coupon, plus refund events for returned orders.
- 06
Deduplication Safeguards
Logic that prevents the purchase event from firing twice for the same order across refreshes or revisits.
How Store Data Reaches GA4 Monetization Reports
Your store platform is the source of truth. The dataLayer carries that data to GTM, which sends it to GA4 in the format Google expects.
- 01Store PlatformProduct, cart and order data
- 02Ecommerce dataLayerStructured items and values pushed
- 03GTM Ecommerce TagsEvents mapped to the GA4 schema
- 04GA4 PropertyEvents and items processed
- 05Monetization ReportsFunnel, product and revenue views
From audit to validated data.
How GA4 Ecommerce Tracking projects run. Nothing goes live until it has been tested.
- 01
Audit
Audit current ecommerce events, plugins and existing dataLayer output
- 02
Strategy
Map store data to GA4 ecommerce events and write the dataLayer spec
- 03
Implementation
Implement dataLayer pushes and GA4 ecommerce tags in GTM
- 04
Testing
Place test orders and check items, values and IDs in DebugView
- 05
Validation
Reconcile GA4 transactions and revenue against store order records
What's Included in GA4 Ecommerce Tracking
Everything is documented and handed over, so your team knows exactly what was built and why.
- 01
dataLayer Specification
A developer-ready document describing every ecommerce push, its fields and when it should fire.
- 02
Full Event Coverage
All recommended ecommerce events implemented from product lists through purchase and refund.
- 03
Checkout Funnel Exploration
A GA4 funnel exploration built on your checkout events so drop-off points are visible.
- 04
Duplicate Protection
Transaction ID checks that stop repeat purchase events from reaching GA4 and ad platforms.
- 05
Order Reconciliation
Test orders and a sample of real orders compared between GA4 and your store admin.
- 06
Ecommerce Handover Notes
A summary of events, parameters and known platform limitations for your developers and marketers.
Platforms
The tools involved in a typical GA4 Ecommerce Tracking implementation.
- Google Analytics 4Monetization reports
- Google Tag ManagerEcommerce tags
- ShopifyCustomer events
- WooCommerceOrder and cart hooks
- BigCommerceStorefront data
- Google AdsPurchase conversions
Tested before anything goes live.
Place test orders and check items, values and IDs in DebugView. Reconcile GA4 transactions and revenue against store order records.
- GTM PreviewTags, triggers and variables fire on the intended interactionschecked
- GA4 DebugViewEvent names, parameters and key events arrive as specifiedchecked
- Realtime and reportsEvents populate reports with the expected dimensionschecked
- Source cross-checkCounts compared with orders, leads or other source datachecked
Each check is repeated after launch on live traffic.
Why does GA4 revenue not match Shopify or WooCommerce?
Some difference is normal. Ad blockers, declined consent, orders placed by phone or in the admin, and payment methods that skip the confirmation page are not seen by GA4. We identify which causes apply to your store and reduce the ones that are fixable.
Do you need a developer to build the dataLayer?
It depends on the platform. On Shopify and WooCommerce we can often implement the dataLayer ourselves or through a trusted plugin. On custom builds we provide a clear specification and work with your developers to test each push.
Can you track refunds in GA4?
Yes. Refunds can be sent to GA4 with the refund event, either fully or for specific items. For refunds processed in your store admin, this usually requires a server-side call or the Measurement Protocol, which we can set up.
Does this also send purchases to Google Ads and Meta?
The same dataLayer can feed Google Ads and Meta purchase tags, which keeps values consistent across platforms. Ad platform conversion setup is scoped separately, but building on one dataLayer avoids duplicate work.
Will this work with Shopify checkout extensibility?
Yes. Shopify now restricts scripts on checkout pages, so checkout and purchase events are collected through customer events and the Web Pixels API. We implement GA4 within those constraints and explain any limitations up front.
- Ecommerce Tracking
Ecommerce DataLayer
A GA4-standard ecommerce dataLayer spec and build, so every tag reads the same product data.
View service → - Ecommerce Tracking
Shopify Tracking
GA4, Google Ads and Meta tracking built on Shopify Customer Events and checkout extensibility.
View service → - Server-Side Tracking
GA4 Server-Side Tracking
Route GA4 through a server container you own, with first-party cookies where supported.
View service →
Get GA4 Ecommerce Tracking right the first time.
Build a tracking and measurement system you can trust.
Get Free Tracking Audit →Talk to GrowthUper →Free 30-minute review · No obligation