Reference > Analytics for IBM WebSphere Commerce > Integrate a store with Coremetrics for IBM WebSphere Commerce
Sample: biConfig.xml
The following biConfig.xml sample file represents the default configuration file included with the Coremetrics for IBM WebSphere Commerce.
The main method, cmSetProduction() is commented out because by default, the data goes to the Coremetrics test server. However, uncomment the line when you have completed testing, and are ready to send the data to the Coremetrics production server.
The biConfig.xml file is located in...
WAS_EAR/xml/config/coremetrics/biConfig.xml
<?xml version="1.0" encoding="UTF-8"?> <BIConfiguration> <biproviders> <biprovider name="coremetrics"> <header> <![CDATA[<script language="JavaScript1.1" type="text/JavaScript"> <!-- ]]> </header> <footer> <![CDATA[ //--> </script>]]> </footer> </biprovider> </biproviders> <stores> <store storeId="10001" biprovider="coremetrics" enabled="false" debug="false"> <clientid> clientID</clientid> <instrumentation> <![CDATA[<script language="JavaScript1.1" type="text/JavaScript" src="/wcsstore/coremetrics/v40/eluminate.js"></script> <script language="JavaScript1.1" type="text/JavaScript" src="/wcsstore/coremetrics/cmdatatagutils.js"></script> <script language="JavaScript1.1" type="text/JavaScript"> <!-- //cmSetProduction(); //--> </script>]]> </instrumentation> </store> </stores> </BIConfiguration>
In Coremetrics implementations prior to September 2007 (using eluminate.js 4.1.1 or earlier), the end of this code block should look like the following:
<script language="JavaScript1.1" type="text/JavaScript" src="/wcsstore/coremetrics/v40/eluminate.js"> </script> <script language="JavaScript1.1" type="text/JavaScript" src="/wcsstore/coremetrics/v40/techprops.js"> </script> <script language="JavaScript1.1" type="text/JavaScript" src="/wcsstore/coremetrics/cmdatatagutils.js"> </script> <script language="JavaScript1.1" type="text/JavaScript"> <script language="JavaScript1.1" type="text/JavaScript"> <!-- //cmSetProduction();
Related tasks
Configure the site to communicate with Coremetrics