Tracking/E-commerce tracking
E-commerce tracking that matches your real orders
Shopify and WooCommerce stores often see GA4, Meta and Google Ads each report a different number of sales, and none of them match the store. Our e-commerce tracking setup gets every platform reading the same purchase data, counted once.
Captured from
- Product, cart and checkout events
- Order webhooks
Processed in
- Ecommerce dataLayer
- Server GTM
Sent to
- GA4
- Google Ads and Merchant Center
- Meta and TikTok
- Typical timeline
- 2 to 4 weeks
- Works with
- Shopify, WooCommerce, GA4
- Pricing
- Quoted after a short call
- You keep
- Full access and documentation
01/E-commerce Tracking, in short
E-commerce tracking records the full shopping journey, from product view and add to cart through checkout and purchase, with item, value and order data that matches your store. We build it on GA4's ecommerce events, send purchases server-side so they aren't lost, and reconcile tracked revenue against your Shopify, WooCommerce or custom store orders.
02/Where it breaks
What we usually find first
- 01GA4 shows fewer orders than Shopify or WooCommerce
- 02Purchases fire twice when customers reload the thank-you page
- 03Shopify checkout extensibility broke your old scripts
- 04Product and cart events are missing item data
- 05Several apps all inject their own pixels
When it's done
Every platform sees the same orders and revenue as your store, so ROAS and product reports mean something.
03/What you get
What the e-commerce tracking includes
- Full e-commerce funnel
- view_item, add_to_cart, begin_checkout, add_payment_info and purchase with correct item data.
- Shopify Customer Events
- Custom pixels and checkout tracking that work with Shopify's checkout extensibility.
- WooCommerce dataLayer
- A clean dataLayer for WooCommerce, including variable products, coupons and refunds.
- Purchase deduplication
- Transaction IDs and event IDs so each order is counted once in every platform.
- Server-side purchases
- Optional order webhooks sent server-side to GA4, Meta and Google Ads, unaffected by ad blockers.
- Order reconciliation
- A check of tracked orders against your store's orders after launch.
04/Under the hood
GA4 purchase event
Item IDs match your product feed, so ads, GA4 and the catalogue agree.
GA4 purchase event
JavaScriptdataLayer.push({ ecommerce: null });dataLayer.push({ event: 'purchase', ecommerce: { transaction_id: '10482', value: 129.00, // revenue definition agreed up front tax: 10.75, shipping: 6.00, currency: 'USD', items: [{ item_id: 'SKU-2231', item_name: 'Trail Jacket', price: 112.25, quantity: 1 }] }});IDs are placeholders. In your project this lives in your own accounts, with a written note on what it does and how to change it.
05/By platform
Need it for a specific tool?
Each has its own page with the setup, the quirks of that platform and the questions clients ask.
- Shopify TrackingGA4, Meta and Google Ads on Shopify, server-side and checkout included
- WooCommerce TrackingWooCommerce in GA4 and ad platforms, server-side from your orders
- Funnel & Checkout TrackingThriveCart, SamCart, Kajabi, ClickFunnels and Stripe sales tracked to the ad
- SaaS Conversion TrackingSign-ups, trials, activation and paid plans tracked to the campaign
06/Process
Three steps, in this order
- 01
Compare the numbers
We compare a few weeks of orders in each platform with your store and find where they split.
- 02
Rebuild the events
Events are rebuilt from one dataLayer or Shopify Customer Events and sent to each platform.
- 03
Reconcile
After launch we check tracked orders against the store until the gap is closed.
07/Who it's for
A good fit if you are
- Shopify and Shopify Plus stores
- WooCommerce stores on WordPress
- Brands running Meta and Google Shopping ads
Tools we work in
Shopify / WooCommerce / GA4 / Meta CAPI / Google Ads / Server GTM / Stape / Klaviyo
Sounds like you? We look at your current setup on a call and tell you what we'd fix first, whether or not you hire us.
Book a call08/Questions
E-commerce Tracking: common questions
How do I set up GA4 e-commerce tracking on Shopify?
Shopify's Google channel covers the basics. For accurate item data, custom events and consent handling, we use a custom pixel in Shopify Customer Events with GTM, and optionally server-side order webhooks for purchases.
Why are my Shopify and GA4 numbers different?
Ad blockers, consent choices, duplicate thank-you page events, and orders from other channels like draft orders or POS are the usual reasons. We find out which apply to your store and fix what can be fixed.
Does checkout extensibility affect tracking?
Yes. Shopify removed checkout.liquid and the old additional scripts box, so tracking on checkout and thank-you pages now runs through Customer Events. Older setups often stopped tracking purchases correctly after the switch.
Do I need server-side tracking for my store?
Not always. If you spend a meaningful amount on Meta or Google Ads, server-side purchase tracking usually pays for itself by recovering blocked conversions. We will tell you if it is worth it for your store.
Talk to a specialist about E-commerce Tracking
Tell us what you're running and what doesn't add up. We'll tell you what we'd check first, usually on a 30 minute call.