React Native Firebase
    Preparing search index...

    A set of common Google Analytics config settings recognized by gtag.js. Web only.

    interface GtagConfigParams {
        allow_ad_personalization_signals?: boolean;
        allow_google_signals?: boolean;
        cookie_domain?: string;
        cookie_expires?: number;
        cookie_flags?: string;
        cookie_prefix?: string;
        cookie_update?: boolean;
        page_location?: string;
        page_title?: string;
        send_page_view?: boolean;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    allow_ad_personalization_signals?: boolean

    If set to false, disables all advertising personalization with gtag.js. See Disable advertising features

    allow_google_signals?: boolean

    If set to false, disables all advertising features with gtag.js. See Disable advertising features

    cookie_domain?: string

    Defaults to auto. See Cookies and user identification

    cookie_expires?: number

    Defaults to 63072000 (two years, in seconds). See Cookies and user identification

    cookie_flags?: string

    Appends additional flags to the cookie when set. See Cookies and user identification

    cookie_prefix?: string

    Defaults to _ga. See Cookies and user identification

    cookie_update?: boolean

    If set to true, will update cookies on each page load. Defaults to true. See Cookies and user identification

    page_location?: string

    The URL of the page. See Page views

    page_title?: string

    The title of the page. See Page views

    send_page_view?: boolean

    Whether or not a page view should be sent. If set to true (default), a page view is automatically sent upon initialization of analytics. See Page views