useGVLData (Internal)

Info

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

Info

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.