Add the output tag to the store JSP pages
After you define the output tag in your biConfig.xml file, add the output tag to all the store pages. Place the output tag in the location in the page at which we want the JavaScript snippets for to be written in the store page.
Procedure
- Open the store page.
- Place the output tag in the page at the wanted location. The syntax of the output tag is:
<cm:output section="your_section_name" />
For example:
<cm:output section="header" />
- If the tag library is not already included in the JSP page, include it above the location that you placed the <output> tag, or in the parent JSP page that includes the snippet. Use the following code to include the tag library:
<%@ taglib uri="http://commerce.ibm.com/coremetrics" prefix="cm" %>
- Save and close the file.
- Repeat these steps for all other store pages to which we want to write the JavaScript snippets.
Previous topic: Defining the output tag in the analytics configuration file (biConfig.xml)
Related concepts
Use the output tag to configure the placement of IBM Digital Analytics JavaScript snippets
Related reference
Sample biConfig.xml file for IBM Digital Analytics