--- title: "Integration: integrate the CDDC JavaScript" slug: "iaa-osra-cddc-ig-integration" updated: 2026-11-24T14:05:10Z published: 2026-11-24T14:05:10Z canonical: "docs.onespan.com/iaa-osra-cddc-ig-integration" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Integration: integrate the CDDC JavaScript The Client Device Data Collector integration requires a CDDC JavaScript to be included in the web pages. The installation package contains integration web samples to demonstrate the integration. ## Integrating the CDDC JavaScript in your web pages The CDDC JavaScript file is available in the legacy CDDC JavaScript UI package on the [Risk Analytics resource download page](https://community.onespan.com/products/risk-analytics/sdks). The script is available as a jQuery module (Vasco.IdKey.RM.CDDC.min.js). ## Using the web sample With the XML web sample, the integration of Data Collector web service can be demonstrated. ### XML web sample usage The XML web sample demonstrates the integration of the CDDC JavaScript to retrieve the fingerprint raw and hash values. It is contained in the folder named \inetpub\wwwroot\Vasco\IRMXMLDemoSample\Scripts. The script contains an integration example of the CDDC JavaScript into an ASP .NET webpage. The webpage retrieves the fingerprint raw and hash values included in the hidden fields of the XML posted to Data Collector web service. The XML web sample allows sending transaction and non-monetary posts to Data Collector web service. ## CDDC JavaScript variants Two variants of the CDDC JavaScript are available to be included in your web pages. - CDDC JavaScript for modern UI (ESM and UMD modules) CDDC JavaScript for modern UI is intended for new development in frameworks such as React, Angular, Vue.Js etc. This version of the script has no dependency on the JQuery library. It is available as an ESM module to be used with Webpack or RollUp module bundlers, and as an UMD module to be used with CommonJS, RequireJS, and AMD module bundlers. The CDDC JavaScript file is available in the CDDC JavaScript for modern UI package on the [Risk Analytics resource download page](https://community.onespan.com/products/risk-analytics/sdks). - Legacy CDDC JavaScript The legacy CDDC JavaScript is included to support existing solutions. This version of the script has a dependency on the JQuery library. The CDDC JavaScript file is available in the legacy CDDC JavaScript UI package on the [Risk Analytics resource download page](https://community.onespan.com/products/risk-analytics/sdks).