Track clicks to buttons, tabs and anchors and other HTML elements in IBM Digital Analytics aka Coremetrics.

The Element tag populates values in the Element Categories and Top Viewed Elements reports. The Element tag and its associated reports provide organizations with the flexibility to track interaction with various intra-page elements and how these elements.

To document the clicks to elements on a page such as buttons, tabs and links, we need to use the element tag in conjunction using a javascript onclick event.

Coremetrics Element tag example

The following example shows an element tag which sends 2 parameters, an element ID (Company FAQ Page) and an element category (Linked In), where the category element is not related to the CDF categories.

<a href=”/online/wcm/connect/productSpecs” title=”Download product specifications sheet” onclick=”cmCreateElementTag(‘Company FAQ Page’, ‘Linked In’); return true;”>Linked In</a>

  • Function Spec: cmCreateElementTag(ElementID, ElementCategory, AttributeString);

blogCookbook03

Coremetrics Element tag testing example

blogCookbook04

Coremetrics Element tag reporting example

blogCookbook05

Leave a Reply

Your email address will not be published. Required fields are marked *