diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-29 02:07:11 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-29 02:07:11 +0800 |
commit | ca894935f269a385f28e5d3a51720282ab403697 (patch) | |
tree | a2834b5b455baed8a9db01a018a7d5073b98d0c0 /packages/instant/src/util/analytics.ts | |
parent | d3739488aed89ce98e805d48ec14a0d2608f85d7 (diff) | |
download | dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.tar dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.tar.gz dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.tar.bz2 dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.tar.lz dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.tar.xz dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.tar.zst dexon-sol-tools-ca894935f269a385f28e5d3a51720282ab403697.zip |
Take out asset name and data as we can use the selected event properties
Diffstat (limited to 'packages/instant/src/util/analytics.ts')
-rw-r--r-- | packages/instant/src/util/analytics.ts | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/packages/instant/src/util/analytics.ts b/packages/instant/src/util/analytics.ts index dd6021453..b85c6cee2 100644 --- a/packages/instant/src/util/analytics.ts +++ b/packages/instant/src/util/analytics.ts @@ -185,17 +185,9 @@ export const analytics = { ...buyQuoteEventProperties(buyQuote), fetchedVia, }), - trackQuoteError: ( - errorMessage: string, - assetName: string, - assetData: string, - assetAmount: BigNumber, - fetchedVia: QuoteFetchedVia, - ) => { + trackQuoteError: (errorMessage: string, assetAmount: BigNumber, fetchedVia: QuoteFetchedVia) => { trackingEventFnWithPayload(EventNames.QUOTE_ERROR)({ errorMessage, - assetName, - assetData, assetAmount: assetAmount.toString(), fetchedVia, }); |