Reference > Analytics for IBM WebSphere Commerce > Integrate a store with Coremetrics for IBM WebSphere Commerce > Implement Coremetrics for IBM WebSphere Commerce
Tag the store pages for Coremetrics
- Navigate to the folder containing the *.jsp files. For example...
WC_EAR/Stores.war/ConsumerDirect/
- Update the *.jsp files with the page view tag.
This does not include any *.jsp files that customers cannot see, such as snippets.
- Update the order confirmation page with the Order tag.
- Update the shopping cart display page with the Shopping cart tag.
- Update the product display pages with the Product tag.
This includes any page that displays low level details about an orderable item, such as packages, bundles, and so on.
- Update the customer account page with the Registration tag.
- Update the e-Marketing Spot *.jsp fragments with the Campaign URL tag.
- If necessary, add the generic tag to any pages on which it is required.
Results
The page view tag must be the last tag in the body segment of any given *.jsp file. Any other tags should be placed immediately before this tag.
For examples of these tags being used in *.jsp files...
WC_INSTALL/components/Coremetrics/samples
The sample files are:
- CatalogSearchResultDisplay.jsp
- eMarketingSpotDisplay.jsp
- MyAccountDisplay.jsp
- OrderConfirmationDisplay.jsp
- OrderItemDisplay.jsp
- PackageDisplay.jsp
- ProductDisplay.jsp
- TopCategoriesDisplay.jsp
Previous topic: Run the auto tagging utility
Related concepts
Coremetrics for IBM WebSphere Commerce tag library
Coremetrics for IBM WebSphere Commerce
Related tasks
Implement Coremetrics for IBM WebSphere Commerce
Related reference
Generic tag
Campaign URL tag
Order tag
Page view tag
Product tag
Registration tag
Shop cart tag
Auto tagging utility