IBM Digital Analytics cart view event
When the event listener for detects a IBM Digital Analytics cart view event, the event listener calls the IBM Digital Analytics cmCreateShopAction5Tag function.
The IBM Digital Analytics cart view event gathers the following data to populate the IBM Digital Analytics cmCreateShopAction5Tag data tag:
- productId
- A required parameter that specifies an identifier for the catalog entry in the cart. Typically, the SKU (part number) is used.
- name
- A required parameter that specifies the name of the catalog entry in the cart.
- quantity
- A required parameter that specifies the number of units in the cart.
- price
- A required parameter that specifies the selling price of the catalog entry, including any adjustments as a result of promotions.
- currency
- A required parameter that specifies the currency that corresponds to the value of the price parameter.
- category
- A required parameter that specifies the category of the catalog entry, or virtual category such as "Search" or "Cross Sell".
- masterCategory
- A required parameter that specifies the category of the catalog entry according to the store's master catalog.
- storeId
- Store ID of the store to which the catalog entry currently being viewed belongs. If the store ID is not provided, the storeId parameter is extracted from the current URL.
Related reference
IBM Digital Analytics page view event
IBM Digital Analytics product view event
IBM Digital Analytics registration view event
IBM Digital Analytics element event
IBM Digital Analytics conversion event