Skip to content
/ cmp Public
forked from appnexus/cmp

Consent Management Platform Reference Implementation

License

Notifications You must be signed in to change notification settings

DreamLab/cmp

 
 

Repository files navigation

Build Status

AppNexus CMP

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

Installation

git clone https://github.com/appnexus/cmp.git
cd cmp
yarn install

Build for Production

yarn 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

Documentation

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

yarn start

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

Development

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

yarn dev

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

Testing

yarn test

About

Consent Management Platform Reference Implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.7%
  • Less 7.3%
  • HTML 2.0%