eCommerce
Track eCommerce transactions across your purchase funnel.
Automatic eCommerce Detection
SDK API
Purchase
_ll.ecommerce.purchase({
order_id: 'ORD-12345',
currency: 'USD',
subtotal: 150.00,
tax: 10.80,
shipping: 5.00,
discount: 15.00,
total: 150.80,
coupon: 'SPRING10',
items: [
{
item_id: 'SKU-001',
name: 'Widget Pro',
price: 50.00,
quantity: 2,
variant: 'Red',
brand: 'ACME',
category: 'Electronics',
discount: 10.00
}
]
});Add to Cart
All eCommerce Methods
Method
Description
Field Reference
Last updated
Was this helpful?