Skip to content
No description, website, or topics provided.
JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

DigiTrust CMP

CMP is a tool for publishers to engage users of their properties and gather & store end user consent.

This code was forked from


git clone
cd cmp
yarn install

Build for Production

npm run build

This produces a production build of the cmp script and the docs application:

  • ./build/cmp.bundle.js - CMP script to include on your site
  • ./build/docs/ - Application hosting the documentation


Instructions to install the CMP as well as API docs and examples are available in the docs application included with the repo.

npm start

The documentation can be viewed at: http://localhost:5000/docs/


You can start a development server that will monitor changes to all CMP and docs files with:

npm run dev

Development server can be accessed at: http://localhost:8080/


npm test
You can’t perform that action at this time.