GA4: Utlösare (triggers) och variabler i Google Tag Manager - Textalk Abicart

GA4: Utlösare (triggers) och variabler i Google Tag Manager - Textalk Abicart
En lista på utlösare (triggers) och variabler för användning i Google Tag Manager för Google Analytics 4 (GA4).

Utlösare och Variabler i Google Tag Manager (GTM) för Google Analytics 4 (GA4)

Utlösare och variabler är vad som är tillgängligt att spåra i GTM (Google Tag Manager).

 

Om du använder en äldre temaversion (v1.4 eller tidigare) behöver du byta till v1.6 för att GA4 via GTM ska fungera.

 

Nya uppdaterade datalager och variabler.

1. Data Layer Event - view_item (Variable)

// Denna händelse utlöses när en kund har sett en vara/artikel/produkt //

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)

// Denna händelse utlöses när en kund har lagt till en vara/artikel/produkt i sin varukorg //

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)

// Denna händelse utlöses när en kund har påbörjat kassaprocessen //

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)

// Denna händelse utlöses när en kund har gjort ett köp //

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