Search.../

Introduction

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-window-frontend module:

import { consentPolicy } from 'wix-window-frontend';
javascript | Copy Code

The APIs in wix-window-frontend.ConsentPolicy can only be used in front-end code.

Was this helpful?