HomeToolsAdd a Cookie Consent Banner to Webflow

    Add a Cookie Consent Banner to Webflow

    Webflow ships no consent banner for your visitors — you have to bring your own. Here's the one-script-tag install, plus how to gate the GA4, Meta Pixel, and embed scripts you've added.

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

    The Webflow 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

    Paste the Snippet in Footer Code

    In Webflow, open Site Settings → Custom Code and paste the snippet into Footer Code (before </body>). Save, then Publish — the banner deploys to your live domain with the next publish.

    4

    Gate Your Tracking Scripts and Verify

    Your GA4, Meta Pixel, or Hotjar snippets live in the same Custom Code panels — change each to type="text/plain" with a data-consent-category so they only load after opt-in. Publish, open the site privately, and confirm the banner shows and consents appear in your log.

    Custom code requires a paid Webflow site plan — the Custom Code fields are disabled on free staging-only 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 Site Settings → Custom Code → Footer Code.

    Blocking Trackers Until Consent on Webflow

    Webflow itself sets almost no cookies on published sites, so on Webflow nearly everything worth gating is code you pasted yourself — which is exactly what the text/plain + data-consent-category pattern handles. For YouTube or Vimeo embeds, either gate the embed code the same way or use YouTube's privacy-enhanced (youtube-nocookie.com) mode.

    The Banner Needs a Cookie Policy Behind It

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

    Webflow Consent Banner FAQs

    What Webflow site owners ask before installing.

    Consent Sorted on Webflow in Minutes

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

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