We’ve officially upgraded ConsentBit with enhanced support for the latest IAB Transparency & Consent Framework (TCF) standards
Coupon code : PRIVACY20
Cookie Compliance, 20% lighter on your budget
20% oFF
10% oFF
Safer  INternet  Day
Coupon code: SAFE10
10% oFF
Use coupon code: ENDOFYEAR
END OF YEAR SALE
Use coupon code: ENDOFYEAR

Headless / SPA integration

May 19, 2026

For React, Vue, Svelte, and other SPAs:

  1. Install the script tag in your index.html head as usual.
  2. Use the JavaScript API (ConsentBit.getConsent()) inside your components.
  3. Listen for consentbit:consent-updated to react to changes.

A npm package (@consentbit/sdk) is on the roadmap for typed React hooks and Vue composables.

Frequently asked questions

No items found.
Didn’t find your answer?
Contact us here