Everything you need for consent compliance

Five powerful features built to make DPDP compliance effortless — from script blocking to accessibility.

Core Engine

Intelligent Script Blocking

TagConsent blocks analytics, marketing, and functional scripts until the user gives explicit consent. Scripts load only after the matching cookie category is approved — no leaking, no guesswork.

  • Blocks scripts tagged with data-cookiecategory before consent
  • Activates scripts instantly when consent is granted
  • Supports dynamic script loading via TC.loadScript() API
  • Works with Google Analytics, Meta Pixel, HubSpot, and any third-party tag

How it works

<script type="text/plain"
  data-cookiecategory="analytics">
  // Blocked until user accepts analytics
  gtag('config', 'GA_ID');
</script>
Accessibility

WCAG 2.1 AA Compliant

The consent banner is fully accessible out of the box. Screen readers, keyboard navigation, focus trapping, and high-contrast styles — all built in.

  • Proper ARIA roles: role="dialog", aria-modal, aria-label
  • Keyboard focus trap in banner and preferences modal
  • Toggle switches with role="switch" and keyboard Enter/Space
  • Focus-visible outlines on all interactive elements
  • 4.5:1 minimum contrast ratio on all text

Accessibility scores

AA

WCAG Level

100%

Keyboard Nav

4.5:1

Contrast Ratio

✓

Screen Reader

✓

Focus Trap

✓

ARIA Labels

Compliance Engine

Anti-Dark-Pattern Protection

TagConsent actively enforces fair consent UX. The engine validates your banner against 7 rules drawn from GDPR, DPDP Act 2023, and EDPB guidelines — and auto-fixes violations in real time.

  • Equal button prominence — Accept and Decline are the same size
  • No pre-checked non-essential categories
  • Scrolling or dismissing the banner never counts as consent
  • No guilt-tripping or emotional manipulation in copy
  • Easy consent withdrawal — always one click away

Validation rules

  • CriticalEqual button prominence
  • CriticalNo pre-checked consent
  • CriticalNo dismiss-as-accept
  • HighNo forced action asymmetry
  • HighEasy consent withdrawal
  • MediumNo confusing language
  • MediumNo emotional manipulation
Intelligence

Automatic Cookie Categorization

Send us a list of cookie names and we'll classify each one into the correct ePrivacy Directive category — with legal references for DPDP and GDPR compliance.

  • Recognizes 60+ cookie patterns across all major platforms
  • Four categories: Necessary, Functional, Analytics, Marketing
  • Each categorization includes ePrivacy and DPDP legal references
  • Domain scanning API stores results for audit trails

Cookie categories

Necessary

Session, CSRF, consent — exempt under Art. 5(3)

Functional

Language, theme, preferences — consent required

Analytics

GA, Hotjar, Mixpanel — consent required

Marketing

Facebook, Google Ads, retargeting — consent required

Regulation

Built for India's DPDP Act 2023

TagConsent is purpose-built for the Digital Personal Data Protection Act. Every feature, every default, and every validation rule maps to specific DPDP sections.

  • Consent records with full audit trail per DPDP §6
  • Purpose limitation — each category tied to a specific purpose
  • Data Principal rights — easy withdrawal per §6(4)
  • Consent artifact generation for compliance reporting
  • Multi-language support for India's linguistic diversity

DPDP Act coverage

§6

Consent

§7

Legitimate Use

§8

Purpose Limit

§11

Data Principal Rights

§12

Fiduciary Duties

§30

Penalties

Ready to get compliant?

Start your free trial — no credit card required. Be DPDP-compliant in under 5 minutes.

Start free trial