From 1fd6efaefc6ebd247e8c30407835a2ca78ffe4d4 Mon Sep 17 00:00:00 2001 From: Fabrizio Date: Wed, 25 Nov 2020 18:34:13 +0100 Subject: [PATCH] [#175897659] track the chosen abi --- ts/features/bonus/bpd/analytics/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/features/bonus/bpd/analytics/index.ts b/ts/features/bonus/bpd/analytics/index.ts index 4014799784d..2f93f43f92b 100644 --- a/ts/features/bonus/bpd/analytics/index.ts +++ b/ts/features/bonus/bpd/analytics/index.ts @@ -111,7 +111,6 @@ const trackAction = (mp: NonNullable) => ( case getType(walletAddBancomatCancel): case getType(walletAddBancomatBack): case getType(loadAbi.request): - case getType(searchUserPans.request): case getType(addBancomatToWallet.request): case getType(addBancomatToWallet.success): return mp.track(action.type); @@ -120,6 +119,8 @@ const trackAction = (mp: NonNullable) => ( return mp.track(action.type, { count: action.payload.data?.length }); + case getType(searchUserPans.request): + return mp.track(action.type, { abi: action.payload ?? "all" }); case getType(searchUserPans.success): const messages = action.payload.messages.reduce( (acc, val) => {