UNPKG

@react-native-firebase/analytics

Version:

React Native Firebase - The analytics module provides out of the box support with Google Analytics for Firebase. Integration with the Android & iOS allows for in-depth analytical insight reporting, such as device information, location, user actions and mo

75 lines (74 loc) 2.71 kB
"use strict"; /** * A currency amount. */ /** * Consent status string values. */ /** * Promotion object for analytics events. */ // // Unsupported in "Enhanced Ecommerce reports": // https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event#public-static-final-string-checkout_progress // // export interface CheckoutProgressEventParameters { // checkout_step: string; // checkout_options: string; // } /** * Standard gtag.js event parameters. For more information, see the GA4 reference documentation. Web only. */ /** * Unsupported in "Enhanced Ecommerce reports": * https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event#public-static-final-string-view_search_results */ // export interface ViewSearchResults { // /** // * The search string/keywords used. // */ // search_term: string; // } /** * Analytics instance initialization options. Web only. */ /** * Additional options that can be passed to Analytics method calls such as logEvent. Web only. */ /** * A set of common Google Analytics config settings recognized by gtag.js. Web only. */ /** * Consent status settings for each consent type. * For more information, see * {@link https://developers.google.com/tag-platform/tag-manager/templates/consent-apis * | the GA4 reference documentation for consent state and consent types}. */ /** * Specifies custom options for your Firebase Analytics instance. * You must set these before initializing `firebase.analytics()`. */ /** * Any custom event name string not in the standard list of recommended event names. */ /** * Type for standard Google Analytics event names. logEvent also accepts any custom string and interprets it as a custom event name. * See https://firebase.google.com/docs/reference/js/analytics.md#eventnamestring */ // ============ Module Interface ============ /** * Analytics module instance - returned from firebase.analytics() or firebase.app().analytics() */ /* eslint-disable @typescript-eslint/no-namespace */ /* eslint-enable @typescript-eslint/no-namespace */ // ============ Backwards Compatibility Namespace - to be removed with namespaced exports ============ // Helper types to reference outer scope types within the namespace // These are needed because TypeScript can't directly alias types with the same name /** * @deprecated Use the exported types directly instead. * FirebaseAnalyticsTypes namespace is kept for backwards compatibility. */ /* eslint-disable @typescript-eslint/no-namespace */ export let FirebaseAnalyticsTypes; /* eslint-enable @typescript-eslint/no-namespace */ //# sourceMappingURL=analytics.js.map