Order tag

The WebSphere Commerce order tag collects information about a customer's order. The order tag creates two data sets: one for the shopping cart contents at the time of the order and the other for the order summary information. For each item in the shopping cart, this tag collects the following data to pass to an external analytics system:

For the order summary information, this tag collects the following data to pass to an external analytics system:

This tag can also pass extra parameters for tag customization.


Parameters

The following is a list of required and optional parameters for the order tag.

Note for IBM Digital Analytics: The following parameters are for the WebSphere Commerce <cm:order /> tag. This tag generates the IBM Digital Analytics cmCreateShopAction9Tag data tag and cmCreateOrderTag data tag. To pass the shopping cart and order summary information that is listed at the beginning of this topic to an external analytics system, use one of the following parameters:

To send tax-related data to the external analytics system, use the following additional parameters:

We can use any of the following three parameters to send more information to the external analytics system:


Tag versions

WebSphere Commerce provides two versions of the order tag:

  1. An abstract base tag implementation class: OrderBaseTag. Analytics vendors who want to provide an order tag in their web analytics JSP tag library can extend this base tag class to get the order tag data and implement their own logic to generate the vendor-specific order tagging APIs.

  2. A default implementation of the order tag (<cm:order />) for IBM Digital Analytics. This implementation automatically generates the IBM Digital Analytics cmCreateShopAction9Tag data tag and cmCreateOrderTag data tag.


Related concepts
Passing extra data to IBM Digital Analytics with the extraparms parameter
Comparison of extra parameters for IBM Digital Analytics tags


Related reference
Use the order tag with IBM Digital Analytics