diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-17 07:06:11 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-17 07:06:11 +0800 |
commit | 31ffa65f59fc6d2c6c7f79c1ac0e2abe0c5ed4ab (patch) | |
tree | bd45ef499e38907a81d8b9b02fdbed5f89e9da89 /packages/instant/src/util/analytics.ts | |
parent | 21ae0c46e1b0c0b4ba3f73cc2b58d0c430bf9043 (diff) | |
download | dexon-sol-tools-31ffa65f59fc6d2c6c7f79c1ac0e2abe0c5ed4ab.tar dexon-sol-tools-31ffa65f59fc6d2c6c7f79c1ac0e2abe0c5ed4ab.tar.gz dexon-sol-tools-31ffa65f59fc6d2c6c7f79c1ac0e2abe0c5ed4ab.tar.bz2 dexon-sol-tools-31ffa65f59fc6d2c6c7f79c1ac0e2abe0c5ed4ab.tar.lz dexon-sol-tools-31ffa65f59fc6d2c6c7f79c1ac0e2abe0c5ed4ab.tar.xz dexon-sol-tools-31ffa65f59fc6d2c6c7f79c1ac0e2abe0c5ed4ab.tar.zst dexon-sol-tools-31ffa65f59fc6d2c6c7f79c1ac0e2abe0c5ed4ab.zip |
Getting rid of unused function, and using track prefix
Diffstat (limited to 'packages/instant/src/util/analytics.ts')
-rw-r--r-- | packages/instant/src/util/analytics.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/instant/src/util/analytics.ts b/packages/instant/src/util/analytics.ts index e5f3635f2..b75665ff5 100644 --- a/packages/instant/src/util/analytics.ts +++ b/packages/instant/src/util/analytics.ts @@ -3,7 +3,6 @@ import { ObjectMap } from '@0x/types'; import { heapUtil } from './heap'; enum EventNames { - WALLET_OPENED = 'Wallet - Opened', WALLET_READY = 'Wallet - Ready', WIDGET_OPENED = 'Widget - Opened', } @@ -43,7 +42,6 @@ export const analytics = { addEventProperties: (properties: AnalyticsEventOptions): void => { heapUtil.evaluateHeapCall(heap => heap.addEventProperties(properties)); }, - walletOpened: trackingEventFnWithoutPayload(EventNames.WALLET_OPENED), - walletReady: trackingEventFnWithoutPayload(EventNames.WALLET_READY), - widgetOpened: trackingEventFnWithoutPayload(EventNames.WIDGET_OPENED), + trackWalletReady: trackingEventFnWithoutPayload(EventNames.WALLET_READY), + trackWidgetOpened: trackingEventFnWithoutPayload(EventNames.WIDGET_OPENED), }; |