IBM Digital Analytics JavaScript library types: standard and custom
There are two different JavaScript libraries for : the standard IBM Digital Analytics library and the custom IBM Digital Analytics library. It is important to understand which type the site is using because the implementation details differ.
Standard IBM Digital Analytics library
You are using the standard IBM Digital Analytics library if:
- Your eluminate.js library file is version 4.7.4H or any later version that ends with the letter H.
and
- You do not have a locally hosted cmcustom.js file.
Beginning with WebSphere Commerce Version 7 Feature Pack 3, WebSphere Commerce sites can use the standard IBM Digital Analytics library. The WebSphere Commerce analytics tags are updated to support the standard IBM Digital Analytics library. When we use the standard IBM Digital Analytics library, the site is configured to obtain the latest IBM Digital Analytics tag library directly from the IBM Digital Analytics site (//libs.coremetrics.com/eluminate.js). As a result, the site does not need to:
- Periodically request an updated eluminate.js library file from IBM Digital Analytics or IBM support.
- Host a cmcustom.js file that contains our customized data collection functions. This reduces the number of source file requests in the store pages.
The standard IBM Digital Analytics library supports the collection of:
- All available IBM Digital Analytics Explore attributes (50) for all tags, without the need for a custom library update.
- All available IBM Digital Analytics extra fields (15) for all tags to use with the IBM Digital Analytics Standard Data Export solution, without the need for a custom library update.
Because the standard IBM Digital Analytics library is hosted at the //libs.coremetrics.com site, we can leverage the IBM content distribution network to enhance file availability, minimize client file request and load time globally, and eliminate file hosting bandwidth charges.
Custom IBM Digital Analytics library
You are using the custom IBM Digital Analytics library if:
- Your eluminate.js library file version does not end with the letter H, for example, version 4.7.4 or 4.7.5.
and/or
- You use a locally hosted cmcustom.js file. The cmcustom.js file is provided by IBM Digital Analytics Support.
WebSphere Commerce sites can continue to use the custom IBM Digital Analytics library. Before you switch to the standard IBM Digital Analytics library, talk to your IBM Digital Analytics Support representative.