c15t
/
C15T Logo
Select a framework
Frameworks
Welcome to c15t Docs
Introduction to Consent Management (c15t)
AI Tools Integrations
OSS
Contributing to c15t.com
License
Building Privacy Tools in the Open
Legal
Cookie Policy
Privacy Policy
C15T Logo
HomeFrontendIntegrationsSelf HostChangelog
xbskydiscordgithub1.4k
c15t
/
C15T Logo
Select a framework
Frameworks
Welcome to c15t Docs
Introduction to Consent Management (c15t)
AI Tools Integrations
OSS
Contributing to c15t.com
License
Building Privacy Tools in the Open
Legal
Cookie Policy
Privacy Policy
home-2Docs
chevron-rightFrameworks
chevron-rightNext
chevron-rightHooks
chevron-rightUse-consent-manager
chevron-rightOverview

Overview

The useConsentManager hook is a React hook that provides access to the consent manager's state.

The store is the global state for the consent manager. It includes the user's consent preferences, location, consent banner state, and methods to update them.

Usage

import { useConsentManager } from '@c15t/react';

const { has } = useConsentManager();

const hasFunctionality = has('functionality');

Returns

Available in other SDKs

javascriptJavaScriptreactReact
C15T Logo
Leverage native React components for seamless integration and high performance in a robust Consent Management solution that empowers your development team while prioritizing privacy and compliance.
Product
  • Documentation
  • Components
Company
  • GitHub
  • Contact
Legal
  • Privacy Policy
  • Cookie Policy
c15t