Instrument web content for Active Site Analytics
We can collect information from web content for Active Site Analytics.
For collecting information about the web content that the portal renders, use the following microformat tags:
- asa.wcm.content_item.path
- Use this tag to identify the content path. The tag contains the unique identifier of the content item in IBM Web Content Manager.
- asa.wcm.content_item.title
- Use this tag to identify the content title. The tag contains the display title of the content item.
- asa.wcm.content_item.authors
- Use this tag to identify the authors of the content. The tag contains one of the authors of the content item.
- asa.wcm.content_item.lastmodified
- Use this tag to identify the last modification date of the content. The tag contains the date on which the content item was last modified.
WCM provides the following methods for collecting information about web content:
- Use the analytics data rendering plug-in tag.
- Use the sample HTML component for Active Site Analytics that is provided with Web Content Manager.
- Use the default microformat tags that are supported by web content viewers.
- Use the analytics data rendering plug-in tag
Use the AnalyticsData rendering plug-in tag to inject microformats for Active Site Analytics into the web content.
- 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.
- Enable default microformat support in web content viewers
Web content viewers provide support for Active Site Analytics microformats by default. We can use this support to inject microformats into the content design or presentation templates.
Parent: DevelopingRelated: