Element tag

The WebSphere Commerce element tag tracks customer interactions with content within a page, or page elements. In WebSphere Commerce starter stores, these elements include the product fast finder, and the faceted navigation on category and search result pages. Other examples of elements include search and news portlets, video plays, and Ajax detail hovers for products or customer reviews.

The element tag does not generate any data on its own. For this tag, we must use the tag parameters to pass in the data we want to collect. This tag can also pass extra parameters for tag customization.


Parameters

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

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


Tag versions

WebSphere Commerce provides two versions of the element tag:

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

  2. A default implementation of the element tag (<cm:element />) for IBM Digital Analytics. This implementation automatically generates the IBM Digital Analytics cmCreateElementTag 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 element tag with IBM Digital Analytics