Skip to content

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.

Data flowin / via / out
  1. Captured from

    • Product, cart and checkout events
    • Order webhooks
  2. Processed in

    • Ecommerce dataLayer
    • Server GTM
  3. 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

  1. 01GA4 shows fewer orders than Shopify or WooCommerce
  2. 02Purchases fire twice when customers reload the thank-you page
  3. 03Shopify checkout extensibility broke your old scripts
  4. 04Product and cart events are missing item data
  5. 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

01
Full e-commerce funnel
view_item, add_to_cart, begin_checkout, add_payment_info and purchase with correct item data.
02
Shopify Customer Events
Custom pixels and checkout tracking that work with Shopify's checkout extensibility.
03
WooCommerce dataLayer
A clean dataLayer for WooCommerce, including variable products, coupons and refunds.
04
Purchase deduplication
Transaction IDs and event IDs so each order is counted once in every platform.
05
Server-side purchases
Optional order webhooks sent server-side to GA4, Meta and Google Ads, unaffected by ad blockers.
06
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

JavaScript
dataLayer.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.

06/Process

Three steps, in this order

  1. 01

    Compare the numbers

    We compare a few weeks of orders in each platform with your store and find where they split.

  2. 02

    Rebuild the events

    Events are rebuilt from one dataLayer or Shopify Customer Events and sent to each platform.

  3. 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 call

08/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.