API
Developer-first by design.
Use this page for future consent APIs, lifecycle hooks, event callbacks, and analytics integration notes.
Code snippet
CookieConsent.init(config)
CookieConsent.openSettings()
CookieConsent.acceptAll()
CookieConsent.rejectOptional()
CookieConsent.getConsent()