HomeToolsAdd a Cookie Consent Banner to Wix

    Add a Cookie Consent Banner to Wix

    Wix's built-in banner covers the basics. For category-level opt-ins, Google Consent Mode v2, script gating, and a consent log you can export, install PolicyForge's banner via Custom Code.

    One Script Tag
    GDPR & ePrivacy
    Consent Mode v2
    Wix Specific
    4.9 out of 5on Trustpilot
    50,000+
    businesses protected
    www.yourwebsite.com
    Add a Cookie Consent Banner to Wix
    What information do we collect?
    ✓ GDPR Compliant
    Auto-Updates
    Policy updates automatically
    2-Min Setup
    Generate in minutes

    The Wix Install, Step by Step

    1

    Scan Your Site (Optional, Free)

    Run the free cookie scanner on your site — no account needed. When you build your banner, the cookie categories are pre-selected from what the scan actually found.

    2

    Create Your Banner in PolicyForge

    In the dashboard, open Consent Banner, pick your position, theme, and colors, enable Google Consent Mode v2 if you use Google tags, and save. You'll get a one-line embed snippet with your banner ID.

    3

    Add the Snippet via Custom Code

    In your Wix dashboard, go to Settings → Custom Code → + Add Custom Code. Paste the snippet, name it (e.g. "PolicyForge Consent"), set Add Code to Pages → All pages, and Place Code in → Body - end. Apply.

    4

    Verify on Your Live Site

    Publish and open your site in a private window. The banner should appear; accept or reject and check the consent shows up in your PolicyForge consent log. If you use Google tags, enable Consent Mode v2 in the banner settings first.

    Wix only allows custom code on upgraded (premium) sites with a connected domain — the Custom Code panel is disabled on free Wix sites.

    The Entire Install Is One Line

    <script src="https://policyforge.co/consent.min.js" data-policyforge-consent="YOUR-BANNER-ID"></script>

    Paste it into Settings → Custom Code → Body - End, applied to all pages.

    Blocking Trackers Until Consent on Wix

    Wix injects its own cookies (svSession, bSession and others) and app cookies server-side, so they can't be wrapped in text/plain tags. Gate the scripts you add yourself through Custom Code by tagging them with data-consent-category, use Consent Mode v2 for Google tags, and keep Wix's own Privacy & Cookies settings configured for its first-party cookies.

    The Banner Needs a Cookie Policy Behind It

    GDPR expects the banner to link to a policy that discloses every cookie your Wix site sets. Generate one tailored to Wix — default cookies and common integrations included.

    Wix Consent Banner FAQs

    What Wix site owners ask before installing.

    Consent Sorted on Wix in Minutes

    Banner, policies, scanner, and consent records — one plan, unlimited sites.

    Included in Pro ($15/month) • Free cookie scanner, no account needed