aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util/analytics.ts
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-29 06:11:53 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-29 06:11:53 +0800
commitec01893e9c987fcbd3fd7bcb4ec34498a6f516cc (patch)
treeaf7714c79643c1bbf51a2c8ac19277205ef4e310 /packages/instant/src/util/analytics.ts
parentf4cc14f43862c639d2cf9f6e5359e4822f1bcacf (diff)
downloaddexon-0x-contracts-ec01893e9c987fcbd3fd7bcb4ec34498a6f516cc.tar.gz
dexon-0x-contracts-ec01893e9c987fcbd3fd7bcb4ec34498a6f516cc.tar.zst
dexon-0x-contracts-ec01893e9c987fcbd3fd7bcb4ec34498a6f516cc.zip
fetchedVia -> fetchOrigin
Diffstat (limited to 'packages/instant/src/util/analytics.ts')
-rw-r--r--packages/instant/src/util/analytics.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/instant/src/util/analytics.ts b/packages/instant/src/util/analytics.ts
index c0ed8c638..99e8736d3 100644
--- a/packages/instant/src/util/analytics.ts
+++ b/packages/instant/src/util/analytics.ts
@@ -180,16 +180,16 @@ export const analytics = {
trackingEventFnWithPayload(EventNames.TOKEN_SELECTOR_CHOSE)(payload),
trackTokenSelectorSearched: (searchText: string) =>
trackingEventFnWithPayload(EventNames.TOKEN_SELECTOR_SEARCHED)({ searchText }),
- trackQuoteFetched: (buyQuote: BuyQuote, fetchedVia: QuoteFetchOrigin) =>
+ trackQuoteFetched: (buyQuote: BuyQuote, fetchOrigin: QuoteFetchOrigin) =>
trackingEventFnWithPayload(EventNames.QUOTE_FETCHED)({
...buyQuoteEventProperties(buyQuote),
- fetchedVia,
+ fetchOrigin,
}),
- trackQuoteError: (errorMessage: string, assetAmount: BigNumber, fetchedVia: QuoteFetchOrigin) => {
+ trackQuoteError: (errorMessage: string, assetAmount: BigNumber, fetchOrigin: QuoteFetchOrigin) => {
trackingEventFnWithPayload(EventNames.QUOTE_ERROR)({
errorMessage,
assetAmount: assetAmount.toString(),
- fetchedVia,
+ fetchOrigin,
});
},
};