Don't have one? Create one ↗
← All courses

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

  1. Know the six events the page pushes

    The buttons push view_item_list, select_item, view_cart, remove_from_cart, add_shipping_info and add_payment_info, each with an ecommerce object (items, and value where it applies).
  2. 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 regex view_item_list|select_item|view_cart|remove_from_cart|add_shipping_info|add_payment_info and Use regex matching on.)
  3. Fire a GA4 Event tag on each

    Build a GA4 Event tag per event (named to match), reading the ecommerce object so the items and value travel with it. The course's Custom HTML - Test stand-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.

  1. In your GTM, click Preview.
  2. Paste the live URL above and click Connect.
  3. Interact with the live page and watch your tag fire in Tag Assistant.

What you should expect to see

Click each step. In Tag Assistant the matching ecommerce event appears in the left rail, and its GA4 Event tag shows under Tags Fired with the 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

0 of 16 lessons complete