Privacy-first consent management component for Vue.js applications. GDPR-compliant, customizable, and lightweight.
Features
- GDPR and CCPA compliant consent banner
- Granular consent categories (essential, analytics, marketing)
- Fully customizable appearance
- Vue 3 Composition API support
- Zero external dependencies
- SSR compatible
Why Vue Privacy?
Most consent management solutions are either bloated SaaS products or require complex setup. Vue Privacy provides a simple, self-hosted alternative that respects user privacy while meeting legal requirements.
Feature Goals
Preference Center Modal
Full-featured OneTrust-style modal with category toggles, allowing users to granularly control their consent preferences.
Script Blocking
Block 3rd-party scripts (analytics, marketing, etc.) until user gives consent. Essential for true GDPR compliance.
Multi-language (i18n)
Built-in translations for 20+ languages including EN, DE, FR, ES, IT, PT, NL, PL, RU, UK, JA, KO, ZH.
CCPA Support
California Consumer Privacy Act compliance with Do Not Sell My Personal Information link and California-specific consent flows.
Server-side Storage
Integration with vue-privacy-worker for Cloudflare Workers KV consent storage. Cross-device consent sync for logged-in users.
Analytics Dashboard Integration
Connect to privacy.structured.world for opt-in rates, banner interactions analytics, and consent records storage.
