SmartConsent

Cookie Consent That Knows the Law

SmartConsent is an AI-native cookie consent platform that renders a compliant banner for each visitor's jurisdiction. Stop guessing which regulations apply — it detects jurisdiction automatically, resolves conflicting requirements using "strictest wins" logic, and renders the banner in a single script tag under 10KB.

Cookie consent is broken. Most banners are either non-compliant or require manual configuration for every jurisdiction.

Regulation Complexity

GDPR requires opt-in. CCPA allows opt-out. DPDP Act prohibits child tracking. PECR requires equal-prominence buttons. Getting it wrong means fines up to 4% of global revenue.

Manual Configuration

Traditional consent tools require you to manually configure compliance settings for each jurisdiction. When regulations change, you update code — or fall out of compliance.

Bundle Bloat & Dependencies

Popular consent platforms ship 50-200KB of JavaScript with third-party dependencies. They slow your site, introduce supply-chain risk, and often require a server-side component.

What SmartConsent Does

Regulatory intelligence meets lightweight engineering

Regulatory Intelligence

Built-in knowledge graph covering 11 regulations across 60+ countries. Auto-detects visitor jurisdiction via geo-IP and applies the correct compliance profile.

Strictest-Wins Resolution

When multiple regulations apply (e.g., a UK visitor on a site with EU operations), SmartConsent resolves conflicts by applying the strictest requirement for each setting.

Script Blocking Engine

Block-first approach: scripts tagged with data-consent-category are prevented from executing until consent is given. MutationObserver catches dynamically injected scripts.

Google Consent Mode v2

Fires gtag consent default and update signals automatically. Required for Google Ads, GA4, and DV360 in the EEA, UK, and Switzerland.

Global Privacy Control

Detects navigator.globalPrivacyControl and auto-applies opt-out preferences in jurisdictions that honour GPC (California, Colorado, Connecticut, and more).

Zero Dependencies

Single IIFE bundle under 10KB gzipped. No React, no framework, no server. Works with any website via a plain script tag.

Free Tool

Is your website compliant?

Run a free scan to detect cookies, tracking scripts, and compliance issues — then get a ready-to-paste SmartConsent configuration to fix them.

How It Works

Six stages, under 200ms

From geo-detection to script gating — every SmartConsent page load walks the same pipeline before a single analytics pixel fires.

See the full pipeline

Use Cases

Representative scenarios, illustrating how the platform is applied

Why SmartConsent

Built different from the ground up

Data-Driven, Not Code-Driven

Regulations are JSON files, not if-statements. Adding a 12th regulation means adding a JSON file — zero code changes, zero deployments to the core engine.

Genuinely Lightweight

Under 10KB gzipped with all 11 regulation data files included. No framework dependency. No server component. Loads faster than a single tracking pixel.

Built for Developers

npm package, React wrapper, TypeScript declarations, ES module, IIFE bundle, vanilla HTML template. Six integration methods for every stack.

Open Architecture

BSL 1.1 licensed — free for any use except competing consent services. Full source available. Converts to Apache 2.0 after four years.

FAQ

Frequently asked questions

What is SmartConsent?

SmartConsent is an AI-native cookie consent platform. It auto-detects a visitor's jurisdiction and renders a compliant banner for 11 privacy regulations — from a single script tag under 10KB.

Which regulations does SmartConsent support?

11, including GDPR, PECR, CCPA/CPRA, and the DPDP Act — jurisdiction detected automatically via geo-IP.

How big is the SmartConsent bundle?

Under 10KB gzipped, with all regulation data included, and zero third-party dependencies.

Does SmartConsent support Google Consent Mode v2?

Yes. It fires the gtag consent default and update signals automatically, as required for Google Ads and GA4 in the EEA, UK, and Switzerland.

Is SmartConsent free?

Yes — free forever for unlimited domains across 11 jurisdictions. Pro is £9/month + VAT (or £89/year + VAT) for geo-targeting, translated banners, consent analytics, and webhook proof of consent.

Add compliant cookie consent in under 60 seconds