In this article, you will find the list of dataLayer events and their payload that the Stape’s Wix App generates. Please note the dataLayer events are part of Wix App configuration - for the detailed guide, see the article on how to set up Wix App for server GTM.
Select item
event: "select_item_stape",
user_data: {
customer_id: "f1899499-75ab-4863-bed3-d353f7b29dff",
email: test@stape.io,
first_name: Stape,
last_name: Stape
},
ecommerce: {
currency: "EUR",
items: [
{
item_name: "I'm a product",
item_id: "c8539b66-7a44-fe18-affc-afec4be8562a",
item_sku: "0012",
item_category: "All Products",
price: 15
}
]
}
View item
event: "view_item_stape",
user_data: {
customer_id: "f1899499-75ab-4863-bed3-d353f7b29dff",
email: test@stape.io,
first_name: Stape,
last_name: Stape
},
ecommerce: {
currency: "EUR",
items: [
{
item_name: "I'm a product",
item_id: "c8539b66-7a44-fe18-affc-afec4be8562a",
item_sku: "0012",
item_brand: null,
item_category: "All Products",
price: 15
}
]
}
View collection
event: "view_collection_stape",
user_data: {
customer_id: "f1899499-75ab-4863-bed3-d353f7b29dff",
email: test@stape.io,
first_name: Stape,
last_name: Stape
},
ecommerce: {
currency: "EUR",
item_list_name: "All Products",
items: [
{
item_name: "I'm a product",
item_id: "c8539b66-7a44-fe18-affc-afec4be8562a",
price: 15,
index: 0
},
{
item_name: "I'm a product",
item_id: "975bc5ac-c45f-f81c-fd5c-c909f20d89fa",
price: 15,
index: 1
},
{
item_name: "I'm a product",
item_id: "6b6778b4-c626-c00d-972c-b138d85e3f07",
price: 15,
index: 2
}
]
}
Add to cart
event: "add_to_cart_stape",
user_data: {
customer_id: "f1899499-75ab-4863-bed3-d353f7b29dff",
email: test@stape.io,
first_name: Stape,
last_name: Stape
},
ecommerce: {
currency: "EUR",
items: [
{
item_name: "I'm a product",
item_id: "975bc5ac-c45f-f81c-fd5c-c909f20d89fa",
item_sku: "0011",
item_category: "All Products",
price: 15,
quantity: 1
}
]
}
Remove from cart
event: "remove_from_cart_stape",
user_data: {
customer_id: "f1899499-75ab-4863-bed3-d353f7b29dff",
email: test@stape.io,
first_name: Stape,
last_name: Stape
},
ecommerce: {
currency: "EUR",
items: [{item_name: "I'm a product", item_category: "All Products", price: 15, quantity: 1}]
}
Begin checkout
event: "begin_checkout_stape",
user_data: {
customer_id: "f1899499-75ab-4863-bed3-d353f7b29dff",
email: test@stape.io,
first_name: Stape,
last_name: Stape
},
ecommerce: {
cart_total: 15,
cart_quantity: 1,
items: [
{
item_id: "975bc5ac-c45f-f81c-fd5c-c909f20d89fa",
item_name: "I'm a product",
item_category: "All Products",
price: 15,
quantity: 1
}
]
}
Payment info
event: "payment_info_stape",
user_data: {
first_name: "Stape",
last_name: "Stape",
email: "test@stape.io",
phone: "+1234567890",
address: "69 street 69 house, Kyiv 696969, Ukraine",
customer_id: "f1899499-75ab-4863-bed3-d353f7b29dff"
},
ecommerce: {
cart_total: 15,
cart_quantity: 1,
items: [
{
item_id: "975bc5ac-c45f-f81c-fd5c-c909f20d89fa",
item_name: "I'm a product",
item_category: "All Products",
price: 15,
quantity: 1
}
]
}
Purchase
event: "purchase_stape",
user_data: {
first_name: "Stape",
last_name: "Stape",
email: "test@stape.io",
phone: "+1234567890",
address: "69 street 69 house, Kyiv 696969, Ukraine",
customer_id: "f1899499-75ab-4863-bed3-d353f7b29dff"
},
ecommerce: {
transaction_id: "f7bcf25b-6e0d-4349-899b-0abaa047a801",
value: 15,
currency: "EUR",
tax: "Free",
shipping: "0,00 €",
items: [
{
item_id: "975bc5ac-c45f-f81c-fd5c-c909f20d89fa",
item_name: "I'm a product",
item_category: "All Products",
price: 15,
quantity: 1
}
]
}
Comments
0 comments
Please sign in to leave a comment.