elbwalker docs
Search…
Shopping Cart Page
What actions are typically being tracked on this page:
  • Checkout start
  • Product impression
  • Product remove
  • Voucher add
What properties are typically being tracked on this page:
  • Products
    • name
    • id (also known as SKU)
    • Category
    • Price
    • Quantity
  • Total
A typical walker implementation of a shopping cart page could look like this:
1
<!-- Shopping Cart Page -->
2
<div elb="checkout" elbaction="load:start" elb-checkout="step:overview;total:87">
3
...
4
</div>
Copied!
Once a page is loaded by a user all property values from the element as well as all child elements of the entity-container and their parents will be collected. In the background a dataLayer push will be generated with the following structure:
1
elbLayer.push('checkout start', { step: 'overview', total: 87 }, 'load');
Copied!
We will add a lot more real world examples here in the upcoming weeks. If you want to know how to measure certain events or website elements with our walker please don't hesitate to reach out to us via [email protected].
Copy link