PrivacyKit with HTML and JavaScript
A live HTML and JavaScript integration demonstrating consent-aware content blocking, dialog management, and dynamic activation of third-party content.
Compliance Monitor
Enable PrivacyKit Compliance Monitor to inspect this page in real time and validate tracker execution and consent guard coverage.Activates by adding ?pk-monitor=true to the address bar and displays the monitor button in the
page corner.
Consent Test Panel
Use these controls to manually test consent behavior — open the dialog, view the privacy policy, or wipe all cookies to simulate a first-time visitor.window.PrivacyKit.readConsent(): PrivacyKitConsentState