Concept course
Shopify setups — Customer Events & a GTM custom pixel
Shopify's checkout is sandboxed, so the normal GTM snippet can't reach it. Get access to Customer Events, build a Google Tag Manager custom pixel, and test it on checkout_completed.
Syllabus
- 1→
Why Shopify Is Different
The checkout is sandboxed — the normal GTM snippet can't see it. Customer Events is the supported path.
- 2→
Getting Access To Customer Events
Checkout Extensibility, the right store permissions, and protected-data approval for PII.
- 3→
Creating A Custom Pixel
Add a pixel, subscribe to standard events, and respect the sandbox restrictions.
- 4→
Connecting GTM — The Custom Pixel
Load GTM inside the sandbox, define your own dataLayer, and push events into it.
- 5→
The Events And Their GA4 Mapping
Each Shopify event maps to a GA4 event; each payload field maps to a GA4 parameter.
- 6→
Testing On Checkout_completed
Place a test order, read each dataLayer variable, and wire the GA4 purchase tag.
- 7→
Gotchas & Double-Counting
The traps that quietly corrupt Shopify ecommerce data — and how to avoid them.
- 8→
Practice: The Checkout_completed Event
Build the variables, trigger and GA4 purchase tag against a simulated Shopify push.