GTM Variables
Ecommerce Items = ecommerce.items
Ecommerce Purchase TransactionId = ecommerce.purchase.transaction_id
Ecommerce Purchase Affiliation = ecommerce.purchase.affiliation
Ecommerce Purchase Value = ecommerce.purchase.value
Ecommerce Purchase Tax = ecommerce.purchase.tax
Ecommerce Purchase Shipping = ecommerce.purchase.shipping
Ecommerce Purchase Currency = ecommerce.purchase.currency
Ecommerce Purchase Coupon= ecommerce.purchase.coupon
GTM Triggers
CustomEvent view_item_list
CustomEvent view_item
CustomEvent select_item
CustomEvent add_to_cart
CustomEvent remove_from_cart
CustomEvent begin_checkout
CustomEvent purchase
GTM Tags
GA4 settings: trigger = All Pages
GA4 event: event name = view_item_list, trigger = view_item_list
event parameters
items = {{Ecommerce Items}}
GA4 event: event name = view_item, trigger = view_item
event parameters
items = {{Ecommerce Items}}
GA4 event: event name = select_item, trigger = select_item
event parameters
Items = {{Ecommerce Items}}
GA4 event: event name = add_to_cart, trigger = add_to_cart
event parameters
items = {{Ecommerce Items}}
GA4 event: event name = remove_from_cart, trigger = remove_from_cart
event parameters
items = {{Ecommerce Items}}
GA4 event: event name = begin_checkout, trigger = begin_checkout
event parameters
items = {{Ecommerce Items}}
GA4 event: event name = purchase, trigger = purchase
event parameters
items = {{Ecommerce Purchase Items}}
transaction_id = {{Ecommerce Purchase Items}}
affiliation = {{Ecommerce Purchase Aaffiliation }}
value = {{Ecommerce Purchase Value}}
tax = {{Ecommerce Purchase Tax}}
shipping = {{Ecommerce Purchase Shipping}}
currency = {{Ecommerce Purchase Currency}}
coupon= {{Ecommerce Purchase Coupon}}
Links
The following document has a few misstakes. ex purchase parameters and any triggers.
- https://developers.google.com/tag-manager/ecommerce-ga4