Stape/Documentation

BigCommerce App dataLayer

Updated Mar 28, 2025

Below is the list of dataLayer events and their payload that the Stape’s BigCommerce App generates. The dataLayer events are part of BigCommerce App configuration - see the detailed guide on how to set up the app in our article.

View item

event: "view_item_stape", ecommerce: { currency: "UAH", value: "49.50", items: [ { item_name: "[Sample] Chemex Coffeemaker 3 Cup", item_id: "88", item_sku: "CC3C", item_brand: null, item_category: "Kitchen", price: "49.50" } ] }, user_data: { email_address: "test@stape.io", customer_id: "7", first_name: "Stape", last_name: "Stape" },

View collection

event: "view_collection_stape", ecommerce: { item_list_name: "Publications", currency: "UAH", value: "25.00", items: [ { item_name: "[Sample] Smith Journal 13", item_id: "111", item_sku: "SM13", price: "25.00", item_variant: "Stape", index: 0 } ] }, user_data: { email_address: "test@stape.io", customer_id: "7", first_name: "Stape", last_name: "Stape" }

Add to cart

event: "add_to_cart_stape", ecommerce: { currency: "UAH", value: "7.00", items: [ { item_name: "[Sample] 1 L Le Parfait Jar", item_id: "93", item_sku: "SLLPJ-6088C959", item_brand: "OFS", item_category: "Shop All", price: "7.00", quantity: 1 } ] }, user_data: { email_address: "test@stape.io", customer_id: "7", first_name: "Stape", last_name: "Stape" }

Remove from cart

event: "remove_from_cart_stape", ecommerce: { currency: "UAH", value: "34.95", items: [ { item_name: "[Sample] Oak Cheese Grater", item_id: "94", item_sku: "OCG", item_brand: "Sagaform", item_category: "Kitchen", price: "34.95", quantity: 1 } ]},   user_data: {     email_address: "test@stape.io",     customer_id: "7",     first_name: "Stape",     last_name: "Stape"   }

View cart

event: "view_cart_stape", cart_total: "45.95", ecommerce: { currency: "UAH", value: "45.95", items: [ { item_name: "[Sample] Utility Caddy", item_id: "104", item_sku: "OFSUC", item_brand: "OFS", item_category: "Utility", price: "45.95", quantity: 1 } ] }, user_data: { email_address: "test@stape.io", customer_id: "7", first_name: "Stape", last_name: "Stape" }

Begin checkout

event: "begin_checkout_stape", ecommerce: { cart_total: "89.00", value: "89.00", currency: "UAH", items: [ { item_name: "[Sample] Orbit Terrarium - Small", item_id: "81", item_sku: "OTS", item_brand: "", item_category: "Garden", price: "89.00", quantity: 1 } ], cart_quantity: 1 },   user_data: {     email_address: "test@stape.io",     customer_id: "7",     first_name: "Stape",     last_name: "Stape"   }

Add payment info

event: "add_payment_info_stape", ecommerce: { cart_total: "89.00", value: "89.00", currency: "UAH", items: [ { item_name: "[Sample] Orbit Terrarium - Small", item_id: "81", item_sku: "OTS", item_brand: "", item_category: "Garden", item_variant: "65", price: "89.00", quantity: 1 } ], cart_quantity: 1 },   user_data: {     email_address: "test@stape.io",     customer_id: "7",     first_name: "Stape",     last_name: "Stape"   }

Purchase

event: "purchase_stape", ecommerce: { value: "49.50", currency: "UAH", transaction_id: "148", sub_total: "49.50", discount_amount: "0.00", shipping: "0.00", tax: "0.00", items: [ { item_name: "[Sample] Chemex Coffeemaker 3 Cup", item_id: "88", item_sku: "CC3C", item_brand: "", item_category: "Kitchen", item_variant: "67", price: "49.50", quantity: 1 } ], cart_quantity: 1 }, order_status: "AWAITING_FULFILLMENT", user_data: { email_address: "test@stape.io", customer_id: "5", first_name: "Stape", last_name: "Stape", phone_number: "", country: "UA", region: "", street: "69 street 69 house", city: "Kyiv", zip: "696969" }
Can’t find what you are looking for?