CCPA Cookie Banner
California's CCPA has different requirements than GDPR. TinyConsent automatically detects California visitors and adapts to opt-out mode.
Your Website uses cookies to enhance your experience and analyze traffic. By clicking "Accept", you consent to our use of cookies.
No signup required to preview • Get started in seconds
What is a ccpa cookie banner?
A ccpa cookie banner is a tool that creates cookie consent notices for websites. Under GDPR and similar privacy laws, websites must inform visitors about cookie usage and obtain consent before setting non-essential cookies like analytics or advertising trackers.
TinyConsent's ccpa cookie banner provides real script blocking with just one line of code. Unlike complex solutions that require configuration files and npm packages, our approach is simple: paste a script tag, and your consent infrastructure is ready.
60-Second Setup
No coding skills required
Real Blocking
Blocks scripts until consent
Lightweight
Under 5KB, loads async
How to Add a ccpa cookie banner in 30 Seconds
Generate CCPA-ready banner
Create your banner using the form above. CCPA mode is automatic.
Verify geo-detection
Use a VPN to test how the banner appears for California visitors.
Check "Do Not Sell" link
Confirm the opt-out link appears in your banner and footer.
Monitor opt-outs
Track opt-out rates in your TinyConsent dashboard.
Example Code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My Website</title>
<!-- TinyConsent Cookie Banner -->
<script src="https://scripts.tinyconsent.com/api/scripts/YOUR_SCRIPT_ID" async></script>
</head>
<body>
<!-- Your content -->
</body>
</html>Why TinyConsent is the Easiest Option
No signup required to try
Generate and preview your banner without creating an account. Only sign up when you're ready for the dashboard.
One line of code
No npm packages, no configuration files. Just paste a script tag and your banner works.
Lightweight and fast
Under 5KB initial load, async loading. Won't hurt your page speed or Core Web Vitals.
Actually blocks scripts
Not just a notification — TinyConsent prevents tracking scripts from running until users consent.
Free privacy policy generator
Generate and download a privacy policy with standard disclosures for free. Hosting may be charged in the future.
Google Consent Mode v2
Automatic integration with Google's consent framework for GA4 and Google Ads.
Frequently Asked Questions
How is CCPA different from GDPR?
CCPA typically allows opt-out (tracking can start, users can stop it) vs GDPR's opt-in (must consent first). CCPA also typically requires a "Do Not Sell My Personal Information" link.
Does TinyConsent detect California visitors?
Yes. We use geo-detection to identify California visitors and adapt the consent experience automatically.
What about the "Do Not Sell" requirement?
TinyConsent includes a "Do Not Sell My Personal Information" link that opens a preferences panel for California users.
Can TinyConsent handle both EU and California visitors?
Yes. TinyConsent shows opt-in style for EU users and opt-out style for California users based on geo-detection.
What about other US state privacy laws?
TinyConsent supports region detection for various US states with emerging privacy laws.
Explore Other Cookie Banner Options
Not sure which solution is right for you? Try our other popular generators:
Gdpr Cookie Banner
Generate a compliant cookie banner with different features.
Try NowCookie Consent Banner
Generate a compliant cookie banner with different features.
Try NowCookie Banner Generator
Generate a compliant cookie banner with different features.
Try NowCookie Banner Generator
Complete solution with full customization options.
Start HerePrivacy Policy Generator
Complete your consent infrastructure with a professional policy.
Generate Now