Reference > Analytics for IBM WebSphere Commerce
Analytics tag library for IBM WebSphere Commerce
Overview
Adding tags to store pages allows communication of site usage information to an external analytics system. The tag library acts as an intermediary layer between WCS and the external analytics system. As customers interact with the site, the tag library generates vendor-specific JavaScript snippets, which transfer information to the external server directly, including information such as...
- page views
- ads displayed
- clickthroughs
Tag library usage with Coremetrics
WCS provides a tag library to use with Coremetrics. This includes an auto tagging utility that can tag all the store JSP pages with the page view tag.
Tag library usage with analytics vendors other than Coremetrics
Many web analytics vendors use a JavaScript tagging mechanism. The vendor typically provides JavaScript code snippets for you to add to the store pages to communicate the necessary information from the store to the external analytics system. As an alternative to adding the JavaScript tagging code in the store pages, which can be a cumbersome process, you can use JSTL-based custom JSP tags that contain the logic to generate the JavaScript tagging code in the store pages. The JSTL-based tags are easier to add and maintain than the JavaScript tagging code. WCS provides a tag library framework to create custom JSP tags to send the analytics data to an external analytics system. The framework provides:
- Abstract base tag classes that you can extend to create a JSP tag implementation. These abstract base tag classes retrieve the analytics data to send to the external analytics system.
- An auto tagging utility that can tag all the store JSP pages with the page view tag.
Base tags
- Page view tag
- Order tag
- Shop cart tag
- Product tag
- Registration tag
- Campaign URL tag
- Content URL tag
- Generic tag
Related concepts
Integrate a store with Coremetrics for IBM WebSphere Commerce
Related tasks
Tag the store pages for Coremetrics
Run the auto tagging utility
Related reference