React Native Firebase
    Preparing search index...

    Consent status settings for each consent type. For more information, see the GA4 reference documentation for consent state and consent types.

    interface ConsentSettings {
        ad_personalization?: boolean;
        ad_storage?: boolean;
        ad_user_data?: boolean;
        analytics_storage?: boolean;
        functionality_storage?: boolean;
        personalization_storage?: boolean;
        security_storage?: ConsentStatusString;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    ad_personalization?: boolean

    Sets consent for personalized advertising

    ad_storage?: boolean

    Enables storage, such as cookies, related to advertising

    ad_user_data?: boolean

    Sets consent for sending user data to Google for online advertising purposes

    analytics_storage?: boolean

    Enables storage, such as cookies, related to analytics (for example, visit duration)

    functionality_storage?: boolean

    Enables storage that supports the functionality of the website or app such as language settings

    personalization_storage?: boolean

    Enables storage related to personalization such as video recommendations

    security_storage?: ConsentStatusString

    Enables storage related to security such as authentication functionality, fraud prevention, and other user protection.