TP-82214 | Narayan | Added analytics event for isActivityRecreated (#12417)
This commit is contained in:
committed by
GitHub
parent
7739108a09
commit
d80eaf2ce1
@@ -3115,7 +3115,8 @@ class NaviPayAnalytics private constructor() {
|
||||
fun onSendMoneyLanded(
|
||||
source: SendMoneyScreenSource,
|
||||
transactionType: UpiTransactionType,
|
||||
naviPaySessionAttributes: Map<String, String>
|
||||
naviPaySessionAttributes: Map<String, String>,
|
||||
isActivityRecreated: Boolean
|
||||
) {
|
||||
NaviTrackEvent.trackEventOnClickStream(
|
||||
eventName = "NaviPay_SendMoney_Landed",
|
||||
@@ -3128,6 +3129,7 @@ class NaviPayAnalytics private constructor() {
|
||||
naviPaySessionAttributes["naviPaySessionId"].orEmpty(),
|
||||
"naviPayCustomerStatus" to
|
||||
naviPaySessionAttributes["naviPayCustomerStatus"].orEmpty(),
|
||||
"isActivityRecreated" to isActivityRecreated.toString()
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -173,7 +173,8 @@ fun SendMoneyScreen(
|
||||
naviPayAnalytics.onSendMoneyLanded(
|
||||
source = sendMoneyScreenSource,
|
||||
transactionType = transactionType,
|
||||
naviPaySessionAttributes = sendMoneyViewModel.getNaviPaySessionAttributes()
|
||||
naviPaySessionAttributes = sendMoneyViewModel.getNaviPaySessionAttributes(),
|
||||
isActivityRecreated = naviPayActivity.isActivityRecreated,
|
||||
)
|
||||
|
||||
initFraudCheckSDK(
|
||||
|
||||
@@ -185,7 +185,8 @@ fun SendMoneyScreenV2(
|
||||
naviPayAnalytics.onSendMoneyLanded(
|
||||
source = sendMoneyScreenSource,
|
||||
transactionType = transactionType,
|
||||
naviPaySessionAttributes = sendMoneyViewModel.getNaviPaySessionAttributes()
|
||||
naviPaySessionAttributes = sendMoneyViewModel.getNaviPaySessionAttributes(),
|
||||
isActivityRecreated = naviPayActivity.isActivityRecreated
|
||||
)
|
||||
|
||||
initFraudCheckSDK(
|
||||
|
||||
Reference in New Issue
Block a user