c15t
Version:
Headless JavaScript consent management platform for cookie banners, privacy preferences, consent storage, and script gating.
22 lines (15 loc) • 1.13 kB
Markdown
---
title: Use GVL Data
description: Reference page for use gvl data.
group: reference
---
> ⚠️ **Warning:**
> c15t's IAB TCF support can be used in production through Inth or with your own registered CMP ID. useGVLData() is different: it remains an internal hook and is not part of the supported public API.
`useGVLData()` currently powers the built-in `IABConsentDialog`, but it is **not part of the public package surface**.
Older docs showed it as a public hook. That is no longer accurate.
If you need supported customization points today:
* Use `IABConsentBanner` and `IABConsentDialog` from `@c15t/react/iab` for the supported prebuilt UI
* Use `useHeadlessIABConsentUI()` from `@c15t/react/iab` when you need lower-level control over banner/dialog state and actions
> ⚠️ **Warning:**
> Until useGVLData() is exported as public API, avoid importing it from deep internal paths. Those paths are not covered by semver guarantees and can change without notice.
When a public GVL-focused hook becomes part of the supported API, this page should document that public surface instead of the internal dialog hook.