Running the auto tagging utility

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

Feature Pack 3The auto tagging utility also adds the <cm:output /> tag to the <head> element of all your store pages. This ensures that the JavaScript snippets for IBM Digital Analytics, formerly known as Coremetrics Analytics defined in the <output> element of your biConfig.xml file are written to each HTML page.

About this task

The Madisons and Elite starter stores are already pretagged for IBM Digital Analytics. If your 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 you are not sure, you can search your JSP files for occurrences of <cm:.

Procedure

  1. Go to the following directory:
    • WC_installdir/bin
    • WebSphere Commerce DeveloperWCDE_installdir/bin
  2. Run the command line utility.
  3. View the JSP files to verify the pages are tagged with the <cm:pageview /> tag.