To use the Cmp API, install the @wix/consent-policy
package.
To install the package, follow the instructions below based on your development environment.
When developing with:
or
When developing CLI or self-hosted Wix apps, as well as headless apps or sites, run the following command:
or
To import the package in your code: