This article explains how to deploy Google Analytics 4 e-commerce tracking through Google Tag Manager.
If you don’t want to use Google Tag Manager, you can watch Google Analytics 4: Deploy e-commerce with gtag directly, ecommerce tracking can be achieved by deploying gtag on the page without Google Tag Manager.
Product Views
- view_item_list
- view_item
- select_item
view_item_list
item_list parameters (item_list_id and item_list_name) are for Product Attribution , can also be placed outside the item
view_item
select_item
Internal Promotion
- view_promotion
- select_promotion
view_promotion
select_promotion
Shopping Cart
- add_to_cart
- remove_from_cart
add_to_cart
remove_from_cart
Checkout
- begin_checkout
- add_payment_info
- add_shipping_info
- purchase
- refund
- Set
currency
when sendingvalue
(revenue) data to ensure revenue metrics are calculated correctly
begin_checkout
add_payment_info
add_shipping_info
purchase
refund