← Back to Blog

GDPR, CCPA & Beyond: Free Cookie Consent That Covers Every Privacy Law

A decade ago, cookie consent mostly meant EU compliance. Today, privacy legislation has spread to every inhabited continent. If your website has international visitors — and any website indexed by Google does — you face a patchwork of laws with different requirements, different enforcement bodies, and different consequences for non-compliance.

The question is not whether you need to comply, but how to do it without spending a small fortune or drowning in legal complexity. The answer: a well-built free cookie consent banner that understands the rules automatically.

The Privacy Laws You Need to Know

Here are the major privacy regulations that affect cookie consent, and what each one requires:

  • GDPR / UK GDPR (EU & United Kingdom). The General Data Protection Regulation is the gold standard. It requires explicit, freely given, specific, informed, and unambiguous consent before setting any non-essential cookie. Pre-ticked boxes, consent bundled with terms of service, and "soft opt-ins" are all illegal. You must also make it as easy to withdraw consent as it was to give it.
  • CCPA / CPRA (California, USA). The California Consumer Privacy Act uses an opt-out model rather than opt-in. You can set cookies by default, but you must give users a clear "Do Not Sell or Share My Personal Information" mechanism and honour it when exercised. The CPRA (2023 update) extended this to sensitive personal data.
  • LGPD (Brazil). Brazil's Lei Geral de Proteção de Dados closely mirrors the GDPR. It requires a lawful basis for processing personal data, including cookies. Consent must be freely given and easy to withdraw. Fines can reach 2% of Brazilian revenue up to R$50 million per violation.
  • PDPA (Thailand & Singapore). The Personal Data Protection Acts in both Thailand and Singapore require informed consent for personal data collection. For cookies that track or profile users, this means an opt-in model similar to GDPR.
  • PIPEDA (Canada). Canada's Personal Information Protection and Electronic Documents Act generally follows an opt-in model for sensitive data. The proposed successor legislation (Bill C-27) would tighten requirements further.
  • POPIA (South Africa). The Protection of Personal Information Act requires responsible parties to obtain consent before processing personal information. For tracking cookies, this effectively means opt-in consent before the cookie fires.

What "Cookie Consent" Actually Means Under Each Law

The core distinction across all these regulations is opt-in vs opt-out:

  • Opt-in (GDPR, LGPD, PDPA, POPIA): No tracking cookies may fire until the user actively clicks "Accept." The default state is denied. Pre-checked consent boxes are invalid.
  • Opt-out (CCPA/CPRA): You may set cookies by default, but must prominently offer a way for users to opt out of the sale or sharing of their personal data. You must honour opt-outs within 15 business days.

Getting this wrong is not just a theoretical risk. GDPR enforcement has produced fines in the tens of millions — Meta was fined €1.2 billion in 2023. Even smaller businesses have received enforcement notices from national data protection authorities. CCPA enforcement by the California Privacy Protection Agency is accelerating rapidly.

How Zeraki Cookie Consent Handles All of Them

Zeraki Cookie Consent was designed from the start to handle multi-regulation compliance without requiring you to become a privacy law expert. Here is how it works:

  • Automatic region detection. The banner infers the user's region from their browser's timezone. A visitor in Berlin gets GDPR-compliant opt-in consent; a visitor in California gets CCPA-compliant opt-out messaging. No geolocation API calls, no server-side logic required.
  • Correct consent model per regulation. For opt-in jurisdictions, all non-essential cookies default to denied until the user consents. For opt-out jurisdictions, the banner shows the appropriate "Do Not Sell" language and mechanism.
  • Preference persistence. Consent choices are stored in both localStorage and a first-party cookie, so returning visitors are not re-prompted unnecessarily — while still allowing you to trigger re-consent when your policy changes.

Setting Up Multi-Region Consent

By default, Zeraki auto-detects the user's region. You can also override it for testing or for region-specific deployments:

Auto-detection (recommended)
ZerakiCookieBanner.init({
  companyName:       'Your Company',
  primaryColor:      '#2563EB',
  privacyPolicyUrl:  'https://yoursite.com/privacy',
  // Region is detected from the browser timezone
  // No extra configuration needed for multi-region support
});
Force a specific region (for testing)
ZerakiCookieBanner.init({
  companyName:  'Your Company',
  primaryColor: '#2563EB',
  // Force GDPR mode for all visitors
  forcedRegion: 'gdpr',
});

Is It Really Free?

Yes — completely. Zeraki Cookie Consent is not a freemium product with paywalled compliance features. There are no user limits, no page-view limits, no "upgrade for CCPA support." All regulations, all features, are available at no cost on any number of websites.

The only visible indication is a subtle "Powered by Zeraki" attribution in the banner footer — the same kind you see on most free tools. It does not interfere with your branding, and it is a small price to pay for enterprise-grade compliance infrastructure at zero dollars.

In a world where privacy law is only getting stricter, your cookie consent solution needs to keep up. Zeraki does — and it does it for free.

Get compliant in under a minute

Zeraki Cookie Consent handles GDPR, CCPA, LGPD, PDPA, PIPEDA, and POPIA automatically. Try the live demo and see for yourself.

Try the live demo →