Skip to content

aesirxio/cmp-admin

Repository files navigation

AesirX CMP Admin

AesirX CMP Admin

It allows you to successfully gain legal 1st-party data insights for your business across multiple platforms and devices.

Safeguard your data and your customers' privacy with our Web Consent solution that’s fully GDPR compliant and built on privacy by design; AesirX CMP Admin enables data-driven marketing in a privacy-first world.

Designed for easy integration, all data is collected through the AesirX Consent JS Data Collector which is installed 1st-party on your website or application.

Setup instructions

Setup the 1st party server for AesirX Standalone CMP

Follow the instructions in: https://github.com/aesirxio/analytics-1stparty/tree/cmp

Setup the Consent JS

Follow the instructions in: https://github.com/aesirxio/consent

Development

  1. This project is using Monorepos with git submodule. You need to run git submodule update --init --recursive after cloned the project.

  2. Run yarn install to install the dependencies.

  3. Run yarn prepare to build the dependencies.

  4. Rename the .env.dist file to .env.

  5. Replace license keys in the .env file with the one provided in your profile account.

    1. Replace the REACT_APP_BI_ENDPOINT_URL in the .env file with the link to your 1st party server for AesirX Standalone CMP.
    2. Replace the REACT_APP_ENDPOINT_ANALYTICS_URL in the .env file with the link to your 1st party server for AesirX Standalone CMP.
    3. Replace the REACT_APP_DATA_STREAM in the .env file with the name and domain to the your data-stream endpoint.
    4. Replace the REACT_APP_SSO_CLIENT_ID in the .env file with the provided REACT_APP_SSO_CLIENT_ID from https://aesirx.io/licenses.
    5. Replace the REACT_APP_SSO_CLIENT_SECRET in the .env file with the provided REACT_APP_SSO_CLIENT_SECRET from https://aesirx.io/licenses.
    6. PORT change the port. Default is 3000
  6. Run yarn dev

  7. Open http://localhost:3000 - 3000 is PORT to view it in the browser.

Production

Run on a webserver:

  1. Run yarn build after changed .env file.
  2. Upload packages/aesirx-cmp-admin/build folder to webserver.

Dockerize

  1. Run docker compose -f "docker-compose.yml" up -d --build after changed .env file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages