Use the sample HTML component for Active Site Analytics
The HTML – Analytics component is a sample HTML component that we can use to instrument web content for Active Site Analytics. We can use this component to insert the supported microformat tags for web content into the content or presentation templates.
The HTML – Analytics component is located in the Web Content Templates library. We can adapt this sample to the requirements of the aggregator and Active Site Analytics setup. By default, the sample inserts the following microformat tags:
- asa.wcm.content_item.path
- asa.wcm.content_item.title
- asa.wcm.content_item.id
- asa.wcm.content_item.authors
- asa.wcm.content_item.lastmodified
Insert the HTML – Analytics component in the content or presentation template design by adding the [Component] tag.
For example:
[Component name=”Web Content Templates/HTML - Analytics”]