Name of the DOM event which will trigger the analytics event (if this is not present, the event fires on page load)

payload

Data that will be made available to analytics adapters

This data is assembled by a view helper: Workarea::Storefront::AnalyticsHelper. Customize this helper to extend data points.

Events

The analytics framework reads this data, does some processing on certain events, and calls the appropriate callbacks in the analytics adapter, passing in the payload along with any additionally acquired data. The events which include more data than the payload include productList, productClick, and updateCartItem.

Type

Description

productList

The framework gathers all product impressions in the list, and includes them in the data it sends to adapter callbacks in the impressions value.

productClick

The framework finds the product list, and includes the list which is the product list name and position which is the product's position in that list.

updateCartItem

The framework adds from and to values to indicate how the quantity is changing.