Home/Industries/Ecommerce

Ecommerce

Ecommerce Tracking That Matches Every Order

From product view to refund, we track the full shopping journey and send the same purchase, with the same order ID, to GA4, Google Ads and Meta.

Live purchase funnel

Live

view_item

Product page, item_id SKU-2041, price 49.00

GA4

add_to_cart

1 item, value 49.00 USD

GA4 + Meta

begin_checkout

Coupon SPRING10 applied

GA4 + Ads

add_payment_info

Payment type: card

GA4

purchase

Order #10482, value 44.10, tax 3.60

GA4 + Ads + CAPI

Challenges

Why Ecommerce Tracking Breaks

Online stores have more moving parts than most sites: themes, apps, payment gateways and checkout platforms that all change independently.

Revenue does not match orders

Payment redirects, blocked scripts and reloaded confirmation pages push GA4 revenue away from what the store actually took.

Duplicate purchases

A Pixel and a CAPI integration without a shared event ID, or two apps firing the same tag, count one order twice.

Missing item data

Empty item arrays break product reports in GA4 and stop dynamic remarketing from matching your catalog.

Checkout on another domain

Hosted checkouts and third-party payment pages split sessions and hand credit to the payment provider instead of the campaign.

Recommended setup

The Setup We Recommend for Online Stores

Four layers, each doing one job. Together they give every platform the same, validated version of what happened.

01

Ecommerce data layer

GA4 ecommerce schema pushed by the theme or app on every funnel step, with item IDs that match your product feed.

02

GTM web container

One set of ecommerce tags reading the data layer, with consent checks and a purchase trigger that fires once per order.

03

Server-side and Meta CAPI

Purchase forwarded from a server container with the same transaction and event ID as the browser event.

04

Revenue reporting

A Looker Studio view that compares tracked revenue with store orders, with an optional BigQuery export.

Implementation

GA4 and Google Tag Manager, Configured for Ecommerce

GA4 Configuration

Tag Manager Setup

Ad platforms and conversions

Google Ads, Meta and Conversion Priorities

Google Ads

Meta Ads

Conversion priorities

Example

Example Ecommerce Event Map

Event

Fires when

Key parameters

Sent to

view_item

Product page loads

item_id, item_name, price

GA4, Meta ViewContent

add_to_cart

Item added to cart

items, value, currency

GA4, Meta AddToCart

begin_checkout

Checkout starts

items, value, coupon

GA4, Google Ads (secondary)

purchase

Order is confirmed

transaction_id, value, tax, shipping

GA4, Google Ads, Meta CAPI

refund

Order is refunded

transaction_id, value

GA4

Process

How We Implement It

01

Audit

Compare tracked orders and revenue with the store.

02

Specify

Write the ecommerce data layer and event map.

03

Implement

Build funnel events, purchase and platform tags.

04

Test orders

Place test orders with coupons and each gateway.

05

Reconcile

Review revenue accuracy two weeks after launch.

FAQ

Ecommerce Tracking Questions

Something else on your mind? Ask us directly.

Yes. Shopify checkout uses customer events and the Web Pixels API. We set up checkout and purchase events there and connect them to GA4, Google Ads and Meta.

It depends on how you judge campaigns. Many stores send revenue without tax and shipping to ad platforms. We agree the rule with you and apply it consistently.

Consent choices, ad blockers, payment redirects and refunds all create gaps. We identify which apply to your store and close the ones that can be closed.

Yes. We review existing tracking plugins, remove conflicts and either configure the plugin properly or replace it with a data layer and Tag Manager.

Yes. First orders and renewals are tracked separately, and renewals that happen without a site visit can be sent from the server.

Get a Free Ecommerce Tracking Audit

We review your current setup against this standard and tell you what to fix first. No obligation.

Scroll to Top