Run the auto tagging utility

We can run the auto tagging utility to automate the process of tagging store JSP files with the page view tag (<cm:pageview />). We must add other analytics tags manually, such as the order tag (<cm:order />) tag and the shopping cart tag (<cm:cart>).

The auto tagging utility also adds the <cm:output /> tag to the <head> element of all the store pages. This ensures that the JavaScript snippets for defined in the <output> element of your biConfig.xml file are written to each HTML page.


Task info

The Madisons and Elite starter stores are already tagged for IBM Digital Analytics. If the store is built from one of these starter stores, you do not need to run the auto tagging utility unless you have added custom pages to the store. If we are not sure, we can search your JSP files for occurrences of <cm:.


Procedure

  1. Go to the following directory:

  2. Run the command line utility.

  3. View the JSP files to verify the pages are tagged with the <cm:pageview /> tag.

Previous topic: Generating a file that captures the catalog hierarchy
Next topic: Tagging the store pages for IBM Digital Analytics


Related concepts
Analytics tag library for HCL Commerce
Integrating a store with IBM Digital Analytics for WebSphere Commerce


Related reference
Auto tagging utility