Commerce Platforms & DTC
Shopify

Shopify to GA4 without GTM: native events plus a server-side Measurement Protocol fallback

Shopify's Google & YouTube channel sends the full ecommerce event set to GA4 with no code. Browser events still get eaten by ITP and ad blockers, so here's the webhook-to-Measurement-Protocol layer that closes the gap. Tagged with shopify, analytics, webdev, automation.
dev.to
September 26, 2026
7
Shopify to GA4 without GTM: native events plus a server-side Measurement Protocol fallback
WHAT HAPPENED
s browser. Safari ITP, ad blockers and iOS tracking restrictions mean a meaningful share ofpurchaseevents never reach Google t hear about it. Measurement Protocol solves this because it :{{webhook. total_shipping_price_set. shop_money. amount}}, The part nobody covers is what happens after: your GA4 purchase count drifts below your Shopify order count and stays there. That gap is browser-side event loss — ITP, ad blockers, iOS — and no amount of tag configuration fixes it, because the event never leaves the client.
Continue reading from the original publisher for the complete report and source context.
READ ORIGINAL STORY