Updating the biConfig.xml file
All the configuration information that is used by the analytics tags must be defined in the biConfig.xml file. You must update this file to include information specific to your analytics provider.
About this task
<header>
and <footer>
elements
of the biConfig.xml file, you can include any
common JavaScript functions or statements that need to be placed in
the store JSP files along with the tagging functions.When you are updating the biConfig.xml file to define the analytics provider configuration, you can set default values for each configuration setting. By setting default values, you can quickly configure multiple stores to use the same configuration for an analytics provider. You can also override any of the default values for an individual store by including a different value in the configuration for the store. For more information, see Configuring default values for an analytics provider.
To update your analytics provider configuration, update the biConfig.xml file in your development environment and then deploy your file to the WebSphere Commerce enterprise archive (EAR) on your staging or production environment.
When you are updating the biConfig.xml file in your development environment, you can use a reload file to help you quickly test configuration changes. By using this reload file, you do not need to continually restart your server to apply configuration changes from the biConfig.xml file. For more information, see Using a reload file to test the analytics integration configuration.
Procedure
Example
<?xml version="1.0" encoding="UTF-8"?>
<BIConfiguration>
<biproviders>
<biprovider name="myProvider">
<header>
<![CDATA[
<script type="text/javascript">
/* Header if any */
</script>
]]>
</header>
<footer>
<![CDATA[
<script type="text/javascript">
/* Footer if any */
</script>
]]>
</footer>
</biprovider>
</biproviders>
<stores>
<store storeId="10101" biprovider="myProvider" enabled="true" debug="true">
<instrumentation>
<![CDATA[
<script type="text/javascript">
/* Instrumentation code if any */
</script>
]]>
</instrumentation>
</store>
</stores>
</BIConfiguration>