Reference > Analytics for IBM WebSphere Commerce > Integrate a store with Coremetrics for IBM WebSphere Commerce
Auto tagging utility
Overview
The Auto tagging utility, AutoTag.sh, automates the process of tagging store JSP files with Coremetrics tags.
JSP files are only tagged with the page view tag and not any other tag.
The utility...
- Scans the WCS Web pages
- Creates backup copies of the JSP files
- Adds Coremetrics tags
dir Fully qualified path to the directory where the JSP files are located. The utility does not recursively scan the specified directory. Do not use this parameter if you use the include parameter.
include Fully qualified path to a text file. The text file lists the fully qualified path to JSP files to update. List each file name on a separate line. Do not use this parameter if you use the dir parameter.
log Optional: Fully qualified path and log file name. If no path or file name are specified, the default location and file name is...
WC_INSTALL/bin/AutoTag.log
If you specify a file name, but no path, it is placed in the current directory:
WC_INSTALL/bin
backupdir Optional: Fully qualified path where the backup JSP files are located. Default locations...
WC_INSTALL/bin/Coremetrics/autotagbackup
Examples
./AutoTag.sh -dir "/usr/WebSphere" \ -log "/tmp/AutoTag.log" \ -backupdir "/tmp/WebSphere" ./AutoTag.sh -include "/path/to/List.txt" \ -log "/tmp/AutoTag.log" \ -backupdir "/tmp/WebSphere"
Related tasks
Run the auto tagging utility
Tag the store pages for Coremetrics
Related reference