The eluminate.js library file
IBM® Digital Data Exchange provides a single library file to support the tagging of your site: eluminate.js. This Digital Data Exchange-minor changes file provides JavaScript code that defines a set of functions that can be called with appropriate parameter data to send data collection image requests to Digital Data Exchange. This file must be included in all pages that implement Digital Data Exchange.
If you are using Digital Data Exchange to deploy tags, the Digital Data Exchange JavaScript library is included in pages automatically by the tag container. The path is defined in Global Settings in Digital Data Exchange.
- Digital Data Exchange began offering a single combined hosted library file in April 2010 (//libs.coremetrics.com/eluminate.js). Implementations that are completed before this date might be using separate and locally hosted eluminate.js and cmdatatagutils.js library files.
- If you are using non-hosted libraries, continue to include libraries in the page body section until you upgrade to the Digital Data Exchange-hosted library (version "4.7.5H" or later). Contact IBM Support to upgrade.
- eluminate.js
- The eluminate.js file defines the core functionality of the Digital Data Exchange tagging
technology and is partially minified and obfuscated. The tag function
definitions are not obfuscated or minified. The eluminate.js
file is included in the Head section of all pages that require
Digital Data Exchange
tracking.
<head> <script type="text/javascript" src="//libs.coremetrics.com/eluminate.js"> </script> <script type="text/javascript"> cmSetClientID(...); </script> </head> - cmcustom.js
- Your specific implementation might include customizations that override the default data
collection functions or introduce new functions. This custom file,
cmcustom.js, is delivered by IBM Support and is locally hosted by your organization.
See the contents of this file for details on your specific
customizations.
This file is included in all pages immediately after the Digital Data Exchange-hosted 'eluminate.js' library inclusion:
<head> <script type="text/javascript" src="//libs.coremetrics.com/eluminate.js"> </script> <script type="text/javascript" src="//thesite.com/cmcustom.js"> </script> cmSetClientID(...); </script> </head>