The consent policy helps you comply with GDPR and CCPA regulations and lets your users control their information. The site owner sets up the site consent policy and cookie consent banners in the site's Privacy Center.
To use the ConsentPolicy API, import { consentPolicy }
from the @wix/site-window
module:
The APIs in @wix/site-window.ConsentPolicy
can only be used in front-end code.