SDK reference

@trueclara/next exports TrueClaraProvider and useTrueClara. Consent defaults to aggregate, which sends cookieless route and edge counters without client-persisted identifiers. Pass consent="none" for a strict no-network-until-consent mode. Calling useTrueClara().setConsent({ analytics: true }) enables session-scoped analytics; calling it with false clears the tab-local analytics override and returns to the provider default. getConsent() returns none, aggregate, or analytics. The SDK does not write cookies or localStorage.