CookiezyCookiezy
ProductPlatformsDevelopersPricingBlog
Overview

Wix adapter: post-purchase rollout

Use this guide after payment to move from the downloaded ZIP package to a working Wix production setup.

  • • Download `platform-cookie-core.zip` from customer downloads.
  • • Host the files from `packages/adapters/wix/custom-code/` on a public asset path.
  • • Register the live Wix hostname in billing.
  • • Paste the Wix head and footer snippets into Custom Code.
  • • Publish and test banner, settings, audit, and licensing behavior.
Developer documentation screenshot for the Cookiezy Wix adapter showing custom-code setup and testing flow.
Wix technical reference: asset hosting, global code snippets, and policy audit validation.
Step 1

Host the Wix assets

Upload the Wix custom-code assets and keep their names stable so the snippets continue to reference the correct files.

Code snippet

wix-bootstrap.js
cookie-consent.js
cookie-consent-ui.js
cookie-consent-scanner.js
cookie-consent.css
policy-page-embed.html
Step 2

Configure head and footer custom code

Insert the head snippet for all pages, then add the footer snippet. Replace the placeholder URLs, policy route, site key, and verify endpoint.

Code snippet

window.CookiezyWixAdapter.boot({
  locale: "en",
  storageKey: "wix_cookie_consent_v1",
  policyUrl: "/en/cookie-policy",
  siteKey: "pk_live_cookiezy_demo",
  verifyUrl: "https://cookiezy.com/api/licensing/verify"
});
Step 3

Publish and validate the Wix site

After publish, test the consent flow on the live hostname that is registered in billing.

  • • Banner appears on first visit.
  • • Reject optional blocks optional categories.
  • • Footer settings link reopens the modal.
  • • Cookie policy audit renders and re-scan works.
  • • Verification endpoint returns `allowed: true` for the live Wix hostname.
Cookiezy

Lightweight consent platform for modern websites.

Product

FeaturesPlatformsPricingDocsBlog

Legal

Cookie PolicyPrivacy PolicyTerms

Language

Cookie settings

© 2026 Cookiezy. All rights reserved.