A list of triggers and variables for use in Google Tag Manager for Google Analytics 4 (GA4).
Triggers and Variables in Google Tag Manager (GTM) for Google Analytics 4 (GA4)
Triggers and variables are what is available to track in GTM (Google Tag Manager).
New updated data layers and variables
1. Data Layer Event – view_item (Variable)
This event is triggered when a customer has viewed an item/article/product.
Datalayer Event: view_item
ecommerce
A list (Array) of products
articleId
Item ID (if available)
articleNumber
Item number (if available)
ecommerce consists of:
items
A list (Array) of product details
item_id
Specific Item ID (if available)
item_name
Specific item name
2. Data Layer Event – add_to_cart (Variable)
This event is triggered when a customer has added an item/article/product to their cart.
Datalayer Event: add_to_cart
ecommerce
A list (Array) of products
articleId
Item ID (if available)
articleNumber
Item number (if available)
transactionId
Order number
transactionTotal
Total amount excluding VAT
totalIncVat
Total amount including VAT
orderItem
Includes each item in the shopping cart with the following information
ecommerce consists of:
transaction_id
Order number
value
Shopping cart total (if available)
items
A list (Array) of product details
item_id
Specific Item ID (if available)
item_name
Specific item name
3. Data Layer Event – begin_checkout (Variable)
This event is triggered when a customer has started the checkout process.
Datalayer Event: begin_checkout
ecommerce
A list (Array) of products
articleId
Item ID (if available)
articleNumber
Item number (if available)
transactionId
Order number
transactionTotal
Total amount excluding VAT
totalIncVat
Total amount including VAT
orderItem
Includes each item in the shopping cart with the following information
ecommerce consists of:
transaction_id
Order number
value
Shopping cart total (if available)
items
A list (Array) of product details
item_id
Specific Item ID (if available)
item_name
Specific item name
4. Data Layer Event – purchase_GA4 (Variable)
This event is triggered when a customer has made a purchase.
Datalayer Event: purchase_GA4
ecommerce consists of:
transaction_id
Order number
value
Shopping cart total (if available)
items
A list (Array) of product details
item_id
Specific Item ID (if available)
item_name
Specific item name