useSSRStatus

Check whether server-side rendered consent data was used during initialization.

useSSRStatus() returns information about whether SSR data was used for consent manager initialization. This is primarily useful for debugging SSR data flow in Next.js or other server-rendering frameworks.

Return Value

Loading…

Info

Must be used within a ConsentManagerProvider. Throws if used outside the provider context.