Introduction

Note: The APIs in wix-window-frontend.ConsentPolicy can only be used in frontend code.

The consent policy helps you comply with GDPR and CCPA regulations, and allows site visitors to control their information.

Set up the site consent policy and cookie consent banners in a site's Privacy Center.

To use the ConsentPolicy API, import { consentPolicy } from the wix-window-frontend module:

Copy
Did this help?