GA4: Triggers and variables in Google Tag Manager

Art. no. 216070411

No alt text available

A list of triggers and variables for use in Google Tag Manager for Google Analytics 4 (GA4).

Triggers and Variables in Google Tag Manager 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)
name = Item name

"ecommerce" consists of :
currency = Currency Code
items = A list (Array) of product details
Item_id = specific Item ID (if available)
Item_name = specific item name
quantity = Item quantity


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)
name = Item name
articleName = item name
articlePrice = Item price
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 :

currency = currency code
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
price = Item value only
quantity = Item quantity


3. Data Layer Event - begin_checkout (Variable)

// This event is triggered when a customer has started the checkout process //

ecommerce = A list (Array) of products.
articleId = Item ID (if available)
articleNumber = Item number (if available)
name = Item name
articleName = item name
articlePrice = Item price
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 :

currency = currency code
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
price = Item value only
quantity = Item quantity


4. Data Layer Event - purchase_GA4 (Variable)

// This event is triggered when a customer has made a purchase //

ecommerce = A list (Array) of products

currency = currency code
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
price = Item value only
quantity = Item quantity

Abicart - Book a demo
Want to see how you can use Abicart for your online and local in-store sales? Book a demo Try it yourself!

© Textalk

We use DeepL and ChatGPT for translations. Occasional imprecisions may occur.