Lesson 10 of 16
Full Ecommerce Funnel
① Connect your GTM container
Paste your container ID to load it into this page. It only ever runs here.
Advanced: use a specific environment
A single purchase tells you who bought, but the path to it tells you where shoppers drop off. GA4 has reserved names for each rung of that ladder, and tagging them all turns Tag Assistant into a funnel you can read end to end.
Each button below pushes one of the six middle-of-funnel events with its own ecommerce object. You wire a Custom Event trigger and a GA4 Event tag for each, so every step lands with its items and value intact.
Goal
Fire a Custom Event trigger and GA4 Event tag for all six funnel events, each carrying its ecommerce object.
Build it in GTM
Know the six events the page pushes
The buttons pushview_item_list,select_item,view_cart,remove_from_cart,add_shipping_infoandadd_payment_info, each with anecommerceobject (items, and value where it applies).Create a Custom Event trigger per event
Triggers → New → Custom Event for each of the six names above. The event name must match the pushed string exactly. (You can instead use one trigger with the regexview_item_list|select_item|view_cart|remove_from_cart|add_shipping_info|add_payment_infoand Use regex matching on.)Fire a GA4 Event tag on each
Build a GA4 Event tag per event (named to match), reading theecommerceobject so theitemsandvaluetravel with it. The course'sCustom HTML - Teststand-in with<script></script>is an accepted placeholder while you build.
Debug in Tag Assistant
Copy this lesson's live URL and paste it into GTM Preview, that is the page Tag Assistant connects to. It has the clickable elements, so this page stays clean for reading.
- In your GTM, click Preview.
- Paste the live URL above and click Connect.
- Interact with the live page and watch your tag fire in Tag Assistant.
What you should expect to see
items and value populated.Verify your container
Built it? Export your container, Admin → Export Container, choose your workspace, then drop the JSON here to check it against this lesson.
Drop your container .json here
or browse · checked in your browser, nothing is uploaded