Documentation
Complete documentation for Zest cookie consent toolkit
Overview
Zest is a lightweight (~9KB gzipped), zero-dependency cookie consent toolkit designed for GDPR and CCPA compliance. It provides intelligent script blocking, cookie interception, and a beautiful customizable UI.
Why Zest?
| Feature | Zest | Klaro | Tarteaucitron |
|---|---|---|---|
| Size (gzipped) | ~9KB | ~45KB | ~80KB |
| Dependencies | None | None | None |
| Script Blocking | Yes | Yes | Yes |
| Cookie Interception | Yes | No | No |
| Storage Interception | Yes | No | No |
| DNT/GPC Support | Yes | Partial | No |
| Shadow DOM | Yes | No | No |
Core Features
- Intelligent Script Blocking - Multiple blocking modes (manual, safe, strict, doomsday) with automatic detection of known trackers
- Cookie & Storage Interception - Intercepts
document.cookie,localStorage, andsessionStorageoperations - Privacy Controls - Respects Do Not Track (DNT) and Global Privacy Control (GPC) browser signals
- Multi-Language - 12 built-in languages with auto-detection
- Customizable UI - Banner, settings modal, and floating widget with theming support
- Event System - Comprehensive events for consent changes
Getting Started
- Installation & Quick Start - Add Zest to your website
- Configuration - Customize behavior and appearance
- API Reference - Programmatic control
- Script Blocking - How script blocking works
- Events & Callbacks - React to consent changes
- Styling - Customize the look and feel
Need Help?
- Check the GitHub repository for the latest updates
- Report issues on GitHub Issues
- Join the discussion on GitHub Discussions
