Contentful Personalization & Analytics
    Preparing search index...
    ConsentInput: boolean | { events?: boolean; persistence?: boolean }

    Consent value accepted by stateful SDK consent() methods.

    Pass true or false to update event consent and the persistence consent value together. The persistence consent value controls durable profile-continuity storage. Pass an object when an application needs to update either capability independently, such as allowing events while keeping profile continuity session-only.