diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-13 02:04:23 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-13 02:04:23 +0800 |
commit | 68faaaba5f4278d7a1bd5d02f97921fa3c4238f4 (patch) | |
tree | fc94a49d506b3977f570ed6d72364460e813275c /packages/instant/src/redux/analytics_middleware.ts | |
parent | 0690e68a833e0ca75d31614621aa0278009cc10c (diff) | |
download | dexon-sol-tools-68faaaba5f4278d7a1bd5d02f97921fa3c4238f4.tar dexon-sol-tools-68faaaba5f4278d7a1bd5d02f97921fa3c4238f4.tar.gz dexon-sol-tools-68faaaba5f4278d7a1bd5d02f97921fa3c4238f4.tar.bz2 dexon-sol-tools-68faaaba5f4278d7a1bd5d02f97921fa3c4238f4.tar.lz dexon-sol-tools-68faaaba5f4278d7a1bd5d02f97921fa3c4238f4.tar.xz dexon-sol-tools-68faaaba5f4278d7a1bd5d02f97921fa3c4238f4.tar.zst dexon-sol-tools-68faaaba5f4278d7a1bd5d02f97921fa3c4238f4.zip |
Analytics events for ETH/USD toggle and failure to fetch eth usd price
Diffstat (limited to 'packages/instant/src/redux/analytics_middleware.ts')
-rw-r--r-- | packages/instant/src/redux/analytics_middleware.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/instant/src/redux/analytics_middleware.ts b/packages/instant/src/redux/analytics_middleware.ts index 3f7a51707..a86a16b1a 100644 --- a/packages/instant/src/redux/analytics_middleware.ts +++ b/packages/instant/src/redux/analytics_middleware.ts @@ -99,6 +99,9 @@ export const analyticsMiddleware: Middleware = store => next => middlewareAction analytics.trackInstallWalletModalClosed(); } break; + case ActionTypes.UPDATE_BASE_CURRENCY: + analytics.trackBaseCurrencyChanged(curState.baseCurrency); + analytics.addEventProperties({ baseCurrency: curState.baseCurrency }); } return nextAction; |