Files
super-app/App/common/constants/AnalyticsEventsConstant.ts
Prajjaval Verma 22c0a34f30 TP-81440 | React Screen Load TIme AIs (#12378)
Co-authored-by: Raaj Gopal <raaj.gopal@navi.com>
2024-09-09 14:19:54 +00:00

59 lines
1.6 KiB
TypeScript

export const AnalyticsEventNameConstants = {
HI_SI_PILLS_CLICK: "hi_si_pills_click",
HI_RN_QUOTE_PAGE_INIT: "hi_rn_quote_page_init",
HI_RN_QUOTE_PAGE_ERROR_VIEW: "hi_rn_quote_page_error_view",
HI_RN_BENEFIT_COMPARE_PAGE_INIT: "hi_rn_benefit_compare_page_init",
HI_RN_BENEFIT_COMPARE_PAGE_ERROR_VIEW:
"hi_rn_benefit_compare_page_error_view",
PATCH_QUOTE_V2: "patch_quote_v2",
};
export const AnalyticsEventPropertyConstants = {
SUM_INSURED: "sum_insured",
TAG: "tag",
RECOMMENDED: "recommended",
NOT_RECOMMENDED: "not_recommended",
QUOTE_ID: "quoteId",
};
export const AnalyticsFlowNameConstant = {
GI_RN_QUOTE: "GiRnQuote",
REACT_NATIVE: "ReactNative",
};
export const AnalyticsModuleNameConstant = {
GI: "gi",
};
export const AnalyticsMethodNameConstant = {
FETCH_INSURANCE_QUOTE_PAGE_FROM_BACKEND: "fetchInsuranceQuotePageFromBackend",
FETCH_QUOTE_V3: "fetchQuoteV3",
FETCH_QUOTE_V4: "fetchQuoteV4",
FINAL_PATCH_CALL: "finalPatchCall",
COMPARE_PLAN_LIST: "comparePlanList",
MARKET_BENEFIT_COMPARE_LIST: "gi_market_benefit_compare_list_error",
};
export const AnalyticsGlobalErrorTypeConstant = {
GLOBAL_INTERNAL_ERRORS: "global_internal_errors",
GLOBAL_GENERIC_ERRORS: "global_generic_errors",
};
export const EVENT_NAMES = {
CODEPUSH_FETCH_ERROR: "codepush_fetch_error",
SCREEN_LOAD_TIME: "react_screen_load_time",
INVALID_SCREEN_CTA: "invalid_screen_cta",
};
export const EVENT_PROPERTY_KEYS = {
STATUS: "status",
BUNDLE_VERSION: "bundleVersion",
SCREEN_NAME: "screenName",
LOAD_TIME: "loadTime",
SCREEN_STATE: "screenState",
};
export const EVENT_PROPERTY_VALUES = {
UNKNOWN_ERROR: "UNKNOWN_ERROR",
};