Page | Event | Event label | Event structure | Comments |
---|
Login page | login | | Code Block |
---|
| { method : 'customer' } |
| tracks clicks of '.js-login-submit' |
| login | | Code Block |
---|
| { method : 'registration' } |
| tracks clicks of '.js-register-submit' |
Category and Search pages | view_item_list | list: View | Code Block |
---|
| 'items': [
{
'id': _code,
'name': _name,
'list_name': _list,
'brand': _brand,
'category': _cat or _dim,
'variant': _fc,
'list_position': 1,
'quantity': 1,
'price': _price
}
] |
| tracks product impressions |
add_to_cart | list: Add x | Code Block |
---|
| 'items': [
{
'id': _code,
'name': _name,
'list_name': _list,
'brand': _brand,
'category': _cat or _dim,
'variant': _fc,
'list_position': 1,
'quantity': 1,
'price': _price
}
] |
| add to cart events triggered by '.js-buy' buttons |
Product details page | view_item | pdp: View | Code Block |
---|
| 'items': [
{
'id': _code,
'name': _name,
'list_name': _list,
'brand': _brand,
'category': _cat or _dim,
'variant': _fc,
'list_position': 1,
'quantity': 1,
'price': _price
}
] |
| tracks product views |
add_to_cart | pdp: Add x | Code Block |
---|
| 'items': [
{
'id': _code,
'name': _name,
'list_name': _list,
'brand': _brand,
'category': _cat or _dim,
'variant': _fc,
'list_position': 1,
'quantity': 1,
'price': _price
}
] |
| add to cart events triggered by '.js-buy' buttons |
Cart page | add_to_cart | cart: Add X | Code Block |
---|
| 'items': [
{
'id': _code,
'name': 'Cart',
'list_name': _list,
'brand': _brand,
'variant': _fc,
'list_position': 1,
'quantity': 1,
'price': _price
}
] |
| add to cart events triggered by quantity updates |
remove_from_cart | cart: Remove X / cart: Remove all | Code Block |
---|
| 'items': [
{
'id': _code,
'name': 'Cart',
'list_name': _list,
'brand': _brand,
'variant': _fc,
'list_position': 1,
'quantity': 1,
'price': _price
}
] |
| remove from cart event triggered by quantity updates |
begin_checkout | cart | Code Block |
---|
| 'items': [
{
'id': _code,
'name': 'Cart',
'list_name': _list,
'brand': _brand,
'variant': _fc,
'list_position': 1,
'quantity': 1,
'price': _price
}
] |
| tracks beginning of the checkout process |
Checkout page | login + checkout_progress | login: customer | Code Block |
---|
| { method : 'customer' } |
| tracks clicks of '.js-login-submit' |
| login + checkout_progress | login: registration | Code Block |
---|
| { method : 'registration' } |
| tracks clicks of '.js-register-submit' |
| login + checkout_progress | login: guest | Code Block |
---|
| { method : 'guest' } |
| tracks clicks of '.js-guest-submit' |
| checkout_progress + set_checkout_option | ship: "shipping method name" | | tracks shipping method selections |
| checkout_progress + set_checkout_option | payment: "payment method name" | | tracks payment method selections |
| purchase | confirm | Code Block |
---|
| {
'transaction_id': _tx,
'affiliation': null,
'value': _rev,
'currency': _curr,
'tax': _tax,
'shipping': _shp,
'items': _items,
'event_label': 'confirm'
} |
| tracks clicking payment button |