Setup

To use the MarketingConsent API, install the @wix/marketing package using npm or Yarn:

Copy
1

or

Copy
1

Then import { marketingConsent } from @wix/marketing:

Copy
1
Was this helpful?
Yes
No