Defining the output tag in the analytics configuration file (biConfig.xml)
You can define an output tag in your
biConfig.xml file
by adding an <output> element. Within the <output> element,
add the JavaScript snippets, or any other content, that you want to
write to a specific location in your store pages.About this task
Procedure
- Open the workspace_dir\crs-web\WebContent\WEB-INF\xml\config\bi\biConfig.xml file.
- To define a new
<output>tag, within the<store>element, paste the following code snippet:<output section="your_section_name"> <![CDATA[ your_content ]]> <output> - Replace
your_contentwith the content you want to write to your store pages. - For the
sectionparameter, replaceyour_section_namewith a name that represents the location to place the IBM Digital Analytics JavaScript snippets in the JSP page.You can use any name to define the location, for example,endofpageorbody. - Save and close the file.