The <BehaviorTracking:clickContentEvent> tag is used to generate a behavior event when a user has clicked (through) an image or link. This tag will return a URL query string containing event parameters, which is then used to form the complete URL that hyperlinks the content.
<tagName attribute="value" />
documentId
Optional (String) - The path of the item that is displayed, if applicable (that is, an image URL or banner image ID).
documentType
Optional (String) - Type or category of the item that is displayed (if applicable).
id
Optional (String) - Page variable which will hold the output of this tag.
userId
Optional (String) - Name of the user for which that content was retrieved. If the optional value is not provided, it will be set to the value of the request.getRemoteUser().
<BehaviorTracking:clickContentEvent documentId="<%= documentId %>" documentType="<%= documentType %>" userId="<%= userId %>" id="outputFromTag" />