Product tag

The WebSphere Commerce product tag collects details about the products a customer has viewed.

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 product tag.

Note for IBM Digital Analytics: The following parameters are for the WebSphere Commerce <cm:product /> tag. This tag generates the IBM Digital Analytics cmCreateProductviewTag data tag.

To pass the product data that is previously listed to an external analytics system, use one of the following two parameters:

To pass more information to the external analytics system, use the following parameter:


Tag versions

WebSphere Commerce provides two versions of the product tag:

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

  2. A default implementation of the product tag (<cm:product />) for IBM Digital Analytics. This implementation automatically generates the IBM Digital Analytics cmCreateProductviewTag data tag.


Related concepts
IBM Digital Analytics, formerly known as Coremetrics Analytics integration with Web 2.0 starter stores
Passing extra data to IBM Digital Analytics with the extraparms parameter


Related reference
Use the product tag with IBM Digital Analytics