Hoppa till huvudinnehåll

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

Upptäck en komplett lista över utlösare och variabler i Google Tag Manager för GA4 e-handelspårning, inklusive händelser som köp och…

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 price

quantity

Item quantity

3. Data Layer Event – begin_checkout (Variable)

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

Datalayer Event: begin_checkout

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 price

quantity

Item quantity

4. Data Layer Event – purchase_GA4 (Variable)

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

Datalayer Event: purchase_GA4

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 price

quantity

Item quantity

Fick du svar på din fråga?